[INFO] cloning repository https://github.com/bramvdbogaerde/slip-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bramvdbogaerde/slip-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbramvdbogaerde%2Fslip-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbramvdbogaerde%2Fslip-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d2f143c46fc33e41bc6cdd44c3455426ccd73b91 [INFO] checking bramvdbogaerde/slip-rs against try#f17e3a389e192f83fe27a581774a9d1dbb8e565b for pr-137394 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbramvdbogaerde%2Fslip-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bramvdbogaerde/slip-rs on toolchain f17e3a389e192f83fe27a581774a9d1dbb8e565b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bramvdbogaerde/slip-rs [INFO] finished tweaking git repo https://github.com/bramvdbogaerde/slip-rs [INFO] tweaked toml for git repo https://github.com/bramvdbogaerde/slip-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bramvdbogaerde/slip-rs 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" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitfield-struct v0.9.2 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc5999abda2da2f41de295bc18716ca883c5f5ac660761391f1c6de27b655898 [INFO] running `Command { std: "docker" "start" "-a" "dc5999abda2da2f41de295bc18716ca883c5f5ac660761391f1c6de27b655898", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc5999abda2da2f41de295bc18716ca883c5f5ac660761391f1c6de27b655898", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc5999abda2da2f41de295bc18716ca883c5f5ac660761391f1c6de27b655898", kill_on_drop: false }` [INFO] [stdout] dc5999abda2da2f41de295bc18716ca883c5f5ac660761391f1c6de27b655898 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fba1447921a957be5b214af20ca07dd4f8429949a068482aa71a807c1c279e9e [INFO] running `Command { std: "docker" "start" "-a" "fba1447921a957be5b214af20ca07dd4f8429949a068482aa71a807c1c279e9e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling bitfield-struct v0.9.2 [INFO] [stderr] Checking slip-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/memory.rs:144:51 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn collect(&self, roots: &mut (&mut T)) {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 144 - pub fn collect(&self, roots: &mut (&mut T)) {} [INFO] [stdout] 144 + pub fn collect(&self, roots: &mut &mut T) {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/memory.rs:144:51 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn collect(&self, roots: &mut (&mut T)) {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 144 - pub fn collect(&self, roots: &mut (&mut T)) {} [INFO] [stdout] 144 + pub fn collect(&self, roots: &mut &mut T) {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Borrow` [INFO] [stdout] --> src/memory.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::{Borrow, BorrowMut}, cell::RefCell, marker::PhantomData}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorrowMut` [INFO] [stdout] --> src/memory.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::{Borrow, BorrowMut}, cell::RefCell, marker::PhantomData}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Borrow` [INFO] [stdout] --> src/memory.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::{Borrow, BorrowMut}, cell::RefCell, marker::PhantomData}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorrowMut` [INFO] [stdout] --> src/memory.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::{Borrow, BorrowMut}, cell::RefCell, marker::PhantomData}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `roots` [INFO] [stdout] --> src/memory.rs:144:39 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn collect(&self, roots: &mut (&mut T)) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_roots` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `equal`, `modify`, `cast`, and `cast_mut` are never used [INFO] [stdout] --> src/memory.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'t> Ptr<'t> { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | fn equal(&self, that: &T) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn modify(&self, f: impl FnOnce(&mut T)) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn cast(&'t self) -> Result<&'t T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn cast_mut(&'t self) -> Result<&'t mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `initialize` is never used [INFO] [stdout] --> src/memory.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 76 | impl Header { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 77 | fn initialize(is_raw: bool, tag: usize, size: impl Into) -> Header { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chunk` is never constructed [INFO] [stdout] --> src/memory.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct Chunk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Memory` is never constructed [INFO] [stdout] --> src/memory.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Memory<'t> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `allocate_`, `allocate`, `allocate_raw`, `destroy`, and `collect` are never used [INFO] [stdout] --> src/memory.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl<'t> Memory<'t> { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn new<'s : 't>(memory: &'s mut [u64]) -> Memory<'t> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn allocate_(&'t self, additional_size: isize, is_raw: bool) -> Ptr<'t> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn allocate(&'t self, additional_size: isize) -> Ptr<'t> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn allocate_raw(&'t self, additional_size: isize) -> Ptr<'t> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn destroy(self) { } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn collect(&self, roots: &mut (&mut T)) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Element` is never used [INFO] [stdout] --> src/memory.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 150 | pub trait Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `roots` [INFO] [stdout] --> src/memory.rs:144:39 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn collect(&self, roots: &mut (&mut T)) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_roots` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `equal` is never used [INFO] [stdout] --> src/memory.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'t> Ptr<'t> { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | fn equal(&self, that: &T) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chunk` is never constructed [INFO] [stdout] --> src/memory.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct Chunk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `destroy` and `collect` are never used [INFO] [stdout] --> src/memory.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl<'t> Memory<'t> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn destroy(self) { } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn collect(&self, roots: &mut (&mut T)) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.03s [INFO] running `Command { std: "docker" "inspect" "fba1447921a957be5b214af20ca07dd4f8429949a068482aa71a807c1c279e9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fba1447921a957be5b214af20ca07dd4f8429949a068482aa71a807c1c279e9e", kill_on_drop: false }` [INFO] [stdout] fba1447921a957be5b214af20ca07dd4f8429949a068482aa71a807c1c279e9e