[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 master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredradist%2FRustGC" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/redradist/RustGC on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.12 [INFO] [stderr] Downloaded quote v1.0.4 [INFO] [stderr] Downloaded syn v1.0.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50b9032e0ee2cb6641008d9efa3247e1379533afc610d879a400e459191c2296 [INFO] running `Command { std: "docker" "start" "-a" "50b9032e0ee2cb6641008d9efa3247e1379533afc610d879a400e459191c2296", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50b9032e0ee2cb6641008d9efa3247e1379533afc610d879a400e459191c2296", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50b9032e0ee2cb6641008d9efa3247e1379533afc610d879a400e459191c2296", kill_on_drop: false }` [INFO] [stdout] 50b9032e0ee2cb6641008d9efa3247e1379533afc610d879a400e459191c2296 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2797d426704aaf34cd8a095c9d50a93868b28cee9128c84ca3226db435303c81 [INFO] running `Command { std: "docker" "start" "-a" "2797d426704aaf34cd8a095c9d50a93868b28cee9128c84ca3226db435303c81", 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`, and `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: `default_trace::*` [INFO] [stdout] --> ferris_gc/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use default_trace::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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: unnecessary `unsafe` block [INFO] [stdout] --> ferris_gc/src/gc.rs:366:43 [INFO] [stdout] | [INFO] [stdout] 366 | LOCAL_GC_STRATEGY.with(|strategy| unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [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: method `collect_all` is never used [INFO] [stdout] --> ferris_gc/src/gc.rs:591:15 [INFO] [stdout] | [INFO] [stdout] 445 | impl LocalGarbageCollector { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 591 | 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: method `collect_all` is never used [INFO] [stdout] --> ferris_gc/src/gc/sync.rs:558:15 [INFO] [stdout] | [INFO] [stdout] 411 | impl GlobalGarbageCollector { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 558 | 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: closures are lazy and do nothing unless called [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = bthread.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 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` and `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` and `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: `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: `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` and `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`, and `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: `default_trace::*` [INFO] [stdout] --> ferris_gc/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use default_trace::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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: consider using `_one` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [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: unnecessary `unsafe` block [INFO] [stdout] --> ferris_gc/src/gc.rs:366:43 [INFO] [stdout] | [INFO] [stdout] 366 | LOCAL_GC_STRATEGY.with(|strategy| unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [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: method `collect_all` is never used [INFO] [stdout] --> ferris_gc/src/gc.rs:591:15 [INFO] [stdout] | [INFO] [stdout] 445 | impl LocalGarbageCollector { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 591 | 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: method `collect_all` is never used [INFO] [stdout] --> ferris_gc/src/gc/sync.rs:558:15 [INFO] [stdout] | [INFO] [stdout] 411 | impl GlobalGarbageCollector { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 558 | 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: closures are lazy and do nothing unless called [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = bthread.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.67s [INFO] running `Command { std: "docker" "inspect" "2797d426704aaf34cd8a095c9d50a93868b28cee9128c84ca3226db435303c81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2797d426704aaf34cd8a095c9d50a93868b28cee9128c84ca3226db435303c81", kill_on_drop: false }` [INFO] [stdout] 2797d426704aaf34cd8a095c9d50a93868b28cee9128c84ca3226db435303c81