[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 f3df2feb79b2422c028f78855ec6ffe2e212d7cc for pr-163699 [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 f3df2feb79b2422c028f78855ec6ffe2e212d7cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f3df2feb79b2422c028f78855ec6ffe2e212d7cc" "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" "+f3df2feb79b2422c028f78855ec6ffe2e212d7cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] fb2df7858b5347b4709d134f3009f08ab269edef88455d482fbbc1cb85005519 [INFO] running `Command { std: "docker" "start" "fb2df7858b5347b4709d134f3009f08ab269edef88455d482fbbc1cb85005519", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb2df7858b5347b4709d134f3009f08ab269edef88455d482fbbc1cb85005519", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fb2df7858b5347b4709d134f3009f08ab269edef88455d482fbbc1cb85005519" "/opt/rustwide/cargo-home/bin/cargo" "+f3df2feb79b2422c028f78855ec6ffe2e212d7cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb2df7858b5347b4709d134f3009f08ab269edef88455d482fbbc1cb85005519", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fb2df7858b5347b4709d134f3009f08ab269edef88455d482fbbc1cb85005519" "/opt/rustwide/cargo-home/bin/cargo" "+f3df2feb79b2422c028f78855ec6ffe2e212d7cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling num-traits v0.2.12 [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 proc-macro2 v1.0.19 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Checking either v1.6.0 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking crossbeam-channel v0.4.3 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking half v1.6.0 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking oorandom v11.1.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Compiling garbage-collector v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Checking simple_logger v1.6.0 [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] 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: unused import: `utils::*` [INFO] [stdout] --> src/spaces/dlmalloc_space.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use utils::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::*` [INFO] [stdout] --> src/spaces/spaces.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use utils::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::*` [INFO] [stdout] --> src/spaces/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use utils::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::i32`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/utils.rs:260:15 [INFO] [stdout] | [INFO] [stdout] 260 | use core::i32; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type [INFO] [stdout] --> src/utils.rs:357:14 [INFO] [stdout] | [INFO] [stdout] 357 | i32::MIN as i64 <= value && value <= i32::MAX as i64 [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::i32::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/utils.rs:357:51 [INFO] [stdout] | [INFO] [stdout] 357 | i32::MIN as i64 <= value && value <= i32::MAX as i64 [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/utils.rs:447:29 [INFO] [stdout] | [INFO] [stdout] 447 | assert!(val <= u32::max_value() as usize); [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] [stdout] warning: unused variable: `val2` [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let val2 = Root::new(XX(43)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stdout] error: reserved `doc` attribute `Hidden` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tinytemplate-1.1.0/src/error.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | #[doc(Hidden)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tinytemplate` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "fb2df7858b5347b4709d134f3009f08ab269edef88455d482fbbc1cb85005519", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb2df7858b5347b4709d134f3009f08ab269edef88455d482fbbc1cb85005519", kill_on_drop: false }` [INFO] [stdout] fb2df7858b5347b4709d134f3009f08ab269edef88455d482fbbc1cb85005519