[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 master#a26e97be8826d408309fffbd8168362365719f50 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-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Benjamonmytoast/learn_rust on toolchain a26e97be8826d408309fffbd8168362365719f50
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a26e97be8826d408309fffbd8168362365719f50" "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-tc1/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" "+a26e97be8826d408309fffbd8168362365719f50" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded memoize v0.4.2
[INFO] [stderr]   Downloaded memoize-inner v0.4.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+a26e97be8826d408309fffbd8168362365719f50" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 75bbf578cc76d16ae84c8024da6b92a0ebe0182a441a3921c4a6dda939a55684
[INFO] running `Command { std: "docker" "start" "-a" "75bbf578cc76d16ae84c8024da6b92a0ebe0182a441a3921c4a6dda939a55684", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "75bbf578cc76d16ae84c8024da6b92a0ebe0182a441a3921c4a6dda939a55684", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75bbf578cc76d16ae84c8024da6b92a0ebe0182a441a3921c4a6dda939a55684", kill_on_drop: false }`
[INFO] [stdout] 75bbf578cc76d16ae84c8024da6b92a0ebe0182a441a3921c4a6dda939a55684
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+a26e97be8826d408309fffbd8168362365719f50" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 600bf76f47a6d6bfae09894b65be5c0efe0344a875e7e131ef32fcc552bb1dad
[INFO] running `Command { std: "docker" "start" "-a" "600bf76f47a6d6bfae09894b65be5c0efe0344a875e7e131ef32fcc552bb1dad", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]    Compiling syn v1.0.109
[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: 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: 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: 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] [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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.11s
[INFO] running `Command { std: "docker" "inspect" "600bf76f47a6d6bfae09894b65be5c0efe0344a875e7e131ef32fcc552bb1dad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "600bf76f47a6d6bfae09894b65be5c0efe0344a875e7e131ef32fcc552bb1dad", kill_on_drop: false }`
[INFO] [stdout] 600bf76f47a6d6bfae09894b65be5c0efe0344a875e7e131ef32fcc552bb1dad
