[INFO] cloning repository https://github.com/playXE/garbage-collector [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/playXE/garbage-collector" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FplayXE%2Fgarbage-collector", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FplayXE%2Fgarbage-collector'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2972f68c8ed3889bd1b6979aaa37ab395afdb36e [INFO] checking playXE/garbage-collector against try#4907eac94165faff6c5e5e015670b1c584275f7b for pr-154149 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FplayXE%2Fgarbage-collector" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/playXE/garbage-collector [INFO] finished tweaking git repo https://github.com/playXE/garbage-collector [INFO] tweaked toml for git repo https://github.com/playXE/garbage-collector written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/playXE/garbage-collector on toolchain 4907eac94165faff6c5e5e015670b1c584275f7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4907eac94165faff6c5e5e015670b1c584275f7b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/playXE/garbage-collector 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" "+4907eac94165faff6c5e5e015670b1c584275f7b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4907eac94165faff6c5e5e015670b1c584275f7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3a283b1413f3b4645b797b5f64b65a7dfacdc1aea686ec703dcc6b4868ac892 [INFO] running `Command { std: "docker" "start" "-a" "b3a283b1413f3b4645b797b5f64b65a7dfacdc1aea686ec703dcc6b4868ac892", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3a283b1413f3b4645b797b5f64b65a7dfacdc1aea686ec703dcc6b4868ac892", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3a283b1413f3b4645b797b5f64b65a7dfacdc1aea686ec703dcc6b4868ac892", kill_on_drop: false }` [INFO] [stdout] b3a283b1413f3b4645b797b5f64b65a7dfacdc1aea686ec703dcc6b4868ac892 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4907eac94165faff6c5e5e015670b1c584275f7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 980309a407c251a4fa4d60135e685f4156c0eea514efb0a05f05b6a2100d0c70 [INFO] running `Command { std: "docker" "start" "-a" "980309a407c251a4fa4d60135e685f4156c0eea514efb0a05f05b6a2100d0c70", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking either v1.6.0 [INFO] [stderr] Checking crossbeam-channel v0.4.3 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking half v1.6.0 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling garbage-collector v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking simple_logger v1.6.0 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking oorandom v11.1.2 [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/accounting/card_table.rs:239:14 [INFO] [stdout] | [INFO] [stdout] 239 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/accounting/stack.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous import visibility: pub(in crate::collectors::mark_sweep) or pub(in crate::accounting::stack) [INFO] [stdout] --> src/collectors/mark_sweep.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::accounting::stack::ObjectStack; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `ObjectStack` could refer to the struct imported here [INFO] [stdout] --> src/accounting/stack.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | pub use __stack::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `ObjectStack` to disambiguate [INFO] [stdout] note: `ObjectStack` could also refer to the struct imported here [INFO] [stdout] --> src/accounting/stack.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `ObjectStack` to disambiguate [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #149145 [INFO] [stdout] = note: `#[deny(ambiguous_import_visibilities)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous import visibility: pub(in crate::collectors::sticky_mark_sweep) or pub(in crate::accounting::stack) [INFO] [stdout] --> src/collectors/sticky_mark_sweep.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::accounting::stack::ObjectStack; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `ObjectStack` could refer to the struct imported here [INFO] [stdout] --> src/accounting/stack.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | pub use __stack::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `ObjectStack` to disambiguate [INFO] [stdout] note: `ObjectStack` could also refer to the struct imported here [INFO] [stdout] --> src/accounting/stack.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `ObjectStack` to disambiguate [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #149145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MAP_SHARED` and `PROT_EXEC` [INFO] [stdout] --> src/mem_map.rs:22:56 [INFO] [stdout] | [INFO] [stdout] 22 | MAP_ANONYMOUS, MAP_FAILED, MAP_FIXED, MAP_PRIVATE, MAP_SHARED, PROT_EXEC, PROT_NONE, PROT_READ, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/accounting/stack.rs:122:28 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn push(&self, mut val: Ref>) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/accounting/stack.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | let mut head = self.head(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/accounting/stack.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | let mut prev = *head; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/accounting/stack.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | let mut head = self.head(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/locks.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 131 | pub fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/spaces/dlmalloc_space.rs:103:37 [INFO] [stdout] | [INFO] [stdout] 103 | dlmalloc_madvise_cb as usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 103 | dlmalloc_madvise_cb as *const () as usize, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `garbage-collector` (lib) due to 2 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "980309a407c251a4fa4d60135e685f4156c0eea514efb0a05f05b6a2100d0c70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "980309a407c251a4fa4d60135e685f4156c0eea514efb0a05f05b6a2100d0c70", kill_on_drop: false }` [INFO] [stdout] 980309a407c251a4fa4d60135e685f4156c0eea514efb0a05f05b6a2100d0c70