[INFO] cloning repository https://github.com/fabienjuif/inmemory-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fabienjuif/inmemory-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffabienjuif%2Finmemory-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffabienjuif%2Finmemory-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e6a675d9cbb791beacc70c07107f754f9cf21ebc [INFO] checking fabienjuif/inmemory-rust against try#8d46be77cd48fdbcced888d027457e2c9cf2aa16 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffabienjuif%2Finmemory-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fabienjuif/inmemory-rust on toolchain 8d46be77cd48fdbcced888d027457e2c9cf2aa16 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fabienjuif/inmemory-rust [INFO] finished tweaking git repo https://github.com/fabienjuif/inmemory-rust [INFO] tweaked toml for git repo https://github.com/fabienjuif/inmemory-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fabienjuif/inmemory-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" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking fabienjuif/inmemory-rust against try#8d46be77cd48fdbcced888d027457e2c9cf2aa16 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffabienjuif%2Finmemory-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fabienjuif/inmemory-rust on toolchain 8d46be77cd48fdbcced888d027457e2c9cf2aa16 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fabienjuif/inmemory-rust [INFO] finished tweaking git repo https://github.com/fabienjuif/inmemory-rust [INFO] tweaked toml for git repo https://github.com/fabienjuif/inmemory-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fabienjuif/inmemory-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" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0636cf52fb6894e92f8f43df475448ba050138bb782ecd024c8c91c953044220 [INFO] running `Command { std: "docker" "start" "-a" "0636cf52fb6894e92f8f43df475448ba050138bb782ecd024c8c91c953044220", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0636cf52fb6894e92f8f43df475448ba050138bb782ecd024c8c91c953044220", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0636cf52fb6894e92f8f43df475448ba050138bb782ecd024c8c91c953044220", kill_on_drop: false }` [INFO] [stdout] 0636cf52fb6894e92f8f43df475448ba050138bb782ecd024c8c91c953044220 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffb9c0c2e5d9a918099d831d462dae431b00b6fcd2828e244623437604ac272d [INFO] running `Command { std: "docker" "start" "-a" "ffb9c0c2e5d9a918099d831d462dae431b00b6fcd2828e244623437604ac272d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking inmemory-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `cache` [INFO] [stdout] --> src/main.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut cache = CacheWithTTL::>::new(1000); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut cache = CacheWithTTL::>::new(1000); [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: methods `get`, `set`, `evict`, and `len` are never used [INFO] [stdout] --> src/cache.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Cache { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] 7 | fn new(capacity: usize) -> Self; [INFO] [stdout] 8 | fn get(&self, key: &'static str) -> Option; [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | fn set(&mut self, key: &'static str, value: T); [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | fn evict(&mut self, key: &'static str); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | fn len(&self) -> usize; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `ttl` are never read [INFO] [stdout] --> src/cache.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CacheWithTTLEntry { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 16 | value: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | ttl: Instant, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CacheWithTTLEntry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cache` is never read [INFO] [stdout] --> src/cache.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct CacheWithTTL>> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 21 | cache: C, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `set`, and `len` are never used [INFO] [stdout] --> src/cache.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl>> CacheWithTTL { [INFO] [stdout] | ---------------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn get(&mut self, key: &'static str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn set(&mut self, key: &'static str, value: T, ttl: Duration) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key` and `visited` are never read [INFO] [stdout] --> src/sieve.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct SieveNode { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 12 | key: &'static str, // TODO: in this impl we could remove it [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | visited: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `capacity`, `cache`, `log`, and `hand` are never read [INFO] [stdout] --> src/sieve.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct Sieve { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 17 | capacity: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 18 | cache: HashMap<&'static str, Rc>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | log: VecDeque>>, [INFO] [stdout] | ^^^ [INFO] [stdout] 20 | hand: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mut_node`, `remove`, `insert`, `evict`, and `get_keys` are never used [INFO] [stdout] --> src/sieve.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl Sieve { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | fn get_mut_node(&mut self, key: &'static str) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn remove(&mut self, key: &'static str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn insert(&mut self, key: &'static str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn evict(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn get_keys(&self) -> Vec<&'static str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cache` and `sieve` are never read [INFO] [stdout] --> src/sieve.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct ESieve { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 129 | cache: RwLock>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 130 | sieve: Mutex, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache` [INFO] [stdout] --> src/main.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut cache = CacheWithTTL::>::new(1000); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cache` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut cache = CacheWithTTL::>::new(1000); [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.38s [INFO] running `Command { std: "docker" "inspect" "ffb9c0c2e5d9a918099d831d462dae431b00b6fcd2828e244623437604ac272d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffb9c0c2e5d9a918099d831d462dae431b00b6fcd2828e244623437604ac272d", kill_on_drop: false }` [INFO] [stdout] ffb9c0c2e5d9a918099d831d462dae431b00b6fcd2828e244623437604ac272d