[INFO] cloning repository https://github.com/mimuw-jnp2-rust/small-task-8-streets-of-tokio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mimuw-jnp2-rust/small-task-8-streets-of-tokio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmimuw-jnp2-rust%2Fsmall-task-8-streets-of-tokio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmimuw-jnp2-rust%2Fsmall-task-8-streets-of-tokio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 586d2cdb75c34f724adbad45852d9b578a9be88f [INFO] checking mimuw-jnp2-rust/small-task-8-streets-of-tokio against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmimuw-jnp2-rust%2Fsmall-task-8-streets-of-tokio" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mimuw-jnp2-rust/small-task-8-streets-of-tokio on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mimuw-jnp2-rust/small-task-8-streets-of-tokio [INFO] finished tweaking git repo https://github.com/mimuw-jnp2-rust/small-task-8-streets-of-tokio [INFO] tweaked toml for git repo https://github.com/mimuw-jnp2-rust/small-task-8-streets-of-tokio written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mimuw-jnp2-rust/small-task-8-streets-of-tokio 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 133e0ac7fc2d2f1091f0479fd0cbbbbb682a9a5b455471969b5149a9db004700 [INFO] running `Command { std: "docker" "start" "-a" "133e0ac7fc2d2f1091f0479fd0cbbbbb682a9a5b455471969b5149a9db004700", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "133e0ac7fc2d2f1091f0479fd0cbbbbb682a9a5b455471969b5149a9db004700", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "133e0ac7fc2d2f1091f0479fd0cbbbbb682a9a5b455471969b5149a9db004700", kill_on_drop: false }` [INFO] [stdout] 133e0ac7fc2d2f1091f0479fd0cbbbbb682a9a5b455471969b5149a9db004700 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e67913c16f4f092fd90fab06a32cafd128914fa895b3726d891c5e255b5b86dc [INFO] running `Command { std: "docker" "start" "-a" "e67913c16f4f092fd90fab06a32cafd128914fa895b3726d891c5e255b5b86dc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking small-task-8-streets-of-tokio v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `city` [INFO] [stdout] --> src/main.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | async fn race(mut city: City, mut cars: Vec) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_city` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cars` [INFO] [stdout] --> src/main.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | async fn race(mut city: City, mut cars: Vec) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | async fn race(mut city: City, mut cars: Vec) -> Vec { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | async fn race(mut city: City, mut cars: Vec) -> Vec { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/city.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn green(duration: u64) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/city.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn red(duration: u64) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/city.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/city.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/city.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn add_lights(&mut self, x: usize, y: usize, lights: Lights) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/city.rs:40:44 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn add_lights(&mut self, x: usize, y: usize, lights: Lights) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lights` [INFO] [stdout] --> src/city.rs:40:54 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn add_lights(&mut self, x: usize, y: usize, lights: Lights) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lights` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `path` are never read [INFO] [stdout] --> src/car.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Car { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 3 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | path: Vec<(usize, usize)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Red` and `Green` are never constructed [INFO] [stdout] --> src/city.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Color { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 3 | Red, [INFO] [stdout] | ^^^ [INFO] [stdout] 4 | Green, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color` and `duration` are never read [INFO] [stdout] --> src/city.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Lights { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 10 | color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | duration: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lights` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, and `lights` are never read [INFO] [stdout] --> src/city.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct City { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 30 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | lights: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `city` [INFO] [stdout] --> src/main.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | async fn race(mut city: City, mut cars: Vec) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_city` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cars` [INFO] [stdout] --> src/main.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | async fn race(mut city: City, mut cars: Vec) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | async fn race(mut city: City, mut cars: Vec) -> Vec { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | async fn race(mut city: City, mut cars: Vec) -> Vec { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/city.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn green(duration: u64) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/city.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn red(duration: u64) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/city.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/city.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/city.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn add_lights(&mut self, x: usize, y: usize, lights: Lights) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/city.rs:40:44 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn add_lights(&mut self, x: usize, y: usize, lights: Lights) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lights` [INFO] [stdout] --> src/city.rs:40:54 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn add_lights(&mut self, x: usize, y: usize, lights: Lights) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lights` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `path` are never read [INFO] [stdout] --> src/car.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Car { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 3 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | path: Vec<(usize, usize)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Red` and `Green` are never constructed [INFO] [stdout] --> src/city.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Color { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 3 | Red, [INFO] [stdout] | ^^^ [INFO] [stdout] 4 | Green, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color` and `duration` are never read [INFO] [stdout] --> src/city.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Lights { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 10 | color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | duration: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lights` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, and `lights` are never read [INFO] [stdout] --> src/city.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct City { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 30 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | lights: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.13s [INFO] running `Command { std: "docker" "inspect" "e67913c16f4f092fd90fab06a32cafd128914fa895b3726d891c5e255b5b86dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e67913c16f4f092fd90fab06a32cafd128914fa895b3726d891c5e255b5b86dc", kill_on_drop: false }` [INFO] [stdout] e67913c16f4f092fd90fab06a32cafd128914fa895b3726d891c5e255b5b86dc [INFO] checking mimuw-jnp2-rust/small-task-8-streets-of-tokio against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmimuw-jnp2-rust%2Fsmall-task-8-streets-of-tokio" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mimuw-jnp2-rust/small-task-8-streets-of-tokio on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mimuw-jnp2-rust/small-task-8-streets-of-tokio [INFO] finished tweaking git repo https://github.com/mimuw-jnp2-rust/small-task-8-streets-of-tokio [INFO] tweaked toml for git repo https://github.com/mimuw-jnp2-rust/small-task-8-streets-of-tokio written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mimuw-jnp2-rust/small-task-8-streets-of-tokio 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb7a02c277d011af4192aaf30b2901c9b98a51a8582096f6c44d5c54f3b19248 [INFO] running `Command { std: "docker" "start" "-a" "eb7a02c277d011af4192aaf30b2901c9b98a51a8582096f6c44d5c54f3b19248", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb7a02c277d011af4192aaf30b2901c9b98a51a8582096f6c44d5c54f3b19248", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb7a02c277d011af4192aaf30b2901c9b98a51a8582096f6c44d5c54f3b19248", kill_on_drop: false }` [INFO] [stdout] eb7a02c277d011af4192aaf30b2901c9b98a51a8582096f6c44d5c54f3b19248 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3eb31c3009b9654aee9efa4701c633a970f7a4091e9c1329654634fa45cb1b9c [INFO] running `Command { std: "docker" "start" "-a" "3eb31c3009b9654aee9efa4701c633a970f7a4091e9c1329654634fa45cb1b9c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking small-task-8-streets-of-tokio v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `city` [INFO] [stdout] --> src/main.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | async fn race(mut city: City, mut cars: Vec) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_city` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cars` [INFO] [stdout] --> src/main.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | async fn race(mut city: City, mut cars: Vec) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | async fn race(mut city: City, mut cars: Vec) -> Vec { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | async fn race(mut city: City, mut cars: Vec) -> Vec { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/city.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn green(duration: u64) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/city.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn red(duration: u64) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/city.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/city.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/city.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn add_lights(&mut self, x: usize, y: usize, lights: Lights) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/city.rs:40:44 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn add_lights(&mut self, x: usize, y: usize, lights: Lights) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lights` [INFO] [stdout] --> src/city.rs:40:54 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn add_lights(&mut self, x: usize, y: usize, lights: Lights) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lights` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `path` are never read [INFO] [stdout] --> src/car.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Car { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 3 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | path: Vec<(usize, usize)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Red` and `Green` are never constructed [INFO] [stdout] --> src/city.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Color { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 3 | Red, [INFO] [stdout] | ^^^ [INFO] [stdout] 4 | Green, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color` and `duration` are never read [INFO] [stdout] --> src/city.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Lights { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 10 | color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | duration: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lights` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, and `lights` are never read [INFO] [stdout] --> src/city.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct City { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 30 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | lights: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `city` [INFO] [stdout] --> src/main.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | async fn race(mut city: City, mut cars: Vec) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_city` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cars` [INFO] [stdout] --> src/main.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | async fn race(mut city: City, mut cars: Vec) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | async fn race(mut city: City, mut cars: Vec) -> Vec { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | async fn race(mut city: City, mut cars: Vec) -> Vec { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/city.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn green(duration: u64) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/city.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn red(duration: u64) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/city.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/city.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/city.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn add_lights(&mut self, x: usize, y: usize, lights: Lights) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/city.rs:40:44 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn add_lights(&mut self, x: usize, y: usize, lights: Lights) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lights` [INFO] [stdout] --> src/city.rs:40:54 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn add_lights(&mut self, x: usize, y: usize, lights: Lights) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lights` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `path` are never read [INFO] [stdout] --> src/car.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Car { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 3 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | path: Vec<(usize, usize)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Red` and `Green` are never constructed [INFO] [stdout] --> src/city.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Color { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 3 | Red, [INFO] [stdout] | ^^^ [INFO] [stdout] 4 | Green, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color` and `duration` are never read [INFO] [stdout] --> src/city.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Lights { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 10 | color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | duration: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lights` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, and `lights` are never read [INFO] [stdout] --> src/city.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct City { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 30 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | lights: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.55s [INFO] running `Command { std: "docker" "inspect" "3eb31c3009b9654aee9efa4701c633a970f7a4091e9c1329654634fa45cb1b9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3eb31c3009b9654aee9efa4701c633a970f7a4091e9c1329654634fa45cb1b9c", kill_on_drop: false }` [INFO] [stdout] 3eb31c3009b9654aee9efa4701c633a970f7a4091e9c1329654634fa45cb1b9c