[INFO] cloning repository https://github.com/redradist/RustGC [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/redradist/RustGC" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredradist%2FRustGC", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredradist%2FRustGC'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b4d0b9d212a6d5de1e2e30e16d04f5bcdd6bbfa [INFO] checking redradist/RustGC against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredradist%2FRustGC" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/redradist/RustGC on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/redradist/RustGC [INFO] finished tweaking git repo https://github.com/redradist/RustGC [INFO] tweaked toml for git repo https://github.com/redradist/RustGC written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/redradist/RustGC already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd01c2cd55acff44da84aede6036ffe7101028a9501e8902ed6491fe3366f98d [INFO] running `Command { std: "docker" "start" "-a" "fd01c2cd55acff44da84aede6036ffe7101028a9501e8902ed6491fe3366f98d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd01c2cd55acff44da84aede6036ffe7101028a9501e8902ed6491fe3366f98d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd01c2cd55acff44da84aede6036ffe7101028a9501e8902ed6491fe3366f98d", kill_on_drop: false }` [INFO] [stdout] fd01c2cd55acff44da84aede6036ffe7101028a9501e8902ed6491fe3366f98d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f53e7757a278c7eb3990a174091249e83e516405f24bd857ae19203c096e1a16 [INFO] running `Command { std: "docker" "start" "-a" "f53e7757a278c7eb3990a174091249e83e516405f24bd857ae19203c096e1a16", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Checking unicode-xid v0.2.0 [INFO] [stderr] Checking ferris-gc v0.1.5 (/opt/rustwide/workdir/ferris_gc) [INFO] [stdout] warning: unused imports: `BTreeMap`, `BTreeSet`, `BinaryHeap`, `HashSet`, `LinkedList`, `VecDeque` [INFO] [stdout] --> ferris_gc/src/gc.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{BinaryHeap, BTreeSet, HashMap, BTreeMap, HashSet, LinkedList, VecDeque}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> ferris_gc/src/gc.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hasher` [INFO] [stdout] --> ferris_gc/src/gc/sync.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::hash::Hasher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> ferris_gc/src/default_trace.rs:135:26 [INFO] [stdout] | [INFO] [stdout] 135 | for (key, child) in self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] ... [INFO] [stdout] 170 | / collection_types!( [INFO] [stdout] 171 | | HashMap, BTreeMap [INFO] [stdout] 172 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `collection_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> ferris_gc/src/default_trace.rs:140:26 [INFO] [stdout] | [INFO] [stdout] 140 | for (key, child) in self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] ... [INFO] [stdout] 170 | / collection_types!( [INFO] [stdout] 171 | | HashMap, BTreeMap [INFO] [stdout] 172 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `collection_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> ferris_gc/src/default_trace.rs:145:26 [INFO] [stdout] | [INFO] [stdout] 145 | for (key, child) in self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] ... [INFO] [stdout] 170 | / collection_types!( [INFO] [stdout] 171 | | HashMap, BTreeMap [INFO] [stdout] 172 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `collection_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> ferris_gc/src/default_trace.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | for (key, child) in self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] ... [INFO] [stdout] 170 | / collection_types!( [INFO] [stdout] 171 | | HashMap, BTreeMap [INFO] [stdout] 172 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `collection_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> ferris_gc/src/default_trace.rs:135:26 [INFO] [stdout] | [INFO] [stdout] 135 | for (key, child) in self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] ... [INFO] [stdout] 170 | / collection_types!( [INFO] [stdout] 171 | | HashMap, BTreeMap [INFO] [stdout] 172 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `collection_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> ferris_gc/src/gc.rs:368:32 [INFO] [stdout] | [INFO] [stdout] 366 | LOCAL_GC_STRATEGY.with(|strategy| unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] 367 | if !strategy.borrow().is_active() { [INFO] [stdout] 368 | let strategy = unsafe { &mut *strategy.as_ptr() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> ferris_gc/src/gc/sync.rs:508:36 [INFO] [stdout] | [INFO] [stdout] 508 | let (tracer_thin_ptr, _) = unsafe { transmute::<_, (*const (), *const ())>(tracer) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `collect_all` [INFO] [stdout] --> ferris_gc/src/gc/sync.rs:558:15 [INFO] [stdout] | [INFO] [stdout] 558 | unsafe fn collect_all(&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: `collect_all` [INFO] [stdout] --> ferris_gc/src/gc.rs:591:15 [INFO] [stdout] | [INFO] [stdout] 591 | unsafe fn collect_all(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused boxed `FnMut` trait object that must be used [INFO] [stdout] --> ferris_gc/src/gc.rs:655:9 [INFO] [stdout] | [INFO] [stdout] 655 | self.start_func.replace(Box::new(start_fn)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused boxed `FnMut` trait object that must be used [INFO] [stdout] --> ferris_gc/src/gc.rs:656:9 [INFO] [stdout] | [INFO] [stdout] 656 | self.stop_func.replace(Box::new(stop_fn)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> ferris_gc/src/basic_gc_strategy.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | bthread.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking quote v1.0.4 [INFO] [stderr] Checking ferris-gc-proc-macro v0.1.2 (/opt/rustwide/workdir/ferris_gc_proc_macro) [INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow` [INFO] [stdout] --> ferris_gc_proc_macro/src/lib.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Type` [INFO] [stdout] --> ferris_gc_proc_macro/src/lib.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::{ReturnType, Type, Data, Fields}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow` [INFO] [stdout] --> ferris_gc_proc_macro/src/lib.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Type` [INFO] [stdout] --> ferris_gc_proc_macro/src/lib.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::{ReturnType, Type, Data, Fields}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_enum` [INFO] [stdout] --> ferris_gc_proc_macro/src/lib.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | Data::Enum(data_enum) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_enum` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_union` [INFO] [stdout] --> ferris_gc_proc_macro/src/lib.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | Data::Union(data_union) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_union` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attr_args` [INFO] [stdout] --> ferris_gc_proc_macro/src/lib.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let attr_args = syn::parse_macro_input!(attrs as syn::AttributeArgs); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attr_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> ferris_gc_proc_macro/src/lib.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let sig = &input.sig; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arrow` [INFO] [stdout] --> ferris_gc_proc_macro/src/lib.rs:137:26 [INFO] [stdout] | [INFO] [stdout] 137 | ReturnType::Type(arrow, box_type) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arrow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_enum` [INFO] [stdout] --> ferris_gc_proc_macro/src/lib.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | Data::Enum(data_enum) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_enum` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_union` [INFO] [stdout] --> ferris_gc_proc_macro/src/lib.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | Data::Union(data_union) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_union` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attr_args` [INFO] [stdout] --> ferris_gc_proc_macro/src/lib.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let attr_args = syn::parse_macro_input!(attrs as syn::AttributeArgs); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attr_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> ferris_gc_proc_macro/src/lib.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let sig = &input.sig; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arrow` [INFO] [stdout] --> ferris_gc_proc_macro/src/lib.rs:137:26 [INFO] [stdout] | [INFO] [stdout] 137 | ReturnType::Type(arrow, box_type) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arrow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow` [INFO] [stdout] --> ferris_gc_proc_macro/src/lib.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Type` [INFO] [stdout] --> ferris_gc_proc_macro/src/lib.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use syn::{ReturnType, Type, Data, Fields}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_enum` [INFO] [stdout] --> ferris_gc_proc_macro/src/lib.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | Data::Enum(data_enum) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_enum` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_union` [INFO] [stdout] --> ferris_gc_proc_macro/src/lib.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | Data::Union(data_union) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_union` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attr_args` [INFO] [stdout] --> ferris_gc_proc_macro/src/lib.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let attr_args = syn::parse_macro_input!(attrs as syn::AttributeArgs); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attr_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sig` [INFO] [stdout] --> ferris_gc_proc_macro/src/lib.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let sig = &input.sig; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arrow` [INFO] [stdout] --> ferris_gc_proc_macro/src/lib.rs:137:26 [INFO] [stdout] | [INFO] [stdout] 137 | ReturnType::Type(arrow, box_type) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arrow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `BTreeSet`, `BinaryHeap`, `HashSet`, `LinkedList`, `VecDeque` [INFO] [stdout] --> ferris_gc/src/gc.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{BinaryHeap, BTreeSet, HashMap, BTreeMap, HashSet, LinkedList, VecDeque}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> ferris_gc/src/gc.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hasher` [INFO] [stdout] --> ferris_gc/src/gc/sync.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::hash::Hasher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `one` is assigned to, but never used [INFO] [stdout] --> ferris_gc/src/gc/sync.rs:696:17 [INFO] [stdout] | [INFO] [stdout] 696 | let mut one = Gc::new(1); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_one` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `one` is never read [INFO] [stdout] --> ferris_gc/src/gc/sync.rs:697:9 [INFO] [stdout] | [INFO] [stdout] 697 | one = Gc::new(2); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `one` is assigned to, but never used [INFO] [stdout] --> ferris_gc/src/gc/sync.rs:704:17 [INFO] [stdout] | [INFO] [stdout] 704 | let mut one = Gc::new(1); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_one` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `one` is never read [INFO] [stdout] --> ferris_gc/src/gc/sync.rs:705:9 [INFO] [stdout] | [INFO] [stdout] 705 | one = Gc::new(2); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `one` is assigned to, but never used [INFO] [stdout] --> ferris_gc/src/gc/sync.rs:713:21 [INFO] [stdout] | [INFO] [stdout] 713 | let mut one = Gc::new(1); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_one` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `one` is never read [INFO] [stdout] --> ferris_gc/src/gc/sync.rs:714:13 [INFO] [stdout] | [INFO] [stdout] 714 | one = Gc::new(2); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `one` is assigned to, but never used [INFO] [stdout] --> ferris_gc/src/gc.rs:730:17 [INFO] [stdout] | [INFO] [stdout] 730 | let mut one = Gc::new(1); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_one` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `one` is never read [INFO] [stdout] --> ferris_gc/src/gc.rs:731:9 [INFO] [stdout] | [INFO] [stdout] 731 | one = Gc::new(2); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `one` is assigned to, but never used [INFO] [stdout] --> ferris_gc/src/gc.rs:739:17 [INFO] [stdout] | [INFO] [stdout] 739 | let mut one = Gc::new(1); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_one` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `one` is never read [INFO] [stdout] --> ferris_gc/src/gc.rs:740:9 [INFO] [stdout] | [INFO] [stdout] 740 | one = Gc::new(2); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `one` is assigned to, but never used [INFO] [stdout] --> ferris_gc/src/gc.rs:750:21 [INFO] [stdout] | [INFO] [stdout] 750 | let mut one = Gc::new(1); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_one` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `one` is never read [INFO] [stdout] --> ferris_gc/src/gc.rs:751:13 [INFO] [stdout] | [INFO] [stdout] 751 | one = Gc::new(2); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> ferris_gc/src/default_trace.rs:135:26 [INFO] [stdout] | [INFO] [stdout] 135 | for (key, child) in self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] ... [INFO] [stdout] 170 | / collection_types!( [INFO] [stdout] 171 | | HashMap, BTreeMap [INFO] [stdout] 172 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `collection_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> ferris_gc/src/default_trace.rs:140:26 [INFO] [stdout] | [INFO] [stdout] 140 | for (key, child) in self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] ... [INFO] [stdout] 170 | / collection_types!( [INFO] [stdout] 171 | | HashMap, BTreeMap [INFO] [stdout] 172 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `collection_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> ferris_gc/src/default_trace.rs:145:26 [INFO] [stdout] | [INFO] [stdout] 145 | for (key, child) in self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] ... [INFO] [stdout] 170 | / collection_types!( [INFO] [stdout] 171 | | HashMap, BTreeMap [INFO] [stdout] 172 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `collection_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> ferris_gc/src/default_trace.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | for (key, child) in self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] ... [INFO] [stdout] 170 | / collection_types!( [INFO] [stdout] 171 | | HashMap, BTreeMap [INFO] [stdout] 172 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `collection_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> ferris_gc/src/gc.rs:368:32 [INFO] [stdout] | [INFO] [stdout] 366 | LOCAL_GC_STRATEGY.with(|strategy| unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] 367 | if !strategy.borrow().is_active() { [INFO] [stdout] 368 | let strategy = unsafe { &mut *strategy.as_ptr() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> ferris_gc/src/gc/sync.rs:508:36 [INFO] [stdout] | [INFO] [stdout] 508 | let (tracer_thin_ptr, _) = unsafe { transmute::<_, (*const (), *const ())>(tracer) }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `collect_all` [INFO] [stdout] --> ferris_gc/src/gc/sync.rs:558:15 [INFO] [stdout] | [INFO] [stdout] 558 | unsafe fn collect_all(&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: `collect_all` [INFO] [stdout] --> ferris_gc/src/gc.rs:591:15 [INFO] [stdout] | [INFO] [stdout] 591 | unsafe fn collect_all(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused boxed `FnMut` trait object that must be used [INFO] [stdout] --> ferris_gc/src/gc.rs:655:9 [INFO] [stdout] | [INFO] [stdout] 655 | self.start_func.replace(Box::new(start_fn)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused boxed `FnMut` trait object that must be used [INFO] [stdout] --> ferris_gc/src/gc.rs:656:9 [INFO] [stdout] | [INFO] [stdout] 656 | self.stop_func.replace(Box::new(stop_fn)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: closures are lazy and do nothing unless called [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> ferris_gc/src/basic_gc_strategy.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | bthread.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.08s [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f53e7757a278c7eb3990a174091249e83e516405f24bd857ae19203c096e1a16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f53e7757a278c7eb3990a174091249e83e516405f24bd857ae19203c096e1a16", kill_on_drop: false }` [INFO] [stdout] f53e7757a278c7eb3990a174091249e83e516405f24bd857ae19203c096e1a16