[INFO] cloning repository https://github.com/kolharsam/lru-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kolharsam/lru-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkolharsam%2Flru-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkolharsam%2Flru-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44b84778ade35abed83997a7fcca4dc96ad80ae9 [INFO] testing kolharsam/lru-rust against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkolharsam%2Flru-rust" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kolharsam/lru-rust on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kolharsam/lru-rust [INFO] finished tweaking git repo https://github.com/kolharsam/lru-rust [INFO] tweaked toml for git repo https://github.com/kolharsam/lru-rust written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/kolharsam/lru-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52553a6b11da030edac1d748b140c0794c38f744bb5379fc5a5e2254eb63e53a [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" "52553a6b11da030edac1d748b140c0794c38f744bb5379fc5a5e2254eb63e53a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52553a6b11da030edac1d748b140c0794c38f744bb5379fc5a5e2254eb63e53a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52553a6b11da030edac1d748b140c0794c38f744bb5379fc5a5e2254eb63e53a", kill_on_drop: false }` [INFO] [stdout] 52553a6b11da030edac1d748b140c0794c38f744bb5379fc5a5e2254eb63e53a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] deac637231c545640c43d922a077630ee9d12050a9669b16402ad00f16c99836 [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" "deac637231c545640c43d922a077630ee9d12050a9669b16402ad00f16c99836", kill_on_drop: false }` [INFO] [stderr] Compiling lru-rust v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.51s [INFO] running `Command { std: "docker" "inspect" "deac637231c545640c43d922a077630ee9d12050a9669b16402ad00f16c99836", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "deac637231c545640c43d922a077630ee9d12050a9669b16402ad00f16c99836", kill_on_drop: false }` [INFO] [stdout] deac637231c545640c43d922a077630ee9d12050a9669b16402ad00f16c99836 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4818c14e7314bce607ad9b4dc2ad0421a0fb1fbec9fc9b987a17415ba328c3ec [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" "4818c14e7314bce607ad9b4dc2ad0421a0fb1fbec9fc9b987a17415ba328c3ec", kill_on_drop: false }` [INFO] [stderr] Compiling lru-rust v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/main.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `LRU` in the current scope [INFO] [stdout] --> src/main.rs:142:30 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct LRU { [INFO] [stdout] | -------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 142 | let _lru = lru::LRU::new(0); [INFO] [stdout] | ^^^ function or associated item not found in `LRU` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 135 | use crate::lru::LRUOperators; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `LRU` in the current scope [INFO] [stdout] --> src/main.rs:147:33 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct LRU { [INFO] [stdout] | -------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 147 | let mut lru = lru::LRU::new(2); [INFO] [stdout] | ^^^ function or associated item not found in `LRU` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 135 | use crate::lru::LRUOperators; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `LRU` in the current scope [INFO] [stdout] --> src/main.rs:156:33 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct LRU { [INFO] [stdout] | -------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 156 | let mut lru = lru::LRU::new(2); [INFO] [stdout] | ^^^ function or associated item not found in `LRU` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 135 | use crate::lru::LRUOperators; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `LRU` in the current scope [INFO] [stdout] --> src/main.rs:167:33 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct LRU { [INFO] [stdout] | -------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 167 | let mut lru = lru::LRU::new(3); [INFO] [stdout] | ^^^ function or associated item not found in `LRU` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 135 | use crate::lru::LRUOperators; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `LRU` in the current scope [INFO] [stdout] --> src/main.rs:186:33 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct LRU { [INFO] [stdout] | -------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 186 | let mut lru = lru::LRU::new(2); [INFO] [stdout] | ^^^ function or associated item not found in `LRU` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 135 | use crate::lru::LRUOperators; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `LRU` in the current scope [INFO] [stdout] --> src/main.rs:205:33 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct LRU { [INFO] [stdout] | -------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 205 | let mut lru = lru::LRU::new(2); [INFO] [stdout] | ^^^ function or associated item not found in `LRU` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 135 | use crate::lru::LRUOperators; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lru-rust` due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4818c14e7314bce607ad9b4dc2ad0421a0fb1fbec9fc9b987a17415ba328c3ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4818c14e7314bce607ad9b4dc2ad0421a0fb1fbec9fc9b987a17415ba328c3ec", kill_on_drop: false }` [INFO] [stdout] 4818c14e7314bce607ad9b4dc2ad0421a0fb1fbec9fc9b987a17415ba328c3ec