[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] building theodoreleebrant/bree against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheodoreleebrant%2Fbree" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/theodoreleebrant/bree on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc1/source/Cargo.toml [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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab245abb2b144adb63d2b4086c375d6bea041047782112c36b4ae8a8255ef550 [INFO] running `Command { std: "docker" "start" "-a" "ab245abb2b144adb63d2b4086c375d6bea041047782112c36b4ae8a8255ef550", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab245abb2b144adb63d2b4086c375d6bea041047782112c36b4ae8a8255ef550", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab245abb2b144adb63d2b4086c375d6bea041047782112c36b4ae8a8255ef550", kill_on_drop: false }` [INFO] [stdout] ab245abb2b144adb63d2b4086c375d6bea041047782112c36b4ae8a8255ef550 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 089be8a7e518c617c765c5700ff44d84ceff911dd36ed37a352479e05d794d30 [INFO] running `Command { std: "docker" "start" "-a" "089be8a7e518c617c765c5700ff44d84ceff911dd36ed37a352479e05d794d30", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling ghost-cell v0.2.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling 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)]` 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)]` 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)]` 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.67s [INFO] running `Command { std: "docker" "inspect" "089be8a7e518c617c765c5700ff44d84ceff911dd36ed37a352479e05d794d30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "089be8a7e518c617c765c5700ff44d84ceff911dd36ed37a352479e05d794d30", kill_on_drop: false }` [INFO] [stdout] 089be8a7e518c617c765c5700ff44d84ceff911dd36ed37a352479e05d794d30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9eaf52149ccec80bb26e5991f31db8129911da1749696ac16cbd10d40aa3ad6 [INFO] running `Command { std: "docker" "start" "-a" "f9eaf52149ccec80bb26e5991f31db8129911da1749696ac16cbd10d40aa3ad6", kill_on_drop: false }` [INFO] [stderr] Compiling 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)]` 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)]` 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)]` 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 `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "f9eaf52149ccec80bb26e5991f31db8129911da1749696ac16cbd10d40aa3ad6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9eaf52149ccec80bb26e5991f31db8129911da1749696ac16cbd10d40aa3ad6", kill_on_drop: false }` [INFO] [stdout] f9eaf52149ccec80bb26e5991f31db8129911da1749696ac16cbd10d40aa3ad6