[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#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkolharsam%2Flru-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kolharsam/lru-rust on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kolharsam/lru-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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff0dc8b832d4745d9fe4a85c4a8dd7de07a2fab0ba0d15097668fbc12f9caf7c [INFO] running `Command { std: "docker" "start" "-a" "ff0dc8b832d4745d9fe4a85c4a8dd7de07a2fab0ba0d15097668fbc12f9caf7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff0dc8b832d4745d9fe4a85c4a8dd7de07a2fab0ba0d15097668fbc12f9caf7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff0dc8b832d4745d9fe4a85c4a8dd7de07a2fab0ba0d15097668fbc12f9caf7c", kill_on_drop: false }` [INFO] [stdout] ff0dc8b832d4745d9fe4a85c4a8dd7de07a2fab0ba0d15097668fbc12f9caf7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d143f9f55560673f3a24e86a686e12d2c6b4c8f38494823435a374da83ac666 [INFO] running `Command { std: "docker" "start" "-a" "3d143f9f55560673f3a24e86a686e12d2c6b4c8f38494823435a374da83ac666", kill_on_drop: false }` [INFO] [stderr] Compiling lru-rust v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type alias `LinkedNode` is never used [INFO] [stdout] --> src/main.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | type LinkedNode = (i32, i32); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LRU` is never constructed [INFO] [stdout] --> src/main.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct LRU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `LRUOperators` is never used [INFO] [stdout] --> src/main.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait LRUOperators { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "3d143f9f55560673f3a24e86a686e12d2c6b4c8f38494823435a374da83ac666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d143f9f55560673f3a24e86a686e12d2c6b4c8f38494823435a374da83ac666", kill_on_drop: false }` [INFO] [stdout] 3d143f9f55560673f3a24e86a686e12d2c6b4c8f38494823435a374da83ac666 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf11cf06ef56d853754a0c7b12da74dff400b8613312988384c64f4f54f1620d [INFO] running `Command { std: "docker" "start" "-a" "bf11cf06ef56d853754a0c7b12da74dff400b8613312988384c64f4f54f1620d", 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)]` (part of `#[warn(unused)]`) 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 struct [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: trait `LRUOperators` which provides `new` is implemented but not in scope; perhaps you want to import 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 struct [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: trait `LRUOperators` which provides `new` is implemented but not in scope; perhaps you want to import 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 struct [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: trait `LRUOperators` which provides `new` is implemented but not in scope; perhaps you want to import 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 struct [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: trait `LRUOperators` which provides `new` is implemented but not in scope; perhaps you want to import 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 struct [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: trait `LRUOperators` which provides `new` is implemented but not in scope; perhaps you want to import 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 struct [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: trait `LRUOperators` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 135 + use crate::lru::LRUOperators; [INFO] [stdout] | [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` (bin "lru-rust" test) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "bf11cf06ef56d853754a0c7b12da74dff400b8613312988384c64f4f54f1620d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf11cf06ef56d853754a0c7b12da74dff400b8613312988384c64f4f54f1620d", kill_on_drop: false }` [INFO] [stdout] bf11cf06ef56d853754a0c7b12da74dff400b8613312988384c64f4f54f1620d