[INFO] cloning repository https://github.com/u1roh/graph_in_rust_with_unsafe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/u1roh/graph_in_rust_with_unsafe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fu1roh%2Fgraph_in_rust_with_unsafe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fu1roh%2Fgraph_in_rust_with_unsafe'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 05589b16939a5f01e51d2bdd5167cc70fc0fe4f2 [INFO] testing u1roh/graph_in_rust_with_unsafe against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fu1roh%2Fgraph_in_rust_with_unsafe" "/workspace/builds/worker-48/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-48/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/u1roh/graph_in_rust_with_unsafe on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/u1roh/graph_in_rust_with_unsafe [INFO] finished tweaking git repo https://github.com/u1roh/graph_in_rust_with_unsafe [INFO] tweaked toml for git repo https://github.com/u1roh/graph_in_rust_with_unsafe written to /workspace/builds/worker-48/source/Cargo.toml [INFO] crate git repo https://github.com/u1roh/graph_in_rust_with_unsafe already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c18f86a58b71f3ce063f16506aedd8891ce39524e01e04b778ba9794f0759eea [INFO] running `Command { std: "docker" "start" "-a" "c18f86a58b71f3ce063f16506aedd8891ce39524e01e04b778ba9794f0759eea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c18f86a58b71f3ce063f16506aedd8891ce39524e01e04b778ba9794f0759eea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c18f86a58b71f3ce063f16506aedd8891ce39524e01e04b778ba9794f0759eea", kill_on_drop: false }` [INFO] [stdout] c18f86a58b71f3ce063f16506aedd8891ce39524e01e04b778ba9794f0759eea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7496a65344e7137ec640063c7aa4145394dc6ad3ec4b309626897e94facca704 [INFO] running `Command { std: "docker" "start" "-a" "7496a65344e7137ec640063c7aa4145394dc6ad3ec4b309626897e94facca704", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling mepoo v0.1.0 (https://github.com/u1roh/mepoo.git#dd29e280) [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling graph_in_rust_with_unsafe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/test07_nodes_in_arena.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 315 | unsafe fn insert_unsafe(&mut self, mut next: Ptr>, value: T) { [INFO] [stdout] | -------------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 322 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] = note: `#[allow(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sentinel` [INFO] [stdout] --> src/test05_nodes_in_hashmap.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn sentinel(&self) -> *const Node { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut_unchecked` [INFO] [stdout] --> src/test05_nodes_in_hashmap.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 115 | pub unsafe fn get_mut_unchecked(&mut self, ptr: *const Node) -> Option<&mut Node> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> src/test05_nodes_in_hashmap.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn get_mut(&mut self, ptr: *const Node) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tail` [INFO] [stdout] --> src/test05_nodes_in_hashmap.rs:127:16 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn tail(&self) -> &Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/test05_nodes_in_hashmap.rs:130:16 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_front` [INFO] [stdout] --> src/test05_nodes_in_hashmap.rs:155:16 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn push_front(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut_unchecked` [INFO] [stdout] --> src/test06_nodes_in_mepoo.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | pub unsafe fn get_mut_unchecked(&mut self, ptr: Ptr>) -> Option<&mut Node> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> src/test06_nodes_in_mepoo.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get_mut(&mut self, ptr: Ptr>) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tail` [INFO] [stdout] --> src/test06_nodes_in_mepoo.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn tail(&self) -> Ref> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/test06_nodes_in_mepoo.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_front` [INFO] [stdout] --> src/test06_nodes_in_mepoo.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn push_front(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Node` [INFO] [stdout] --> src/test07_nodes_in_arena.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | struct Node<'a, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Graph` [INFO] [stdout] --> src/test07_nodes_in_arena.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | struct Graph<'a, T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Node` [INFO] [stdout] --> src/test07_nodes_in_arena.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Graph` [INFO] [stdout] --> src/test07_nodes_in_arena.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Graph { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `NodeRefMut` [INFO] [stdout] --> src/test07_nodes_in_arena.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct NodeRefMut<'a, T>(&'a mut Node); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/test07_nodes_in_arena.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn value(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value_mut` [INFO] [stdout] --> src/test07_nodes_in_arena.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn value_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `other` [INFO] [stdout] --> src/test07_nodes_in_arena.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn other(&mut self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `construct_graph` [INFO] [stdout] --> src/test07_nodes_in_arena.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn construct_graph() -> Graph { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `other` [INFO] [stdout] --> src/test07_nodes_in_arena.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn other(&self) -> &Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `head` [INFO] [stdout] --> src/test07_nodes_in_arena.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn head(&self) -> &Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `head_mut` [INFO] [stdout] --> src/test07_nodes_in_arena.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn head_mut(&mut self) -> NodeRefMut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> src/test07_nodes_in_arena.rs:232:16 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn get_mut(&mut self, p: Ptr) -> &mut T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sentinel` [INFO] [stdout] --> src/test07_nodes_in_arena.rs:295:16 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn sentinel(&self) -> Ptr> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tail` [INFO] [stdout] --> src/test07_nodes_in_arena.rs:301:16 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn tail(&self) -> Ref> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/test07_nodes_in_arena.rs:304:16 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_front` [INFO] [stdout] --> src/test07_nodes_in_arena.rs:338:16 [INFO] [stdout] | [INFO] [stdout] 338 | pub fn push_front(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 28s [INFO] running `Command { std: "docker" "inspect" "7496a65344e7137ec640063c7aa4145394dc6ad3ec4b309626897e94facca704", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7496a65344e7137ec640063c7aa4145394dc6ad3ec4b309626897e94facca704", kill_on_drop: false }` [INFO] [stdout] 7496a65344e7137ec640063c7aa4145394dc6ad3ec4b309626897e94facca704 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e102ac5a5b4915d1ffeff4a7b0eea397dac61a3eb24d10743448cdb916b80ebd [INFO] running `Command { std: "docker" "start" "-a" "e102ac5a5b4915d1ffeff4a7b0eea397dac61a3eb24d10743448cdb916b80ebd", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling graph_in_rust_with_unsafe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/test07_nodes_in_arena.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 315 | unsafe fn insert_unsafe(&mut self, mut next: Ptr>, value: T) { [INFO] [stdout] | -------------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 322 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] = note: `#[allow(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> src/test03_two_nodes_graph.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub value: T, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/test03_two_nodes_graph.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn value(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> src/test07_nodes_in_arena.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub value: T, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Graph` [INFO] [stdout] --> src/test07_nodes_in_arena.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | struct Graph<'a, T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `nodes` [INFO] [stdout] --> src/test07_nodes_in_arena.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | nodes: Arena>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/test07_nodes_in_arena.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn value(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `other` [INFO] [stdout] --> src/test07_nodes_in_arena.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn other(&mut self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> src/test07_nodes_in_arena.rs:232:16 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn get_mut(&mut self, p: Ptr) -> &mut T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.55s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/graph_in_rust_with_unsafe-d7cbe88c1999184b) [INFO] running `Command { std: "docker" "inspect" "e102ac5a5b4915d1ffeff4a7b0eea397dac61a3eb24d10743448cdb916b80ebd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e102ac5a5b4915d1ffeff4a7b0eea397dac61a3eb24d10743448cdb916b80ebd", kill_on_drop: false }` [INFO] [stdout] e102ac5a5b4915d1ffeff4a7b0eea397dac61a3eb24d10743448cdb916b80ebd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 134d00430d26d61212e6a499fcf482806a9e883f7599e6f08dc626bd99df81df [INFO] running `Command { std: "docker" "start" "-a" "134d00430d26d61212e6a499fcf482806a9e883f7599e6f08dc626bd99df81df", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/test07_nodes_in_arena.rs:322:13 [INFO] [stderr] | [INFO] [stderr] 315 | unsafe fn insert_unsafe(&mut self, mut next: Ptr>, value: T) { [INFO] [stderr] | -------------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stderr] ... [INFO] [stderr] 322 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stderr] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stderr] = note: `#[allow(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `value` [INFO] [stderr] --> src/test03_two_nodes_graph.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub value: T, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `value` [INFO] [stderr] --> src/test03_two_nodes_graph.rs:102:16 [INFO] [stderr] | [INFO] [stderr] 102 | pub fn value(&self) -> &T { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `value` [INFO] [stderr] --> src/test07_nodes_in_arena.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub value: T, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Graph` [INFO] [stderr] --> src/test07_nodes_in_arena.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 30 | struct Graph<'a, T> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `nodes` [INFO] [stderr] --> src/test07_nodes_in_arena.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 62 | nodes: Arena>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `value` [INFO] [stderr] --> src/test07_nodes_in_arena.rs:68:16 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn value(&self) -> &T { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `other` [INFO] [stderr] --> src/test07_nodes_in_arena.rs:74:16 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn other(&mut self) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_mut` [INFO] [stderr] --> src/test07_nodes_in_arena.rs:232:16 [INFO] [stderr] | [INFO] [stderr] 232 | pub fn get_mut(&mut self, p: Ptr) -> &mut T { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `graph_in_rust_with_unsafe` (bin "graph_in_rust_with_unsafe" test) generated 9 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.32s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/graph_in_rust_with_unsafe-d7cbe88c1999184b) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test test01_box_and_ptr::test01_0 ... ok [INFO] [stdout] test test01_box_and_ptr::test01_1 ... ok [INFO] [stdout] test test01_box_and_ptr::test01_2::test ... ok [INFO] [stdout] test test01_box_and_ptr::test01_3::test ... ok [INFO] [stdout] test test02_single_node_graph::test02_1 ... ok [INFO] [stdout] test test03_two_nodes_graph::not_compilable::test ... ok [INFO] [stdout] test test03_two_nodes_graph::test03_1 ... ok [INFO] [stdout] test test03_two_nodes_graph::with_cell::test1 ... ok [INFO] [stdout] test test03_two_nodes_graph::graph3::test ... ok [INFO] [stdout] test test03_two_nodes_graph::with_cell::test2 ... ok [INFO] [stdout] test test04_nodes_in_vec::test ... ok [INFO] [stdout] test test05_nodes_in_hashmap::test_list ... ok [INFO] [stdout] test test05_nodes_in_hashmap::test_pool ... ok [INFO] [stdout] test test06_nodes_in_mepoo::test_list ... ok [INFO] [stdout] test test07_nodes_in_arena::test_list ... ok [INFO] [stdout] test test07_nodes_in_arena::test_with_pointer ... ok [INFO] [stdout] test test07_nodes_in_arena::without_pointer::test1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "134d00430d26d61212e6a499fcf482806a9e883f7599e6f08dc626bd99df81df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "134d00430d26d61212e6a499fcf482806a9e883f7599e6f08dc626bd99df81df", kill_on_drop: false }` [INFO] [stdout] 134d00430d26d61212e6a499fcf482806a9e883f7599e6f08dc626bd99df81df