[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fu1roh%2Fgraph_in_rust_with_unsafe" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/u1roh/graph_in_rust_with_unsafe on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-14/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/u1roh/mepoo.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typed-arena v2.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4ce5bd323d72f412e96acff0326ed774df1139d53f64a055177547687608138 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b4ce5bd323d72f412e96acff0326ed774df1139d53f64a055177547687608138", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4ce5bd323d72f412e96acff0326ed774df1139d53f64a055177547687608138", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4ce5bd323d72f412e96acff0326ed774df1139d53f64a055177547687608138", kill_on_drop: false }` [INFO] [stdout] b4ce5bd323d72f412e96acff0326ed774df1139d53f64a055177547687608138 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b93319dd7255c74150ae58bf3f603c230da5dfd2e0af5ee485a0644c71ba8eb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5b93319dd7255c74150ae58bf3f603c230da5dfd2e0af5ee485a0644c71ba8eb", 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 lazy_static v1.4.0 [INFO] [stderr] Checking mepoo v0.1.0 (https://github.com/u1roh/mepoo.git#dd29e280) [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: unnecessary `unsafe` block [INFO] [stdout] --> src/test07_nodes_in_arena.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 322 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` 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] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/test07_nodes_in_arena.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 322 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `other` [INFO] [stdout] --> src/test03_two_nodes_graph.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | other: Option<&'a Self>, [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: 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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.08s [INFO] running `Command { std: "docker" "inspect" "5b93319dd7255c74150ae58bf3f603c230da5dfd2e0af5ee485a0644c71ba8eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b93319dd7255c74150ae58bf3f603c230da5dfd2e0af5ee485a0644c71ba8eb", kill_on_drop: false }` [INFO] [stdout] 5b93319dd7255c74150ae58bf3f603c230da5dfd2e0af5ee485a0644c71ba8eb