[INFO] cloning repository https://github.com/stamp-cmd/EV3-DC [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stamp-cmd/EV3-DC" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstamp-cmd%2FEV3-DC", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstamp-cmd%2FEV3-DC'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 18377bdc4f0ded03e77508efb400368ce6ea6324 [INFO] testing stamp-cmd/EV3-DC against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstamp-cmd%2FEV3-DC" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/stamp-cmd/EV3-DC [INFO] finished tweaking git repo https://github.com/stamp-cmd/EV3-DC [INFO] tweaked toml for git repo https://github.com/stamp-cmd/EV3-DC written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/stamp-cmd/EV3-DC on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/stamp-cmd/EV3-DC already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 558a21a0b61e0f17d5be0fe878c3d31a1199a008de492bf630cb730903000d23 [INFO] running `Command { std: "docker" "start" "-a" "558a21a0b61e0f17d5be0fe878c3d31a1199a008de492bf630cb730903000d23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "558a21a0b61e0f17d5be0fe878c3d31a1199a008de492bf630cb730903000d23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "558a21a0b61e0f17d5be0fe878c3d31a1199a008de492bf630cb730903000d23", kill_on_drop: false }` [INFO] [stdout] 558a21a0b61e0f17d5be0fe878c3d31a1199a008de492bf630cb730903000d23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2110e95614ffb37c84cc3cd544af64e3c2461bea153f4b3204a332fbc79756d1 [INFO] running `Command { std: "docker" "start" "-a" "2110e95614ffb37c84cc3cd544af64e3c2461bea153f4b3204a332fbc79756d1", kill_on_drop: false }` [INFO] [stderr] Compiling displaystr v0.1.11 [INFO] [stderr] Compiling ev3-dc v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.90s [INFO] running `Command { std: "docker" "inspect" "2110e95614ffb37c84cc3cd544af64e3c2461bea153f4b3204a332fbc79756d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2110e95614ffb37c84cc3cd544af64e3c2461bea153f4b3204a332fbc79756d1", kill_on_drop: false }` [INFO] [stdout] 2110e95614ffb37c84cc3cd544af64e3c2461bea153f4b3204a332fbc79756d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b41e11f9d0746f062e87c7c8588ff740a9ca3e18e5a9d09ef2df943851dda313 [INFO] running `Command { std: "docker" "start" "-a" "b41e11f9d0746f062e87c7c8588ff740a9ca3e18e5a9d09ef2df943851dda313", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling cc v1.2.43 [INFO] [stderr] Compiling hidapi v2.6.3 [INFO] [stderr] Compiling ev3-dc v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.05s [INFO] running `Command { std: "docker" "inspect" "b41e11f9d0746f062e87c7c8588ff740a9ca3e18e5a9d09ef2df943851dda313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b41e11f9d0746f062e87c7c8588ff740a9ca3e18e5a9d09ef2df943851dda313", kill_on_drop: false }` [INFO] [stdout] b41e11f9d0746f062e87c7c8588ff740a9ca3e18e5a9d09ef2df943851dda313 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3871d6e4e29664f2bc161dbf08eef77d76940d211ca80d025361ee796f585567 [INFO] running `Command { std: "docker" "start" "-a" "3871d6e4e29664f2bc161dbf08eef77d76940d211ca80d025361ee796f585567", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ev3_dc-5b8a864c5770cebe) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests ev3_dc [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/utils/mod.rs - utils::port_read (line 152) ... FAILED [INFO] [stdout] test src/parser/mod.rs - parser (line 5) ... FAILED [INFO] [stdout] test src/utils/mod.rs - utils::ChainByte (line 12) ... FAILED [INFO] [stdout] test src/lib.rs - Command (line 87) ... FAILED [INFO] [stdout] test src/utils/mod.rs - utils::printer (line 105) ... FAILED [INFO] [stdout] test src/lib.rs - encode (line 176) ... FAILED [INFO] [stdout] test src/lib.rs - (line 13) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/utils/mod.rs - utils::port_read (line 152) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `port_read` in this scope [INFO] [stdout] --> src/utils/mod.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | let res: [u8; 8] = port_read(&buf, 0); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 152 + use ev3_dc::utils::port_read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: invalid base prefix for number literal [INFO] [stdout] --> src/utils/mod.rs:153:28 [INFO] [stdout] | [INFO] [stdout] 153 | let buf: [u8; 32] = [0x7E, 0X7E, 0x08]; // Reply memory from opInput_Device_List OpCode [INFO] [stdout] | ^^^^ help: try making the prefix lowercase (notice the capitalization): `0x7E` [INFO] [stdout] | [INFO] [stdout] = note: base prefixes (`0xff`, `0b1010`, `0o755`) are lowercase [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/parser/mod.rs - parser (line 5) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reply` [INFO] [stdout] --> src/parser/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | let rep = Reply::parse(&buf); [INFO] [stdout] | ^^^^^ use of undeclared type `Reply` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use ev3_dc::parser::Reply; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils/mod.rs - utils::ChainByte (line 12) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/utils/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | let mut byte = ChainByte::new(); // let mut byte: Vec = vec![]; [INFO] [stdout] | ^^^ `let` cannot be used for global variables [INFO] [stdout] | [INFO] [stdout] = help: consider using `static` and a `Mutex` instead of `let mut` [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Command (line 87) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Command` [INFO] [stdout] --> src/lib.rs:88:15 [INFO] [stdout] | [INFO] [stdout] 88 | let mut cmd = Command::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Command` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 87 + use std::process::Command; [INFO] [stdout] | [INFO] [stdout] 87 + use ev3_dc::Command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils/mod.rs - utils::printer (line 105) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `run_length` in this scope [INFO] [stdout] --> src/utils/mod.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let lines = run_length(&img).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 105 + use ev3_dc::utils::run_length; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `printer` in this scope [INFO] [stdout] --> src/utils/mod.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | let code = printer(&lines); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 105 + use ev3_dc::utils::printer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `println` [INFO] [stdout] --> src/utils/mod.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | println("Bytecode: {:02X?}", code); [INFO] [stdout] | ^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 109 | println!("Bytecode: {:02X?}", code); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - encode (line 176) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `encode` in this scope [INFO] [stdout] --> src/lib.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | let byte: Vec = encode(LC1(42)).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 176 + use ev3_dc::encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LC1` in this scope [INFO] [stdout] --> src/lib.rs:177:28 [INFO] [stdout] | [INFO] [stdout] 177 | let byte: Vec = encode(LC1(42)).unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 176 + use ev3_dc::Encoding::LC1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `println` [INFO] [stdout] --> src/lib.rs:178:1 [INFO] [stdout] | [INFO] [stdout] 178 | println("Bytecode: {:02X?}", byte); [INFO] [stdout] | ^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 178 | println!("Bytecode: {:02X?}", byte); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Command (line 87) [INFO] [stdout] src/lib.rs - encode (line 176) [INFO] [stdout] src/parser/mod.rs - parser (line 5) [INFO] [stdout] src/utils/mod.rs - utils::ChainByte (line 12) [INFO] [stdout] src/utils/mod.rs - utils::port_read (line 152) [INFO] [stdout] src/utils/mod.rs - utils::printer (line 105) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.36s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.57s; merged doctests compilation took 0.21s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "3871d6e4e29664f2bc161dbf08eef77d76940d211ca80d025361ee796f585567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3871d6e4e29664f2bc161dbf08eef77d76940d211ca80d025361ee796f585567", kill_on_drop: false }` [INFO] [stdout] 3871d6e4e29664f2bc161dbf08eef77d76940d211ca80d025361ee796f585567