[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] checking u1roh/graph_in_rust_with_unsafe against try#8fb84356ab7a0da6d9a7ed076311fd4ee15d59ce for pr-112988-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-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/u1roh/graph_in_rust_with_unsafe on toolchain 8fb84356ab7a0da6d9a7ed076311fd4ee15d59ce [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8fb84356ab7a0da6d9a7ed076311fd4ee15d59ce" "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-5-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8fb84356ab7a0da6d9a7ed076311fd4ee15d59ce" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+8fb84356ab7a0da6d9a7ed076311fd4ee15d59ce" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a451414e704165a10c96da4d8f31dc6817c7be3046f7a0d2cf7fb243db09741f [INFO] running `Command { std: "docker" "start" "-a" "a451414e704165a10c96da4d8f31dc6817c7be3046f7a0d2cf7fb243db09741f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a451414e704165a10c96da4d8f31dc6817c7be3046f7a0d2cf7fb243db09741f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a451414e704165a10c96da4d8f31dc6817c7be3046f7a0d2cf7fb243db09741f", kill_on_drop: false }` [INFO] [stdout] a451414e704165a10c96da4d8f31dc6817c7be3046f7a0d2cf7fb243db09741f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+8fb84356ab7a0da6d9a7ed076311fd4ee15d59ce" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6deaa90e005b07097f761ec005cf49e56825f96376a1f2c58503c7c1918411a2 [INFO] running `Command { std: "docker" "start" "-a" "6deaa90e005b07097f761ec005cf49e56825f96376a1f2c58503c7c1918411a2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Checking mepoo v0.1.0 (https://github.com/u1roh/mepoo.git#dd29e280) [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking graph_in_rust_with_unsafe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `sentinel`, `get_mut_unchecked`, `get_mut`, `tail`, `is_empty`, and `push_front` are never used [INFO] [stdout] --> src/test05_nodes_in_hashmap.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 86 | impl List { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn sentinel(&self) -> *const Node { [INFO] [stdout] | ^^^^^^^^ [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] 120 | pub fn get_mut(&mut self, ptr: *const Node) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn tail(&self) -> &Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn push_front(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mut_unchecked`, `get_mut`, `tail`, `is_empty`, and `push_front` are never used [INFO] [stdout] --> src/test06_nodes_in_mepoo.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 43 | impl List { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub unsafe fn get_mut_unchecked(&mut self, ptr: Ptr>) -> Option<&mut Node> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn get_mut(&mut self, ptr: Ptr>) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn tail(&self) -> Ref> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn push_front(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [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 `Graph` is never constructed [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 `Node` is never constructed [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 `Graph` is never constructed [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 `NodeRefMut` is never constructed [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: methods `value`, `value_mut`, and `other` are never used [INFO] [stdout] --> src/test07_nodes_in_arena.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 67 | impl<'a, T> NodeRefMut<'a, T> { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] 68 | pub fn value(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn value_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn other(&mut self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `construct_graph` is never used [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: method `other` is never used [INFO] [stdout] --> src/test07_nodes_in_arena.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 94 | impl Node { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 95 | pub fn other(&self) -> &Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `head` and `head_mut` are never used [INFO] [stdout] --> src/test07_nodes_in_arena.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 100 | impl Graph { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 101 | pub fn head(&self) -> &Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn head_mut(&mut self) -> NodeRefMut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> src/test07_nodes_in_arena.rs:232:16 [INFO] [stdout] | [INFO] [stdout] 215 | impl Pool { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn get_mut(&mut self, p: Ptr) -> &mut T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sentinel`, `tail`, `is_empty`, and `push_front` are never used [INFO] [stdout] --> src/test07_nodes_in_arena.rs:295:16 [INFO] [stdout] | [INFO] [stdout] 281 | impl List { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 295 | pub fn sentinel(&self) -> Ptr> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn tail(&self) -> Ref> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 304 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | pub fn push_front(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/test03_two_nodes_graph.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 6 | struct Node<'a, T> { [INFO] [stdout] | ---- field in this struct [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: method `value` is never used [INFO] [stdout] --> src/test03_two_nodes_graph.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 101 | impl<'a, T> NodeRefMut<'a, T> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] 102 | pub fn value(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/test07_nodes_in_arena.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 5 | struct Node<'a, T> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 6 | pub value: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Graph` is never constructed [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 `nodes` is never read [INFO] [stdout] --> src/test07_nodes_in_arena.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Graph { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 62 | nodes: Arena>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `value` and `other` are never used [INFO] [stdout] --> src/test07_nodes_in_arena.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 67 | impl<'a, T> NodeRefMut<'a, T> { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] 68 | pub fn value(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn other(&mut self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mut` is never used [INFO] [stdout] --> src/test07_nodes_in_arena.rs:232:16 [INFO] [stdout] | [INFO] [stdout] 215 | impl Pool { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn get_mut(&mut self, p: Ptr) -> &mut T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.90s [INFO] running `Command { std: "docker" "inspect" "6deaa90e005b07097f761ec005cf49e56825f96376a1f2c58503c7c1918411a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6deaa90e005b07097f761ec005cf49e56825f96376a1f2c58503c7c1918411a2", kill_on_drop: false }` [INFO] [stdout] 6deaa90e005b07097f761ec005cf49e56825f96376a1f2c58503c7c1918411a2