[INFO] cloning repository https://github.com/JoshuaRadin37/Infection [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JoshuaRadin37/Infection" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshuaRadin37%2FInfection", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshuaRadin37%2FInfection'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] afe8199626de3f5da35e161c871aa3ec6b536777 [INFO] checking JoshuaRadin37/Infection against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshuaRadin37%2FInfection" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JoshuaRadin37/Infection [INFO] finished tweaking git repo https://github.com/JoshuaRadin37/Infection [INFO] tweaked toml for git repo https://github.com/JoshuaRadin37/Infection written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JoshuaRadin37/Infection 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 git repo https://github.com/JoshuaRadin37/Infection 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 56ff91db1a9d2e35893770f3dbc4a568b3e6f7c220984e332810e61f5979ab33 [INFO] running `Command { std: "docker" "start" "-a" "56ff91db1a9d2e35893770f3dbc4a568b3e6f7c220984e332810e61f5979ab33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56ff91db1a9d2e35893770f3dbc4a568b3e6f7c220984e332810e61f5979ab33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56ff91db1a9d2e35893770f3dbc4a568b3e6f7c220984e332810e61f5979ab33", kill_on_drop: false }` [INFO] [stdout] 56ff91db1a9d2e35893770f3dbc4a568b3e6f7c220984e332810e61f5979ab33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 72870c5683885fda12e68c116e739597413c0602fd26a985f38cf218568a1ab8 [INFO] running `Command { std: "docker" "start" "-a" "72870c5683885fda12e68c116e739597413c0602fd26a985f38cf218568a1ab8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking regex v1.3.6 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking plotters v0.2.12 [INFO] [stderr] Checking criterion-plot v0.4.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking oorandom v11.1.0 [INFO] [stderr] Checking interaction v0.1.0 (/opt/rustwide/workdir/interaction) [INFO] [stderr] Checking structure v0.1.0 (/opt/rustwide/workdir/structure) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> structure/src/time.rs:243:27 [INFO] [stdout] | [INFO] [stdout] 243 | Years(usize::from((self.into_minutes() / 60 / 24 / 365)) as YearsType) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 243 - Years(usize::from((self.into_minutes() / 60 / 24 / 365)) as YearsType) [INFO] [stdout] 243 + Years(usize::from(self.into_minutes() / 60 / 24 / 365 ) as YearsType) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> structure/src/time.rs:243:27 [INFO] [stdout] | [INFO] [stdout] 243 | Years(usize::from((self.into_minutes() / 60 / 24 / 365)) as YearsType) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 243 - Years(usize::from((self.into_minutes() / 60 / 24 / 365)) as YearsType) [INFO] [stdout] 243 + Years(usize::from(self.into_minutes() / 60 / 24 / 365 ) as YearsType) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> structure/src/graph.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | let mut g_prime = g.clone(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_nodes` is never used [INFO] [stdout] --> structure/src/graph.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 187 | / impl Graph [INFO] [stdout] 188 | | where [INFO] [stdout] 189 | | ID: Eq + Hash + Copy, [INFO] [stdout] 190 | | T: Copy, [INFO] [stdout] | |____________- method in this implementation [INFO] [stdout] 191 | { [INFO] [stdout] 192 | fn add_nodes(&mut self, id: I, value: T) -> GraphResult [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_edge_default` is never used [INFO] [stdout] --> structure/src/graph.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 222 | / impl Graph [INFO] [stdout] 223 | | where [INFO] [stdout] 224 | | ID: Eq + Hash + Copy, [INFO] [stdout] 225 | | W: Default, [INFO] [stdout] | |_______________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 229 | fn add_edge_default(&mut self, u: ID, v: ID) -> GraphResult { [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] --> structure/src/graph.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 31 | / impl Deref for Node [INFO] [stdout] 32 | | where [INFO] [stdout] 33 | | ID: PartialEq + Copy, [INFO] [stdout] | |_________________________- trait implemented here [INFO] [stdout] 34 | { [INFO] [stdout] 35 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn is_id(&self, k: &ID) -> bool { [INFO] [stdout] | ^^^^^ [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] --> structure/src/graph.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 31 | / impl Deref for Node [INFO] [stdout] 32 | | where [INFO] [stdout] 33 | | ID: PartialEq + Copy, [INFO] [stdout] | |_________________________- trait implemented here [INFO] [stdout] 34 | { [INFO] [stdout] 35 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get_id(&self) -> &ID { [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] --> structure/src/graph.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 31 | / impl Deref for Node [INFO] [stdout] 32 | | where [INFO] [stdout] 33 | | ID: PartialEq + Copy, [INFO] [stdout] | |_________________________- trait implemented here [INFO] [stdout] 34 | { [INFO] [stdout] 35 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn get_value(&self) -> &T { [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] --> structure/src/graph.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 31 | / impl Deref for Node [INFO] [stdout] 32 | | where [INFO] [stdout] 33 | | ID: PartialEq + Copy, [INFO] [stdout] | |_________________________- trait implemented here [INFO] [stdout] 34 | { [INFO] [stdout] 35 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn get_value_mut(&mut self) -> &mut T { [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] --> structure/src/graph.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 31 | / impl Deref for Node [INFO] [stdout] 32 | | where [INFO] [stdout] 33 | | ID: PartialEq + Copy, [INFO] [stdout] | |_________________________- trait implemented here [INFO] [stdout] 34 | { [INFO] [stdout] 35 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn is_id(&self, k: &ID) -> bool { [INFO] [stdout] | ^^^^^ [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] --> structure/src/graph.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 31 | / impl Deref for Node [INFO] [stdout] 32 | | where [INFO] [stdout] 33 | | ID: PartialEq + Copy, [INFO] [stdout] | |_________________________- trait implemented here [INFO] [stdout] 34 | { [INFO] [stdout] 35 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get_id(&self) -> &ID { [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] --> structure/src/graph.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 31 | / impl Deref for Node [INFO] [stdout] 32 | | where [INFO] [stdout] 33 | | ID: PartialEq + Copy, [INFO] [stdout] | |_________________________- trait implemented here [INFO] [stdout] 34 | { [INFO] [stdout] 35 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn get_value(&self) -> &T { [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] --> structure/src/graph.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 31 | / impl Deref for Node [INFO] [stdout] 32 | | where [INFO] [stdout] 33 | | ID: PartialEq + Copy, [INFO] [stdout] | |_________________________- trait implemented here [INFO] [stdout] 34 | { [INFO] [stdout] 35 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn get_value_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `structure` (lib) due to 4 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `structure` (lib test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "72870c5683885fda12e68c116e739597413c0602fd26a985f38cf218568a1ab8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72870c5683885fda12e68c116e739597413c0602fd26a985f38cf218568a1ab8", kill_on_drop: false }` [INFO] [stdout] 72870c5683885fda12e68c116e739597413c0602fd26a985f38cf218568a1ab8