[INFO] cloning repository https://github.com/Benjamonmytoast/learn_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Benjamonmytoast/learn_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenjamonmytoast%2Flearn_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenjamonmytoast%2Flearn_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bc1c53bd267530b1168ee1f8da65f697e008c53e
[INFO] checking Benjamonmytoast/learn_rust against try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenjamonmytoast%2Flearn_rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Benjamonmytoast/learn_rust on toolchain 44f3504e96c944ae54fc72b5f5008f53f7eda001
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Benjamonmytoast/learn_rust
[INFO] finished tweaking git repo https://github.com/Benjamonmytoast/learn_rust
[INFO] tweaked toml for git repo https://github.com/Benjamonmytoast/learn_rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Benjamonmytoast/learn_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" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 15b6f21b6f7d2538a114de77c66163d1b5c86fa2915a689f52561023ec6af062
[INFO] running `Command { std: "docker" "start" "-a" "15b6f21b6f7d2538a114de77c66163d1b5c86fa2915a689f52561023ec6af062", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "15b6f21b6f7d2538a114de77c66163d1b5c86fa2915a689f52561023ec6af062", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "15b6f21b6f7d2538a114de77c66163d1b5c86fa2915a689f52561023ec6af062", kill_on_drop: false }`
[INFO] [stdout] 15b6f21b6f7d2538a114de77c66163d1b5c86fa2915a689f52561023ec6af062
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 57818268f48b002a8363946fdb55036327e1ad05e2e02f94aee1e63e19fa3b17
[INFO] running `Command { std: "docker" "start" "-a" "57818268f48b002a8363946fdb55036327e1ad05e2e02f94aee1e63e19fa3b17", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking ahash v0.7.8
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking lru v0.7.8
[INFO] [stderr]    Compiling memoize-inner v0.4.3
[INFO] [stderr]     Checking memoize v0.4.2
[INFO] [stderr]     Checking untitled v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `floor`
[INFO] [stdout]   --> src/elevator_events.rs:46:30
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn lobby_call_button_pressed(floor: Floor, dir: Direction) -> Event {
[INFO] [stdout]    |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_floor`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dir`
[INFO] [stdout]   --> src/elevator_events.rs:46:44
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn lobby_call_button_pressed(floor: Floor, dir: Direction) -> Event {
[INFO] [stdout]    |                                            ^^^ help: if this is intentional, prefix it with an underscore: `_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `original_collatz_length` is never used
[INFO] [stdout]   --> src/main.rs:53:4
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn original_collatz_length(n:u32) -> u32 {
[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]  --> src/elevator_events.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 |     CarArrived(Floor),
[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] 5 |     CarArrived(()),
[INFO] [stdout]   |                ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/elevator_events.rs:6:19
[INFO] [stdout]   |
[INFO] [stdout] 6 |     ButtonPressed(Button),
[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] 6 |     ButtonPressed(()),
[INFO] [stdout]   |                   ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `floor`
[INFO] [stdout]   --> src/elevator_events.rs:46:30
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn lobby_call_button_pressed(floor: Floor, dir: Direction) -> Event {
[INFO] [stdout]    |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_floor`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/elevator_events.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |     CarDoor(Door)
[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] 7 |     CarDoor(())
[INFO] [stdout]   |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/elevator_events.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 |     Floor(Floor)
[INFO] [stdout]    |     ----- ^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Button` 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] 13 |     Floor(())
[INFO] [stdout]    |           ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Down` is never constructed
[INFO] [stdout]   --> src/elevator_events.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | enum Direction {
[INFO] [stdout]    |      --------- variant in this enum
[INFO] [stdout] 26 |     Up,
[INFO] [stdout] 27 |     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: enum `Operation` is never used
[INFO] [stdout]  --> src/expression_eval.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum Operation {
[INFO] [stdout]   |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Expression` is never used
[INFO] [stdout]   --> src/expression_eval.rs:12:6
[INFO] [stdout]    |
[INFO] [stdout] 12 | enum Expression {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `eval` is never used
[INFO] [stdout]   --> src/expression_eval.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn eval(e: Expression) -> Result<i64, String> {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dir`
[INFO] [stdout]   --> src/elevator_events.rs:46:44
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn lobby_call_button_pressed(floor: Floor, dir: Direction) -> Event {
[INFO] [stdout]    |                                            ^^^ help: if this is intentional, prefix it with an underscore: `_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `original_collatz_length` is never used
[INFO] [stdout]   --> src/main.rs:53:4
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn original_collatz_length(n:u32) -> u32 {
[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]  --> src/elevator_events.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 |     CarArrived(Floor),
[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] 5 |     CarArrived(()),
[INFO] [stdout]   |                ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/elevator_events.rs:6:19
[INFO] [stdout]   |
[INFO] [stdout] 6 |     ButtonPressed(Button),
[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] 6 |     ButtonPressed(()),
[INFO] [stdout]   |                   ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/elevator_events.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |     CarDoor(Door)
[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] 7 |     CarDoor(())
[INFO] [stdout]   |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/elevator_events.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 |     Floor(Floor)
[INFO] [stdout]    |     ----- ^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Button` 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] 13 |     Floor(())
[INFO] [stdout]    |           ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Down` is never constructed
[INFO] [stdout]   --> src/elevator_events.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | enum Direction {
[INFO] [stdout]    |      --------- variant in this enum
[INFO] [stdout] 26 |     Up,
[INFO] [stdout] 27 |     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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.40s
[INFO] running `Command { std: "docker" "inspect" "57818268f48b002a8363946fdb55036327e1ad05e2e02f94aee1e63e19fa3b17", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "57818268f48b002a8363946fdb55036327e1ad05e2e02f94aee1e63e19fa3b17", kill_on_drop: false }`
[INFO] [stdout] 57818268f48b002a8363946fdb55036327e1ad05e2e02f94aee1e63e19fa3b17
