[INFO] fetching crate mutcrab 0.1.1... [INFO] checking mutcrab-0.1.1 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate mutcrab 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate mutcrab 0.1.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate mutcrab 0.1.1 [INFO] tweaked toml for crates.io crate mutcrab 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mutcrab 0.1.1 on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mutcrab 0.1.1 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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dae6567361b491ca1c62d30233a31a41fcd7df2dc838e8e78399519916337d3e [INFO] running `Command { std: "docker" "start" "-a" "dae6567361b491ca1c62d30233a31a41fcd7df2dc838e8e78399519916337d3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dae6567361b491ca1c62d30233a31a41fcd7df2dc838e8e78399519916337d3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dae6567361b491ca1c62d30233a31a41fcd7df2dc838e8e78399519916337d3e", kill_on_drop: false }` [INFO] [stdout] dae6567361b491ca1c62d30233a31a41fcd7df2dc838e8e78399519916337d3e [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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0c8b3b106cbb10329024ccd498891332fd23a9021ddc2833dc2759d8209b58a [INFO] running `Command { std: "docker" "start" "-a" "f0c8b3b106cbb10329024ccd498891332fd23a9021ddc2833dc2759d8209b58a", kill_on_drop: false }` [INFO] [stderr] Checking mutcrab v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `edgeMap` and `rootMap` are never read [INFO] [stdout] --> src/mutcrab/collection/graph/immutable_graph.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ImmutableGraph { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 7 | nodeMap: HashMap>, [INFO] [stdout] 8 | edgeMap: HashMap, LinkedList>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | rootMap: HashMap, bool> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index`, `nodeMap`, `edgeMap`, and `rootMap` are never read [INFO] [stdout] --> src/mutcrab/collection/graph/immutable_graph.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Builder { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 31 | index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 32 | nodeMap: HashMap>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 33 | edgeMap: HashMap, LinkedList>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 34 | rootMap: HashMap, bool> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_node`, `add_edge`, and `build` are never used [INFO] [stdout] --> src/mutcrab/collection/graph/immutable_graph.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 37 | / impl Builder [INFO] [stdout] 38 | | where [INFO] [stdout] 39 | | N: Eq + Hash [INFO] [stdout] | |________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | fn add_node(&mut self, value: N) -> NodeIndex [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn add_edge(&mut self, src: NodeIndex, dst: NodeIndex) -> &mut Builder { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn build(self) -> ImmutableGraph { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/mutcrab/base/ptrbox.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn is_null(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | impl Deref for PtrBox { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 40 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/mutcrab/base/ptrbox.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn as_box(&self) -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | impl Deref for PtrBox { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 40 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nodeMap` should have a snake case name [INFO] [stdout] --> src/mutcrab/collection/graph/immutable_graph.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | nodeMap: HashMap>, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `node_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `edgeMap` should have a snake case name [INFO] [stdout] --> src/mutcrab/collection/graph/immutable_graph.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | edgeMap: HashMap, LinkedList>>, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `edge_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `rootMap` should have a snake case name [INFO] [stdout] --> src/mutcrab/collection/graph/immutable_graph.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | rootMap: HashMap, bool> [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `root_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nodeMap` should have a snake case name [INFO] [stdout] --> src/mutcrab/collection/graph/immutable_graph.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | nodeMap: HashMap>, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `node_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `edgeMap` should have a snake case name [INFO] [stdout] --> src/mutcrab/collection/graph/immutable_graph.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | edgeMap: HashMap, LinkedList>>, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `edge_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `rootMap` should have a snake case name [INFO] [stdout] --> src/mutcrab/collection/graph/immutable_graph.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | rootMap: HashMap, bool> [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `root_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mutcrab` (lib) due to 2 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `mut_readwrite_test` is never used [INFO] [stdout] --> src/mutcrab/collection/list/lock_free_queue.rs:218:8 [INFO] [stdout] | [INFO] [stdout] 218 | fn mut_readwrite_test() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/mutcrab/collection/list/lock_free_queue.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `edgeMap` and `rootMap` are never read [INFO] [stdout] --> src/mutcrab/collection/graph/immutable_graph.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ImmutableGraph { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 7 | nodeMap: HashMap>, [INFO] [stdout] 8 | edgeMap: HashMap, LinkedList>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | rootMap: HashMap, bool> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/mutcrab/base/ptrbox.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn is_null(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | impl Deref for PtrBox { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 40 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/mutcrab/base/ptrbox.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn as_box(&self) -> Box { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | impl Deref for PtrBox { [INFO] [stdout] | --------------------------- trait implemented here [INFO] [stdout] 40 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nodeMap` should have a snake case name [INFO] [stdout] --> src/mutcrab/collection/graph/immutable_graph.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | nodeMap: HashMap>, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `node_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `edgeMap` should have a snake case name [INFO] [stdout] --> src/mutcrab/collection/graph/immutable_graph.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | edgeMap: HashMap, LinkedList>>, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `edge_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `rootMap` should have a snake case name [INFO] [stdout] --> src/mutcrab/collection/graph/immutable_graph.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | rootMap: HashMap, bool> [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `root_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nodeMap` should have a snake case name [INFO] [stdout] --> src/mutcrab/collection/graph/immutable_graph.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | nodeMap: HashMap>, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `node_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `edgeMap` should have a snake case name [INFO] [stdout] --> src/mutcrab/collection/graph/immutable_graph.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | edgeMap: HashMap, LinkedList>>, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `edge_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `rootMap` should have a snake case name [INFO] [stdout] --> src/mutcrab/collection/graph/immutable_graph.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | rootMap: HashMap, bool> [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `root_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mutcrab` (lib test) due to 2 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f0c8b3b106cbb10329024ccd498891332fd23a9021ddc2833dc2759d8209b58a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0c8b3b106cbb10329024ccd498891332fd23a9021ddc2833dc2759d8209b58a", kill_on_drop: false }` [INFO] [stdout] f0c8b3b106cbb10329024ccd498891332fd23a9021ddc2833dc2759d8209b58a