[INFO] fetching crate signal-gen-cjds66-lib 0.1.3... [INFO] testing signal-gen-cjds66-lib-0.1.3 against 1.49.0 for beta-1.50-1 [INFO] extracting crate signal-gen-cjds66-lib 0.1.3 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate signal-gen-cjds66-lib 0.1.3 on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate signal-gen-cjds66-lib 0.1.3 [INFO] finished tweaking crates.io crate signal-gen-cjds66-lib 0.1.3 [INFO] tweaked toml for crates.io crate signal-gen-cjds66-lib 0.1.3 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc4db0d23ad22f1cddd43b74a02e76260955fa02fe727a8aa990c6160eed50c6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bc4db0d23ad22f1cddd43b74a02e76260955fa02fe727a8aa990c6160eed50c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc4db0d23ad22f1cddd43b74a02e76260955fa02fe727a8aa990c6160eed50c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc4db0d23ad22f1cddd43b74a02e76260955fa02fe727a8aa990c6160eed50c6", kill_on_drop: false }` [INFO] [stdout] bc4db0d23ad22f1cddd43b74a02e76260955fa02fe727a8aa990c6160eed50c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 540621b3e9080220dcc96d1370cee52176e3bd7232721443bc9d0d8c747ed95e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "540621b3e9080220dcc96d1370cee52176e3bd7232721443bc9d0d8c747ed95e", kill_on_drop: false }` [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling serial-core v0.4.0 [INFO] [stderr] Compiling ioctl-rs v0.1.6 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling serial-unix v0.4.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling serial v0.4.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling signal-gen-cjds66-lib v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.98s [INFO] running `Command { std: "docker" "inspect" "540621b3e9080220dcc96d1370cee52176e3bd7232721443bc9d0d8c747ed95e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "540621b3e9080220dcc96d1370cee52176e3bd7232721443bc9d0d8c747ed95e", kill_on_drop: false }` [INFO] [stdout] 540621b3e9080220dcc96d1370cee52176e3bd7232721443bc9d0d8c747ed95e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee1f783be650759e0689b38dacd42b80a898839e5e9ff6d2111764ca941d69ad [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ee1f783be650759e0689b38dacd42b80a898839e5e9ff6d2111764ca941d69ad", kill_on_drop: false }` [INFO] [stderr] Compiling signal-gen-cjds66-lib v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.19s [INFO] running `Command { std: "docker" "inspect" "ee1f783be650759e0689b38dacd42b80a898839e5e9ff6d2111764ca941d69ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee1f783be650759e0689b38dacd42b80a898839e5e9ff6d2111764ca941d69ad", kill_on_drop: false }` [INFO] [stdout] ee1f783be650759e0689b38dacd42b80a898839e5e9ff6d2111764ca941d69ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 96a86ed415e854bf958dc78bf4ad16693c608b08ab5ddcbf08edf605a17dc33c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "96a86ed415e854bf958dc78bf4ad16693c608b08ab5ddcbf08edf605a17dc33c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/signal_gen_cjds66_lib-109e54116364e391 [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests signal-gen-cjds66-lib [INFO] [stdout] [INFO] [stdout] running 45 tests [INFO] [stdout] test src/command.rs - command::get_frequency_hertz (line 1297) ... FAILED [INFO] [stdout] test src/command.rs - command::set_channel_output (line 214) ... FAILED [INFO] [stdout] test src/command.rs - command::get_arbitrary_wave (line 5213) ... FAILED [INFO] [stdout] test src/command.rs - command::get_phase (line 2029) ... FAILED [INFO] [stdout] test src/command.rs - command::get_waveform_preset (line 571) ... FAILED [INFO] [stdout] test src/command.rs - command::set_arbitrary_wave (line 4964) ... FAILED [INFO] [stdout] test src/command.rs - command::get_voltage_offset (line 1860) ... FAILED [INFO] [stdout] test src/command.rs - command::set_arbitrary_wave_stdin (line 5143) ... FAILED [INFO] [stdout] test src/command.rs - command::get_duty_cycle (line 1677) ... FAILED [INFO] [stdout] test src/command.rs - command::set_amplitude (line 1396) ... FAILED [INFO] [stdout] test src/command.rs - command::set_arbitrary_wavecad (line 5074) ... FAILED [INFO] [stdout] test src/command.rs - command::save_preset (line 4483) ... FAILED [INFO] [stdout] test src/command.rs - command::get_amplitude (line 1494) ... FAILED [INFO] [stdout] test src/command.rs - command::set_duty_cycle (line 1579) ... FAILED [INFO] [stdout] test src/command.rs - command::set_burst_pulse_number (line 3364) ... FAILED [INFO] [stdout] test src/command.rs - command::set_frequency_kilohertz (line 1086) ... FAILED [INFO] [stdout] test src/command.rs - command::load_preset (line 4580) ... FAILED [INFO] [stdout] test src/command.rs - command::set_measurement_gate_time (line 2753) ... FAILED [INFO] [stdout] test src/command.rs - command::get_channel_output (line 317) ... FAILED [INFO] [stdout] test src/command.rs - command::set_frequency_millihertz (line 880) ... FAILED [INFO] [stdout] test src/command.rs - command::set_pulse_offset (line 4301) ... FAILED [INFO] [stdout] test src/command.rs - command::set_pulse_period (line 4168) ... FAILED [INFO] [stdout] test src/command.rs - command::set_frequency_megahertz (line 1191) ... FAILED [INFO] [stdout] test src/command.rs - command::set_frequency_hertz (line 983) ... FAILED [INFO] [stdout] test src/command.rs - command::set_frequency_microhertz (line 777) ... FAILED [INFO] [stdout] test src/command.rs - command::set_pulse_width (line 4017) ... FAILED [INFO] [stdout] test src/command.rs - command::set_phase (line 1949) ... FAILED [INFO] [stdout] test src/command.rs - command::set_pulse_width (line 4011) ... FAILED [INFO] [stdout] test src/command.rs - command::set_pulse_period (line 4162) ... FAILED [INFO] [stdout] test src/command.rs - command::set_pulse_amplitude (line 4390) ... FAILED [INFO] [stdout] test src/command.rs - command::switch_function_panel_main (line 2277) ... FAILED [INFO] [stdout] test src/command.rs - command::set_sweep_starting_frequency (line 3592) ... FAILED [INFO] [stdout] test src/command.rs - command::set_sweep_time (line 3772) ... FAILED [INFO] [stdout] test src/command.rs - command::set_sweep_end_frequency (line 3682) ... FAILED [INFO] [stdout] test src/command.rs - command::set_tracking (line 2102) ... FAILED [INFO] [stdout] test src/command.rs - command::set_voltage_offset (line 1762) ... FAILED [INFO] [stdout] test src/command.rs - command::set_waveform_preset_arbitrary (line 678) ... FAILED [INFO] [stdout] test src/command.rs - command::set_waveform_preset (line 386) ... FAILED [INFO] [stdout] test src/serial.rs - serial::open (line 28) ... FAILED [INFO] [stdout] test src/command.rs - command::start_sweeping (line 2544) ... FAILED [INFO] [stdout] test src/command.rs - command::start_measuring (line 2394) ... FAILED [INFO] [stdout] test src/command.rs - command::wav_to_txt (line 4673) ... FAILED [INFO] [stdout] test src/command.rs - command::txt_to_wav (line 4823) ... FAILED [INFO] [stdout] test src/error.rs - error::get_code (line 36) ... FAILED [INFO] [stdout] test src/command.rs - command::switch_function_panel_sweep (line 2491) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/command.rs - command::get_frequency_hertz (line 1297) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,` [INFO] [stdout] --> src/command.rs:1298:3 [INFO] [stdout] | [INFO] [stdout] 3 | 10,000 Hz: [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::set_channel_output (line 214) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `1` [INFO] [stdout] --> src/command.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 3 | channel 1 on, channel 2 on: [INFO] [stdout] | ^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::get_arbitrary_wave (line 5213) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `the` [INFO] [stdout] --> src/command.rs:5214:5 [INFO] [stdout] | [INFO] [stdout] 3 | Get the waveform data which is stored in preset 1: [INFO] [stdout] | ^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::get_phase (line 2029) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `degrees` [INFO] [stdout] --> src/command.rs:2030:5 [INFO] [stdout] | [INFO] [stdout] 3 | 180 degrees: [INFO] [stdout] | ^^^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::get_waveform_preset (line 571) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `preset` [INFO] [stdout] --> src/command.rs:572:10 [INFO] [stdout] | [INFO] [stdout] 3 | Waveform preset number to name mappings: [INFO] [stdout] | ^^^^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::set_arbitrary_wave (line 4964) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `"3016"` [INFO] [stdout] --> src/command.rs:4966:1 [INFO] [stdout] | [INFO] [stdout] 3 | "2456" [INFO] [stdout] | - expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] 4 | "3016" [INFO] [stdout] | ^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::get_voltage_offset (line 1860) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `volts` [INFO] [stdout] --> src/command.rs:1861:3 [INFO] [stdout] | [INFO] [stdout] 3 | 5 volts: [INFO] [stdout] | ^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::set_arbitrary_wave_stdin (line 5143) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `"3016"` [INFO] [stdout] --> src/command.rs:5145:1 [INFO] [stdout] | [INFO] [stdout] 3 | "2456" [INFO] [stdout] | - expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] 4 | "3016" [INFO] [stdout] | ^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::get_duty_cycle (line 1677) stdout ---- [INFO] [stdout] error: expected expression, found `:` [INFO] [stdout] --> src/command.rs:1678:3 [INFO] [stdout] | [INFO] [stdout] 3 | 1%: [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::set_amplitude (line 1396) stdout ---- [INFO] [stdout] error[E0369]: cannot subtract `&str` from `&str` [INFO] [stdout] --> src/command.rs:1397:9 [INFO] [stdout] | [INFO] [stdout] 3 | "0.000" - "20.0" [INFO] [stdout] | ------- ^ ------ &str [INFO] [stdout] | | [INFO] [stdout] | &str [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::set_arbitrary_wavecad (line 5074) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `the` [INFO] [stdout] --> src/command.rs:5075:6 [INFO] [stdout] | [INFO] [stdout] 3 | Save the wav file into preset 1: [INFO] [stdout] | ^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::save_preset (line 4483) stdout ---- [INFO] [stdout] error: expected one of `!`, `(`, `.`, `::`, `;`, `<`, `?`, or `}`, found `0` [INFO] [stdout] --> src/command.rs:4484:16 [INFO] [stdout] | [INFO] [stdout] 3 | save as preset 0: [INFO] [stdout] | ^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::get_amplitude (line 1494) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `volts` [INFO] [stdout] --> src/command.rs:1495:3 [INFO] [stdout] | [INFO] [stdout] 3 | 5 volts: [INFO] [stdout] | ^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::set_duty_cycle (line 1579) stdout ---- [INFO] [stdout] error[E0369]: cannot subtract `&str` from `&str` [INFO] [stdout] --> src/command.rs:1580:7 [INFO] [stdout] | [INFO] [stdout] 3 | "0.0" - "99.9" [INFO] [stdout] | ----- ^ ------ &str [INFO] [stdout] | | [INFO] [stdout] | &str [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::set_burst_pulse_number (line 3364) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `burst` [INFO] [stdout] --> src/command.rs:3365:3 [INFO] [stdout] | [INFO] [stdout] 3 | 5 burst pulses: [INFO] [stdout] | ^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::set_frequency_kilohertz (line 1086) stdout ---- [INFO] [stdout] error[E0369]: cannot subtract `&str` from `&str` [INFO] [stdout] --> src/command.rs:1087:11 [INFO] [stdout] | [INFO] [stdout] 3 | "0.00001" - "60000.0" [INFO] [stdout] | --------- ^ --------- &str [INFO] [stdout] | | [INFO] [stdout] | &str [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::load_preset (line 4580) stdout ---- [INFO] [stdout] error: expected one of `!`, `(`, `.`, `::`, `;`, `<`, `?`, or `}`, found `0` [INFO] [stdout] --> src/command.rs:4581:16 [INFO] [stdout] | [INFO] [stdout] 3 | save as preset 0: [INFO] [stdout] | ^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::set_measurement_gate_time (line 2753) stdout ---- [INFO] [stdout] error[E0369]: cannot subtract `&str` from `&str` [INFO] [stdout] --> src/command.rs:2754:8 [INFO] [stdout] | [INFO] [stdout] 3 | "0.01" - "10.0" [INFO] [stdout] | ------ ^ ------ &str [INFO] [stdout] | | [INFO] [stdout] | &str [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::get_channel_output (line 317) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `1` [INFO] [stdout] --> src/command.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 3 | channel 1 off, channel 2 on: [INFO] [stdout] | ^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::set_frequency_millihertz (line 880) stdout ---- [INFO] [stdout] error[E0369]: cannot subtract `&str` from `&str` [INFO] [stdout] --> src/command.rs:881:8 [INFO] [stdout] | [INFO] [stdout] 3 | "0.01" - "80000000.0" [INFO] [stdout] | ------ ^ ------------ &str [INFO] [stdout] | | [INFO] [stdout] | &str [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::set_pulse_offset (line 4301) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `percent` [INFO] [stdout] --> src/command.rs:4302:4 [INFO] [stdout] | [INFO] [stdout] 3 | 50 percent: [INFO] [stdout] | ^^^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::set_pulse_period (line 4168) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,` [INFO] [stdout] --> src/command.rs:4169:2 [INFO] [stdout] | [INFO] [stdout] 3 | 2,000 microseconds: [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::set_frequency_megahertz (line 1191) stdout ---- [INFO] [stdout] error[E0369]: cannot subtract `&str` from `&str` [INFO] [stdout] --> src/command.rs:1192:14 [INFO] [stdout] | [INFO] [stdout] 3 | "0.00000001" - "60.0" [INFO] [stdout] | ------------ ^ ------ &str [INFO] [stdout] | | [INFO] [stdout] | &str [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::set_frequency_hertz (line 983) stdout ---- [INFO] [stdout] error[E0369]: cannot subtract `&str` from `&str` [INFO] [stdout] --> src/command.rs:984:8 [INFO] [stdout] | [INFO] [stdout] 3 | "0.01" - "60000000.0" [INFO] [stdout] | ------ ^ ------------ &str [INFO] [stdout] | | [INFO] [stdout] | &str [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::set_frequency_microhertz (line 777) stdout ---- [INFO] [stdout] error[E0369]: cannot subtract `&str` from `&str` [INFO] [stdout] --> src/command.rs:778:8 [INFO] [stdout] | [INFO] [stdout] 3 | "0.01" - "80000000.0" [INFO] [stdout] | ------ ^ ------------ &str [INFO] [stdout] | | [INFO] [stdout] | &str [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::set_pulse_width (line 4017) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,` [INFO] [stdout] --> src/command.rs:4018:2 [INFO] [stdout] | [INFO] [stdout] 3 | 2,000 microseconds: [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::set_phase (line 1949) stdout ---- [INFO] [stdout] error[E0369]: cannot subtract `&str` from `&str` [INFO] [stdout] --> src/command.rs:1950:7 [INFO] [stdout] | [INFO] [stdout] 3 | "0.0" - "360.0" [INFO] [stdout] | ----- ^ ------- &str [INFO] [stdout] | | [INFO] [stdout] | &str [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::set_pulse_width (line 4011) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,` [INFO] [stdout] --> src/command.rs:4012:2 [INFO] [stdout] | [INFO] [stdout] 3 | 1,000 nanoseconds: [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::set_pulse_period (line 4162) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,` [INFO] [stdout] --> src/command.rs:4163:2 [INFO] [stdout] | [INFO] [stdout] 3 | 1,000 nanoseconds: [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::set_pulse_amplitude (line 4390) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `volts` [INFO] [stdout] --> src/command.rs:4391:3 [INFO] [stdout] | [INFO] [stdout] 3 | 5 volts: [INFO] [stdout] | ^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::switch_function_panel_main (line 2277) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `1` [INFO] [stdout] --> src/command.rs:2278:9 [INFO] [stdout] | [INFO] [stdout] 3 | Channel 1 at the top: [INFO] [stdout] | ^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::set_sweep_starting_frequency (line 3592) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,` [INFO] [stdout] --> src/command.rs:3593:2 [INFO] [stdout] | [INFO] [stdout] 3 | 1,000 hertz: [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::set_sweep_time (line 3772) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `seconds` [INFO] [stdout] --> src/command.rs:3773:4 [INFO] [stdout] | [INFO] [stdout] 3 | 10 seconds: [INFO] [stdout] | ^^^^^^^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::set_sweep_end_frequency (line 3682) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,` [INFO] [stdout] --> src/command.rs:3683:2 [INFO] [stdout] | [INFO] [stdout] 3 | 2,000 hertz: [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::set_tracking (line 2102) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `value` [INFO] [stdout] --> src/command.rs:2103:5 [INFO] [stdout] | [INFO] [stdout] 3 | The value must be either a set of comma-separated setting names [INFO] [stdout] | ^^^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::set_voltage_offset (line 1762) stdout ---- [INFO] [stdout] error[E0369]: cannot subtract `&str` from `&str` [INFO] [stdout] --> src/command.rs:1763:9 [INFO] [stdout] | [INFO] [stdout] 3 | "-9.99" - "9.99" [INFO] [stdout] | ------- ^ ------ &str [INFO] [stdout] | | [INFO] [stdout] | &str [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::set_waveform_preset_arbitrary (line 678) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `waveform` [INFO] [stdout] --> src/command.rs:679:11 [INFO] [stdout] | [INFO] [stdout] 3 | Arbitrary waveform preset 1 (a.k.a. preset 101): [INFO] [stdout] | ^^^^^^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::set_waveform_preset (line 386) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `names` [INFO] [stdout] --> src/command.rs:387:10 [INFO] [stdout] | [INFO] [stdout] 3 | Waveform names that are accepted, along with their corresponding numbers: [INFO] [stdout] | ^^^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/serial.rs - serial::open (line 28) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `to` [INFO] [stdout] --> src/serial.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 3 | Path to a serial device (Linux): [INFO] [stdout] | ^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::start_sweeping (line 2544) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `Frequency` [INFO] [stdout] --> src/command.rs:2545:7 [INFO] [stdout] | [INFO] [stdout] 3 | Sweep Frequency (CH1): [INFO] [stdout] | ^^^^^^^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::start_measuring (line 2394) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `sweep` [INFO] [stdout] --> src/command.rs:2396:1 [INFO] [stdout] | [INFO] [stdout] 3 | counting [INFO] [stdout] | - expected one of 8 possible tokens [INFO] [stdout] 4 | sweep [INFO] [stdout] | ^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::wav_to_txt (line 4673) stdout ---- [INFO] [stdout] error: expected type, found `"some-wav-file-to-convert.wav"` [INFO] [stdout] --> src/command.rs:4675:1 [INFO] [stdout] | [INFO] [stdout] 3 | some-wav-file-to-convert.wav: [INFO] [stdout] | - help: try using a semicolon: `;` [INFO] [stdout] 4 | "some-wav-file-to-convert.wav" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected type [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::txt_to_wav (line 4823) stdout ---- [INFO] [stdout] error: expected type, found `"some-txt-file-to-convert.txt"` [INFO] [stdout] --> src/command.rs:4825:1 [INFO] [stdout] | [INFO] [stdout] 3 | some-txt-file-to-convert.txt: [INFO] [stdout] | - help: try using a semicolon: `;` [INFO] [stdout] 4 | "some-txt-file-to-convert.txt" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected type [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/error.rs - error::get_code (line 36) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `=>` [INFO] [stdout] --> src/error.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 3 | InvalidValue => 1 [INFO] [stdout] | ^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/command.rs - command::switch_function_panel_sweep (line 2491) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `Frequency` [INFO] [stdout] --> src/command.rs:2492:7 [INFO] [stdout] | [INFO] [stdout] 3 | Sweep Frequency (CH1): [INFO] [stdout] | ^^^^^^^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/command.rs - command::get_amplitude (line 1494) [INFO] [stdout] src/command.rs - command::get_arbitrary_wave (line 5213) [INFO] [stdout] src/command.rs - command::get_channel_output (line 317) [INFO] [stdout] src/command.rs - command::get_duty_cycle (line 1677) [INFO] [stdout] src/command.rs - command::get_frequency_hertz (line 1297) [INFO] [stdout] src/command.rs - command::get_phase (line 2029) [INFO] [stdout] src/command.rs - command::get_voltage_offset (line 1860) [INFO] [stdout] src/command.rs - command::get_waveform_preset (line 571) [INFO] [stdout] src/command.rs - command::load_preset (line 4580) [INFO] [stdout] src/command.rs - command::save_preset (line 4483) [INFO] [stdout] src/command.rs - command::set_amplitude (line 1396) [INFO] [stdout] src/command.rs - command::set_arbitrary_wave (line 4964) [INFO] [stdout] src/command.rs - command::set_arbitrary_wave_stdin (line 5143) [INFO] [stdout] src/command.rs - command::set_arbitrary_wavecad (line 5074) [INFO] [stdout] src/command.rs - command::set_burst_pulse_number (line 3364) [INFO] [stdout] src/command.rs - command::set_channel_output (line 214) [INFO] [stdout] src/command.rs - command::set_duty_cycle (line 1579) [INFO] [stdout] src/command.rs - command::set_frequency_hertz (line 983) [INFO] [stdout] src/command.rs - command::set_frequency_kilohertz (line 1086) [INFO] [stdout] src/command.rs - command::set_frequency_megahertz (line 1191) [INFO] [stdout] src/command.rs - command::set_frequency_microhertz (line 777) [INFO] [stdout] src/command.rs - command::set_frequency_millihertz (line 880) [INFO] [stdout] src/command.rs - command::set_measurement_gate_time (line 2753) [INFO] [stdout] src/command.rs - command::set_phase (line 1949) [INFO] [stdout] src/command.rs - command::set_pulse_amplitude (line 4390) [INFO] [stdout] src/command.rs - command::set_pulse_offset (line 4301) [INFO] [stdout] src/command.rs - command::set_pulse_period (line 4162) [INFO] [stdout] src/command.rs - command::set_pulse_period (line 4168) [INFO] [stdout] src/command.rs - command::set_pulse_width (line 4011) [INFO] [stdout] src/command.rs - command::set_pulse_width (line 4017) [INFO] [stdout] src/command.rs - command::set_sweep_end_frequency (line 3682) [INFO] [stdout] src/command.rs - command::set_sweep_starting_frequency (line 3592) [INFO] [stdout] src/command.rs - command::set_sweep_time (line 3772) [INFO] [stdout] src/command.rs - command::set_tracking (line 2102) [INFO] [stdout] src/command.rs - command::set_voltage_offset (line 1762) [INFO] [stdout] src/command.rs - command::set_waveform_preset (line 386) [INFO] [stdout] src/command.rs - command::set_waveform_preset_arbitrary (line 678) [INFO] [stdout] src/command.rs - command::start_measuring (line 2394) [INFO] [stdout] src/command.rs - command::start_sweeping (line 2544) [INFO] [stdout] src/command.rs - command::switch_function_panel_main (line 2277) [INFO] [stdout] src/command.rs - command::switch_function_panel_sweep (line 2491) [INFO] [stdout] src/command.rs - command::txt_to_wav (line 4823) [INFO] [stdout] src/command.rs - command::wav_to_txt (line 4673) [INFO] [stdout] src/error.rs - error::get_code (line 36) [INFO] [stdout] src/serial.rs - serial::open (line 28) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 45 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "96a86ed415e854bf958dc78bf4ad16693c608b08ab5ddcbf08edf605a17dc33c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96a86ed415e854bf958dc78bf4ad16693c608b08ab5ddcbf08edf605a17dc33c", kill_on_drop: false }` [INFO] [stdout] 96a86ed415e854bf958dc78bf4ad16693c608b08ab5ddcbf08edf605a17dc33c