[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] checking mihai-dinculescu/code_test against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmihai-dinculescu%2Fcode_test" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mihai-dinculescu/code_test on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-8/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 026a19af1a06d558a5be7286b593ee61b5b53372a7e56bfd5e582957596e267f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "026a19af1a06d558a5be7286b593ee61b5b53372a7e56bfd5e582957596e267f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "026a19af1a06d558a5be7286b593ee61b5b53372a7e56bfd5e582957596e267f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "026a19af1a06d558a5be7286b593ee61b5b53372a7e56bfd5e582957596e267f", kill_on_drop: false }` [INFO] [stdout] 026a19af1a06d558a5be7286b593ee61b5b53372a7e56bfd5e582957596e267f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b75b1a5660ac694b56f98227d656d338c068e91a5e320d86ef762b492013585b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b75b1a5660ac694b56f98227d656d338c068e91a5e320d86ef762b492013585b", kill_on_drop: false }` [INFO] [stderr] Checking code_test v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(dead_code)]` on by default [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] 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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "b75b1a5660ac694b56f98227d656d338c068e91a5e320d86ef762b492013585b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b75b1a5660ac694b56f98227d656d338c068e91a5e320d86ef762b492013585b", kill_on_drop: false }` [INFO] [stdout] b75b1a5660ac694b56f98227d656d338c068e91a5e320d86ef762b492013585b