[INFO] cloning repository https://github.com/Vincent--Li/comprehensive-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Vincent--Li/comprehensive-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVincent--Li%2Fcomprehensive-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVincent--Li%2Fcomprehensive-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90a8522f3df196da73842740bc60c3515707574f [INFO] checking Vincent--Li/comprehensive-rust against try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVincent--Li%2Fcomprehensive-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Vincent--Li/comprehensive-rust [INFO] finished tweaking git repo https://github.com/Vincent--Li/comprehensive-rust [INFO] tweaked toml for git repo https://github.com/Vincent--Li/comprehensive-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Vincent--Li/comprehensive-rust on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Vincent--Li/comprehensive-rust 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" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1806a36ff22389518fdb8339bd5f164d4664abe412418e8919a6e4e93a6eb766 [INFO] running `Command { std: "docker" "start" "-a" "1806a36ff22389518fdb8339bd5f164d4664abe412418e8919a6e4e93a6eb766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1806a36ff22389518fdb8339bd5f164d4664abe412418e8919a6e4e93a6eb766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1806a36ff22389518fdb8339bd5f164d4664abe412418e8919a6e4e93a6eb766", kill_on_drop: false }` [INFO] [stdout] 1806a36ff22389518fdb8339bd5f164d4664abe412418e8919a6e4e93a6eb766 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d2d3e2964d5ca784caa2d903cb42987f50b21308cb157193ea537670e16fdbc [INFO] running `Command { std: "docker" "start" "-a" "0d2d3e2964d5ca784caa2d903cb42987f50b21308cb157193ea537670e16fdbc", kill_on_drop: false }` [INFO] [stderr] Checking elevator_event v0.1.0 (/opt/rustwide/workdir/elevator_event) [INFO] [stderr] Checking helloworld v0.1.0 (/opt/rustwide/workdir/helloworld) [INFO] [stderr] Checking comprehensive-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking generic_data_types v0.1.0 (/opt/rustwide/workdir/generic_data_types) [INFO] [stderr] Checking shared_reference v0.1.0 (/opt/rustwide/workdir/shared_reference) [INFO] [stderr] Checking trait_bound v0.1.0 (/opt/rustwide/workdir/trait_bound) [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/main.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | println!("- {}: {:#x}", stringify!($e), transmute::<_, $bit_type>($e)); [INFO] [stdout] | -------------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] ... [INFO] [stdout] 12 | dbg_bits!(false, u8); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dbg_bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/main.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | println!("- {}: {:#x}", stringify!($e), transmute::<_, $bit_type>($e)); [INFO] [stdout] | -------------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] ... [INFO] [stdout] 13 | dbg_bits!(true, u8); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `dbg_bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/main.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | println!("- {}: {:#x}", stringify!($e), transmute::<_, $bit_type>($e)); [INFO] [stdout] | -------------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] ... [INFO] [stdout] 12 | dbg_bits!(false, u8); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `dbg_bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/main.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | println!("- {}: {:#x}", stringify!($e), transmute::<_, $bit_type>($e)); [INFO] [stdout] | -------------------------^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] ... [INFO] [stdout] 13 | dbg_bits!(true, u8); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `dbg_bits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_x` is never used [INFO] [stdout] --> generic_data_types/src/main.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Point { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | fn set_x(&mut self, x: T) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> elevator_event/src/main.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | CarArrived(i32), [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 - CarArrived(i32), [INFO] [stdout] 4 + CarArrived(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> elevator_event/src/main.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | LobbyCallButtonPressed(i32, Direction), [INFO] [stdout] | ---------------------- ^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 7 - LobbyCallButtonPressed(i32, Direction), [INFO] [stdout] 7 + LobbyCallButtonPressed((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> elevator_event/src/main.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | CarFloorButtonPressed(i32), [INFO] [stdout] | --------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - CarFloorButtonPressed(i32), [INFO] [stdout] 8 + CarFloorButtonPressed(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Down` is never constructed [INFO] [stdout] --> elevator_event/src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum Direction { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 15 | Up, [INFO] [stdout] 16 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_x` is never used [INFO] [stdout] --> generic_data_types/src/main.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 8 | impl Point { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | fn set_x(&mut self, x: T) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> elevator_event/src/main.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | CarArrived(i32), [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 - CarArrived(i32), [INFO] [stdout] 4 + CarArrived(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> elevator_event/src/main.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | LobbyCallButtonPressed(i32, Direction), [INFO] [stdout] | ---------------------- ^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 7 - LobbyCallButtonPressed(i32, Direction), [INFO] [stdout] 7 + LobbyCallButtonPressed((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> elevator_event/src/main.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | CarFloorButtonPressed(i32), [INFO] [stdout] | --------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - CarFloorButtonPressed(i32), [INFO] [stdout] 8 + CarFloorButtonPressed(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Down` is never constructed [INFO] [stdout] --> elevator_event/src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum Direction { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 15 | Up, [INFO] [stdout] 16 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `noneDuplicate` should have a snake case name [INFO] [stdout] --> trait_bound/src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let noneDuplicate = duplicate(none); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `none_duplicate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `noneDuplicate` should have a snake case name [INFO] [stdout] --> trait_bound/src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let noneDuplicate = duplicate(none); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `none_duplicate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "0d2d3e2964d5ca784caa2d903cb42987f50b21308cb157193ea537670e16fdbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d2d3e2964d5ca784caa2d903cb42987f50b21308cb157193ea537670e16fdbc", kill_on_drop: false }` [INFO] [stdout] 0d2d3e2964d5ca784caa2d903cb42987f50b21308cb157193ea537670e16fdbc