[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] d11b856b217ade1e17596f8b8a0af037e63a80fc
[INFO] testing stamp-cmd/EV3-DC against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstamp-cmd%2FEV3-DC" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/stamp-cmd/EV3-DC on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f14b0f060d9b762421acddaa2c64fca63def699a438842b6c51d8eac4a50a95e
[INFO] running `Command { std: "docker" "start" "-a" "f14b0f060d9b762421acddaa2c64fca63def699a438842b6c51d8eac4a50a95e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f14b0f060d9b762421acddaa2c64fca63def699a438842b6c51d8eac4a50a95e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f14b0f060d9b762421acddaa2c64fca63def699a438842b6c51d8eac4a50a95e", kill_on_drop: false }`
[INFO] [stdout] f14b0f060d9b762421acddaa2c64fca63def699a438842b6c51d8eac4a50a95e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2947b1926156dd424ae0298952f293726eefff3dc13ea07fa6b1b926f8f53408
[INFO] running `Command { std: "docker" "start" "-a" "2947b1926156dd424ae0298952f293726eefff3dc13ea07fa6b1b926f8f53408", kill_on_drop: false }`
[INFO] [stderr]    Compiling displaystr v0.1.11
[INFO] [stderr]    Compiling ev3-dc v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.91s
[INFO] running `Command { std: "docker" "inspect" "2947b1926156dd424ae0298952f293726eefff3dc13ea07fa6b1b926f8f53408", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2947b1926156dd424ae0298952f293726eefff3dc13ea07fa6b1b926f8f53408", kill_on_drop: false }`
[INFO] [stdout] 2947b1926156dd424ae0298952f293726eefff3dc13ea07fa6b1b926f8f53408
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3629096ef3d780bd9cc779eeba01fb05be4c25f4a779ce0102c432425d1a3b72
[INFO] running `Command { std: "docker" "start" "-a" "3629096ef3d780bd9cc779eeba01fb05be4c25f4a779ce0102c432425d1a3b72", kill_on_drop: false }`
[INFO] [stderr]    Compiling find-msvc-tools v0.1.4
[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.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: value assigned to `end` is never read
[INFO] [stdout]   --> examples/frames.rs:39:27
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let mut end: u8 = 0;
[INFO] [stdout]    |                           ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 56 |         end = 177;
[INFO] [stdout]    |         --------- `end` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 5.29s
[INFO] running `Command { std: "docker" "inspect" "3629096ef3d780bd9cc779eeba01fb05be4c25f4a779ce0102c432425d1a3b72", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3629096ef3d780bd9cc779eeba01fb05be4c25f4a779ce0102c432425d1a3b72", kill_on_drop: false }`
[INFO] [stdout] 3629096ef3d780bd9cc779eeba01fb05be4c25f4a779ce0102c432425d1a3b72
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8fed9a2403b706c67a48ffd4d12a8a24d8238440d704fbeaa8a2f7ba231f7b2f
[INFO] running `Command { std: "docker" "start" "-a" "8fed9a2403b706c67a48ffd4d12a8a24d8238440d704fbeaa8a2f7ba231f7b2f", kill_on_drop: false }`
[INFO] [stderr] warning: value assigned to `end` is never read
[INFO] [stderr]   --> examples/frames.rs:39:27
[INFO] [stderr]    |
[INFO] [stderr] 39 |         let mut end: u8 = 0;
[INFO] [stderr]    |                           ^ this value is reassigned later and never used
[INFO] [stderr] ...
[INFO] [stderr] 56 |         end = 177;
[INFO] [stderr]    |         --------- `end` is overwritten here before the previous value is read
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `ev3-dc` (example "frames") generated 1 warning
[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-2f2788eb445bb66a)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests ev3_dc
[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] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test src/utils/mod.rs - utils::printer (line 114) ... FAILED
[INFO] [stdout] test src/utils/mod.rs - utils::ChainByte (line 12) ... FAILED
[INFO] [stdout] test src/parser/mod.rs - parser (line 5) ... FAILED
[INFO] [stdout] test src/lib.rs - Command (line 90) ... FAILED
[INFO] [stdout] test src/lib.rs - encode (line 181) ... FAILED
[INFO] [stdout] test src/utils/mod.rs - utils::port_read (line 161) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 19) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/utils/mod.rs - utils::printer (line 114) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `run_length` in this scope
[INFO] [stdout]    --> src/utils/mod.rs:116:13
[INFO] [stdout]     |
[INFO] [stdout] 116 | 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] 114 + 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:117:12
[INFO] [stdout]     |
[INFO] [stdout] 117 | let code = printer(&lines);
[INFO] [stdout]     |            ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 114 + use ev3_dc::utils::printer;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found macro `println`
[INFO] [stdout]    --> src/utils/mod.rs:118:1
[INFO] [stdout]     |
[INFO] [stdout] 118 | println("Bytecode: {:02X?}", code);
[INFO] [stdout]     | ^^^^^^^ not a function
[INFO] [stdout]     |
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]     |
[INFO] [stdout] 118 | 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/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<u8> = 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 <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/parser/mod.rs - parser (line 5) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `Reply` in this scope
[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/lib.rs - Command (line 90) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `Command` in this scope
[INFO] [stdout]   --> src/lib.rs:91:15
[INFO] [stdout]    |
[INFO] [stdout] 91 | 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] 90 + use std::process::Command;
[INFO] [stdout]    |
[INFO] [stdout] 90 + 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/lib.rs - encode (line 181) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `encode` in this scope
[INFO] [stdout]    --> src/lib.rs:182:21
[INFO] [stdout]     |
[INFO] [stdout] 182 | let byte: Vec<u8> = encode(LC1(42)).unwrap();
[INFO] [stdout]     |                     ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 181 + 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:182:28
[INFO] [stdout]     |
[INFO] [stdout] 182 | let byte: Vec<u8> = 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] 181 + use ev3_dc::Encoding::LC1;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found macro `println`
[INFO] [stdout]    --> src/lib.rs:183:1
[INFO] [stdout]     |
[INFO] [stdout] 183 | println("Bytecode: {:02X?}", byte);
[INFO] [stdout]     | ^^^^^^^ not a function
[INFO] [stdout]     |
[INFO] [stdout] help: use `!` to invoke the macro
[INFO] [stdout]     |
[INFO] [stdout] 183 | 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] ---- src/utils/mod.rs - utils::port_read (line 161) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `port_read` in this scope
[INFO] [stdout]    --> src/utils/mod.rs:163:20
[INFO] [stdout]     |
[INFO] [stdout] 163 | 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] 161 + 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:162:28
[INFO] [stdout]     |
[INFO] [stdout] 162 | 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] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - Command (line 90)
[INFO] [stdout]     src/lib.rs - encode (line 181)
[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 161)
[INFO] [stdout]     src/utils/mod.rs - utils::printer (line 114)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.53s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.76s; merged doctests compilation took 0.23s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "8fed9a2403b706c67a48ffd4d12a8a24d8238440d704fbeaa8a2f7ba231f7b2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8fed9a2403b706c67a48ffd4d12a8a24d8238440d704fbeaa8a2f7ba231f7b2f", kill_on_drop: false }`
[INFO] [stdout] 8fed9a2403b706c67a48ffd4d12a8a24d8238440d704fbeaa8a2f7ba231f7b2f
