Open markus2330 opened 12 months ago
mdbook test fails:
mdbook test
running 3 tests test /tmp/mdbook-QDmle0/Debugging.md - Debugging::Trigger_Watchdog (line 21) ... FAILED test /tmp/mdbook-QDmle0/Debugging.md - Debugging::Corrupt_History_File (line 43) ... FAILED test /tmp/mdbook-QDmle0/Debugging.md - Debugging::Trigger_Watchdog (line 30) ... FAILED failures: ---- /tmp/mdbook-QDmle0/Debugging.md - Debugging::Trigger_Watchdog (line 21) stdout ---- error: unknown start of token: \ --> /tmp/mdbook-QDmle0/Debugging.md:22:25 | 3 | ssh olimex@haustuer cat \| sudo --prompt="" -S -- tee /dev/watchdog << EOF | ^ error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `olimex` --> /tmp/mdbook-QDmle0/Debugging.md:22:5 | 3 | ssh olimex@haustuer cat \| sudo --prompt="" -S -- tee /dev/watchdog << EOF | ^^^^^^ expected one of 8 possible tokens error: aborting due to 2 previous errors Couldn't compile the test. ---- /tmp/mdbook-QDmle0/Debugging.md - Debugging::Corrupt_History_File (line 43) stdout ---- error: expected expression, found `.` --> /tmp/mdbook-QDmle0/Debugging.md:44:70 | 3 | mv .zsh_history .zsh_history.broken && strings .zsh_history.broken > .zsh_history && fc -R .zsh_history | ^ expected expression error: aborting due to previous error Couldn't compile the test. ---- /tmp/mdbook-QDmle0/Debugging.md - Debugging::Trigger_Watchdog (line 30) stdout ---- error: unknown start of token: \ --> /tmp/mdbook-QDmle0/Debugging.md:31:25 | 3 | ssh olimex@haustuer cat \| sudo --prompt="" -S -- "sh -c 'killall -9 opensesame && tee /dev/watchdog'" << EOF | ^ error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `olimex` --> /tmp/mdbook-QDmle0/Debugging.md:31:5 | 3 | ssh olimex@haustuer cat \| sudo --prompt="" -S -- "sh -c 'killall -9 opensesame && tee /dev/watchdog'" << EOF | ^^^^^^ expected one of 8 possible tokens error: aborting due to 2 previous errors Couldn't compile the test. failures: /tmp/mdbook-QDmle0/Debugging.md - Debugging::Corrupt_History_File (line 43) /tmp/mdbook-QDmle0/Debugging.md - Debugging::Trigger_Watchdog (line 21) /tmp/mdbook-QDmle0/Debugging.md - Debugging::Trigger_Watchdog (line 30) test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s --- stderr 2023-10-20 07:41:28 [INFO] (mdbook::book): Testing chapter 'Troubles libmodbus': "libmodbus-troubles.md" 2023-10-20 07:41:28 [INFO] (mdbook::book): Testing chapter 'Troubleshooting': "Troubleshooting.md" 2023-10-20 07:41:28 [ERROR] (mdbook::book): rustdoc returned an error: --- stdout running 1 test test /tmp/mdbook-QDmle0/Troubleshooting.md - Troubleshooting::DevelopmentSetup::___If_you_get_an_error_with_ (line 41) ... FAILED failures: ---- /tmp/mdbook-QDmle0/Troubleshooting.md - Troubleshooting::DevelopmentSetup::___If_you_get_an_error_with_ (line 41) stdout ---- error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `debian` --> /tmp/mdbook-QDmle0/Troubleshooting.md:42:4 | 3 | cd debian/ && ./postinst | ^^^^^^ expected one of 8 possible tokens error: aborting due to previous error Couldn't compile the test. failures: /tmp/mdbook-QDmle0/Troubleshooting.md - Troubleshooting::DevelopmentSetup::___If_you_get_an_error_with_ (line 41) test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s --- stderr 2023-10-20 07:41:28 [INFO] (mdbook::book): Testing chapter 'Ansible': "Ansible.md" 2023-10-20 07:41:28 [INFO] (mdbook::book): Testing chapter 'Installation': "Install.md" 2023-10-20 07:41:28 [INFO] (mdbook::book): Testing chapter 'Modules Overview': "Modules_Overview.md" 2023-10-20 07:41:28 [INFO] (mdbook::book): Testing chapter 'GPIO': "GPIO.md" 2023-10-20 07:41:28 [INFO] (mdbook::book): Testing chapter 'I2C': "I2C.md" 2023-10-20 07:41:28 [INFO] (mdbook::book): Testing chapter 'MQ135': "MQ135.md" 2023-10-20 07:41:28 [ERROR] (mdbook::book): rustdoc returned an error: --- stdout running 1 test test /tmp/mdbook-QDmle0/MQ135.md - SNS_MQ135 (line 35) ... FAILED failures: ---- /tmp/mdbook-QDmle0/MQ135.md - SNS_MQ135 (line 35) stdout ---- error: unknown start of token: \u{2013} --> /tmp/mdbook-QDmle0/MQ135.md:36:8 | 3 | 400ppm – 750ppm: Good for health | ^ | help: Unicode character '–' (En Dash) looks like '-' (Minus/Hyphen), but it is not | 3 | 400ppm - 750ppm: Good for health | ~ error: unknown start of token: \u{2013} --> /tmp/mdbook-QDmle0/MQ135.md:37:9 | 4 | 750 ppm – 1200 ppm: Take care | ^ | help: Unicode character '–' (En Dash) looks like '-' (Minus/Hyphen), but it is not | 4 | 750 ppm - 1200 ppm: Take care | ~ error: unknown start of token: \u{b3} --> /tmp/mdbook-QDmle0/MQ135.md:38:40 | 5 | 1200 ppm (and above): Harmful to health³ | ^ error: expected one of `!`, `(`, `.`, `::`, `;`, `<`, `?`, or `}`, found keyword `for` --> /tmp/mdbook-QDmle0/MQ135.md:36:23 | 3 | 400ppm – 750ppm: Good for health | - ^^^ expected one of 8 possible tokens | | | tried to parse a type due to this error: aborting due to 4 previous errors Couldn't compile the test. failures: /tmp/mdbook-QDmle0/MQ135.md - SNS_MQ135 (line 35) test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02
mdbook test
fails: