[INFO] cloning repository https://github.com/theodoreleebrant/bree [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/theodoreleebrant/bree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheodoreleebrant%2Fbree", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheodoreleebrant%2Fbree'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fab3d0f719c050a9f262471d8ead3e9664dabda1 [INFO] checking theodoreleebrant/bree against try#b98202ad067d72e45cec8be3d5c15d86ef0fd086 for pr-155193 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheodoreleebrant%2Fbree" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/theodoreleebrant/bree [INFO] finished tweaking git repo https://github.com/theodoreleebrant/bree [INFO] tweaked toml for git repo https://github.com/theodoreleebrant/bree written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/theodoreleebrant/bree on toolchain b98202ad067d72e45cec8be3d5c15d86ef0fd086 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/theodoreleebrant/bree 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" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ghost-cell v0.2.3 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 772fa7252d66a3f50dcaa19127284a4c4be6d3433713de8b21ed545b3609f5b5 [INFO] running `Command { std: "docker" "start" "-a" "772fa7252d66a3f50dcaa19127284a4c4be6d3433713de8b21ed545b3609f5b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "772fa7252d66a3f50dcaa19127284a4c4be6d3433713de8b21ed545b3609f5b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "772fa7252d66a3f50dcaa19127284a4c4be6d3433713de8b21ed545b3609f5b5", kill_on_drop: false }` [INFO] [stdout] 772fa7252d66a3f50dcaa19127284a4c4be6d3433713de8b21ed545b3609f5b5 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a98018a2f86aeb1385ccf99c28facf7f00d2f679c72a5f0a4e67770ab3440776 [INFO] running `Command { std: "docker" "start" "-a" "a98018a2f86aeb1385ccf99c28facf7f00d2f679c72a5f0a4e67770ab3440776", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Checking ghost-cell v0.2.3 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking bree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `env` and `time::Instant` [INFO] [stdout] --> src/main.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{time::Instant, env}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rc`, `RefCell`, and `Ref` [INFO] [stdout] --> src/tree.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | cell::{Ref, RefCell}, [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] 3 | rc::{Rc} [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env` and `time::Instant` [INFO] [stdout] --> src/main.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{time::Instant, env}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rc`, `RefCell`, and `Ref` [INFO] [stdout] --> src/tree.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | cell::{Ref, RefCell}, [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] 3 | rc::{Rc} [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | GhostToken::new(|mut token| { [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: field `parent` is never read [INFO] [stdout] --> src/tree.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Hook<'id, 'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 10 | children: [Option>>>; 2], [INFO] [stdout] 11 | parent: Option>>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hook` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `connect`, `parent`, and `collect_vec` are never used [INFO] [stdout] --> src/tree.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'id, 'a> Hook<'id, 'a> { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | fn connect(x: &Arc>, i: usize, y: Option>>>, token: &'a mut GhostToken<'id... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn parent(&'a self) -> Option>>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn collect_vec(&self, vec: &mut Vec, token: &'a GhostToken<'id>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinarySearchTree` is never constructed [INFO] [stdout] --> src/tree.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct BinarySearchTree<'id, 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `insert` are never used [INFO] [stdout] --> src/tree.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl<'id, 'a> BinarySearchTree<'id, 'a> { [INFO] [stdout] | --------------------------------------- associated items in this implementation [INFO] [stdout] 131 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn insert(&mut self, key: u32, token: &'a mut GhostToken<'id>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | GhostToken::new(|mut token| { [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: field `parent` is never read [INFO] [stdout] --> src/tree.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Hook<'id, 'a> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 10 | children: [Option>>>; 2], [INFO] [stdout] 11 | parent: Option>>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hook` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `connect`, `parent`, and `collect_vec` are never used [INFO] [stdout] --> src/tree.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'id, 'a> Hook<'id, 'a> { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | fn connect(x: &Arc>, i: usize, y: Option>>>, token: &'a mut GhostToken<'id... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn parent(&'a self) -> Option>>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn collect_vec(&self, vec: &mut Vec, token: &'a GhostToken<'id>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinarySearchTree` is never constructed [INFO] [stdout] --> src/tree.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct BinarySearchTree<'id, 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `insert` are never used [INFO] [stdout] --> src/tree.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl<'id, 'a> BinarySearchTree<'id, 'a> { [INFO] [stdout] | --------------------------------------- associated items in this implementation [INFO] [stdout] 131 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn insert(&mut self, key: u32, token: &'a mut GhostToken<'id>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.58s [INFO] running `Command { std: "docker" "inspect" "a98018a2f86aeb1385ccf99c28facf7f00d2f679c72a5f0a4e67770ab3440776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a98018a2f86aeb1385ccf99c28facf7f00d2f679c72a5f0a4e67770ab3440776", kill_on_drop: false }` [INFO] [stdout] a98018a2f86aeb1385ccf99c28facf7f00d2f679c72a5f0a4e67770ab3440776