[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredradist%2FRustGC" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/redradist/RustGC 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/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-3/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 156af8ca0639955324ca719624deab79bf7e2f3598bfd5df305e2c8adc24c876 [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" "156af8ca0639955324ca719624deab79bf7e2f3598bfd5df305e2c8adc24c876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "156af8ca0639955324ca719624deab79bf7e2f3598bfd5df305e2c8adc24c876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "156af8ca0639955324ca719624deab79bf7e2f3598bfd5df305e2c8adc24c876", kill_on_drop: false }` [INFO] [stdout] 156af8ca0639955324ca719624deab79bf7e2f3598bfd5df305e2c8adc24c876 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] e066488f50e9513ca9abcdfa738aa55f84a6af03c4006ef5ae8c8cc4523c8100 [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" "e066488f50e9513ca9abcdfa738aa55f84a6af03c4006ef5ae8c8cc4523c8100", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking lazy_static v1.4.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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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:13 [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:13 [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:17 [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:13 [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:13 [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:17 [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 a macro (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 a macro (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 a macro (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 a macro (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: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.11s [INFO] running `Command { std: "docker" "inspect" "e066488f50e9513ca9abcdfa738aa55f84a6af03c4006ef5ae8c8cc4523c8100", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e066488f50e9513ca9abcdfa738aa55f84a6af03c4006ef5ae8c8cc4523c8100", kill_on_drop: false }` [INFO] [stdout] e066488f50e9513ca9abcdfa738aa55f84a6af03c4006ef5ae8c8cc4523c8100