[INFO] cloning repository https://github.com/mihai-dinculescu/code_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mihai-dinculescu/code_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmihai-dinculescu%2Fcode_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmihai-dinculescu%2Fcode_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c57dc7488b3dd61902574bb0f5ba9b61ee8a85a6 [INFO] testing mihai-dinculescu/code_test against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmihai-dinculescu%2Fcode_test" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mihai-dinculescu/code_test on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mihai-dinculescu/code_test [INFO] finished tweaking git repo https://github.com/mihai-dinculescu/code_test [INFO] tweaked toml for git repo https://github.com/mihai-dinculescu/code_test written to /workspace/builds/worker-18/source/Cargo.toml [INFO] crate git repo https://github.com/mihai-dinculescu/code_test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 977eeb02ecc67abf60f32cc2d2bdd6c065fdd1a843bde8ed8a8f7a23feec7d99 [INFO] running `Command { std: "docker" "start" "-a" "977eeb02ecc67abf60f32cc2d2bdd6c065fdd1a843bde8ed8a8f7a23feec7d99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "977eeb02ecc67abf60f32cc2d2bdd6c065fdd1a843bde8ed8a8f7a23feec7d99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "977eeb02ecc67abf60f32cc2d2bdd6c065fdd1a843bde8ed8a8f7a23feec7d99", kill_on_drop: false }` [INFO] [stdout] 977eeb02ecc67abf60f32cc2d2bdd6c065fdd1a843bde8ed8a8f7a23feec7d99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce9ea2a9aeebca0062cca65be4d6cfab1bddfd3bbf5aef856e519a21d675ef33 [INFO] running `Command { std: "docker" "start" "-a" "ce9ea2a9aeebca0062cca65be4d6cfab1bddfd3bbf5aef856e519a21d675ef33", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling code_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `start` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | start: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | end: i32, [INFO] [stdout] | ^^^^^^^^ [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] --> src/lib.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(start: i32, end: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BookingSystem` [INFO] [stdout] --> src/array_solution.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct BookingSystem {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/array_solution.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_events` [INFO] [stdout] --> src/array_solution.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn check_events(&self, mut events: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BookingSystem` [INFO] [stdout] --> src/btreemap_solution.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct BookingSystem {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/btreemap_solution.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_events` [INFO] [stdout] --> src/btreemap_solution.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn check_events(&self, events: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(test)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `code_test` due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ce9ea2a9aeebca0062cca65be4d6cfab1bddfd3bbf5aef856e519a21d675ef33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce9ea2a9aeebca0062cca65be4d6cfab1bddfd3bbf5aef856e519a21d675ef33", kill_on_drop: false }` [INFO] [stdout] ce9ea2a9aeebca0062cca65be4d6cfab1bddfd3bbf5aef856e519a21d675ef33