[INFO] cloning repository https://github.com/psyto/hashmap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/psyto/hashmap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsyto%2Fhashmap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsyto%2Fhashmap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f66541e3226d6047ddc20ef82519eeec495ae5f [INFO] checking psyto/hashmap against try#f3d95de532264a1215023baa665c0028aecf74b1 for pr-148477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsyto%2Fhashmap" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/psyto/hashmap [INFO] finished tweaking git repo https://github.com/psyto/hashmap [INFO] tweaked toml for git repo https://github.com/psyto/hashmap written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/psyto/hashmap on toolchain f3d95de532264a1215023baa665c0028aecf74b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f3d95de532264a1215023baa665c0028aecf74b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/psyto/hashmap 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" "+f3d95de532264a1215023baa665c0028aecf74b1" "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 psyto/hashmap against try#f3d95de532264a1215023baa665c0028aecf74b1 for pr-148477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsyto%2Fhashmap" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/psyto/hashmap [INFO] finished tweaking git repo https://github.com/psyto/hashmap [INFO] tweaked toml for git repo https://github.com/psyto/hashmap written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/psyto/hashmap on toolchain f3d95de532264a1215023baa665c0028aecf74b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f3d95de532264a1215023baa665c0028aecf74b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/psyto/hashmap 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" "+f3d95de532264a1215023baa665c0028aecf74b1" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f3d95de532264a1215023baa665c0028aecf74b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51fe3547d3c814ea636799803521417c2c455c4754416490f1e01901b0193703 [INFO] running `Command { std: "docker" "start" "-a" "51fe3547d3c814ea636799803521417c2c455c4754416490f1e01901b0193703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51fe3547d3c814ea636799803521417c2c455c4754416490f1e01901b0193703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51fe3547d3c814ea636799803521417c2c455c4754416490f1e01901b0193703", kill_on_drop: false }` [INFO] [stdout] 51fe3547d3c814ea636799803521417c2c455c4754416490f1e01901b0193703 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f3d95de532264a1215023baa665c0028aecf74b1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba223f6dce1354b2b4314d41db48df3a9038a8672e0831922cb842e11cb89fc0 [INFO] running `Command { std: "docker" "start" "-a" "ba223f6dce1354b2b4314d41db48df3a9038a8672e0831922cb842e11cb89fc0", kill_on_drop: false }` [INFO] [stderr] Checking hashmap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: `&mut Bucket` is not an iterator [INFO] [stdout] --> src/lib.rs:32:40 [INFO] [stdout] | [INFO] [stdout] 32 | for &mut (ref ekey, evalue) in bucket { [INFO] [stdout] | ^^^^^^ `&mut Bucket` is not an iterator [INFO] [stdout] | [INFO] [stdout] help: the trait `Iterator` is not implemented for `Bucket` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct Bucket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `&mut Bucket` to implement `Iterator` [INFO] [stdout] = note: required for `&mut Bucket` to implement `IntoIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `&mut Bucket` is not an iterator [INFO] [stdout] --> src/lib.rs:32:40 [INFO] [stdout] | [INFO] [stdout] 32 | for &mut (ref ekey, evalue) in bucket { [INFO] [stdout] | ^^^^^^ `&mut Bucket` is not an iterator [INFO] [stdout] | [INFO] [stdout] help: the trait `Iterator` is not implemented for `Bucket` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | struct Bucket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `&mut Bucket` to implement `Iterator` [INFO] [stdout] = note: required for `&mut Bucket` to implement `IntoIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&_` with `K` [INFO] [stdout] --> src/lib.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | if ekey == key { [INFO] [stdout] | ^^ no implementation for `&_ == K` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `&_` [INFO] [stdout] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 33 | if *ekey == key { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&_` with `K` [INFO] [stdout] --> src/lib.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | if ekey == key { [INFO] [stdout] | ^^ no implementation for `&_ == K` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `&_` [INFO] [stdout] help: consider dereferencing here [INFO] [stdout] | [INFO] [stdout] 33 | if *ekey == key { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for mutable reference `&mut Bucket` in the current scope [INFO] [stdout] --> src/lib.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | bucket.push((key, value)); [INFO] [stdout] | ^^^^ method not found in `&mut Bucket` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 39 | bucket.items.push((key, value)); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for mutable reference `&mut Bucket` in the current scope [INFO] [stdout] --> src/lib.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | bucket.push((key, value)); [INFO] [stdout] | ^^^^ method not found in `&mut Bucket` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 39 | bucket.items.push((key, value)); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_size` [INFO] [stdout] --> src/lib.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let target_size = match self.buckets.len() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_size` [INFO] [stdout] --> src/lib.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let target_size = match self.buckets.len() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hashmap` (lib) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hashmap` (lib test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ba223f6dce1354b2b4314d41db48df3a9038a8672e0831922cb842e11cb89fc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba223f6dce1354b2b4314d41db48df3a9038a8672e0831922cb842e11cb89fc0", kill_on_drop: false }` [INFO] [stdout] ba223f6dce1354b2b4314d41db48df3a9038a8672e0831922cb842e11cb89fc0