[INFO] fetching crate pulse 0.5.3... [INFO] checking pulse-0.5.3 against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] extracting crate pulse 0.5.3 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate pulse 0.5.3 on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pulse 0.5.3 [INFO] finished tweaking crates.io crate pulse 0.5.3 [INFO] tweaked toml for crates.io crate pulse 0.5.3 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atom v0.3.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39a2eb55c6a0e44f11bd4b47592c593f84a9a212d1c7ca380fd6aa8c674c2183 [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" "39a2eb55c6a0e44f11bd4b47592c593f84a9a212d1c7ca380fd6aa8c674c2183", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39a2eb55c6a0e44f11bd4b47592c593f84a9a212d1c7ca380fd6aa8c674c2183", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39a2eb55c6a0e44f11bd4b47592c593f84a9a212d1c7ca380fd6aa8c674c2183", kill_on_drop: false }` [INFO] [stdout] 39a2eb55c6a0e44f11bd4b47592c593f84a9a212d1c7ca380fd6aa8c674c2183 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32799be6ce8e6b7ff8fa516649dc9caaba6ffbbcfaad179620f2ac4f9c89cc6f [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" "32799be6ce8e6b7ff8fa516649dc9caaba6ffbbcfaad179620f2ac4f9c89cc6f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking pulse v0.5.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:543:1 [INFO] [stdout] | [INFO] [stdout] 543 | /// The TLS scheduler [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | Callback(Box), [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn FnBox` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:544:48 [INFO] [stdout] | [INFO] [stdout] 544 | thread_local!(static SCHED: RefCell>> = RefCell::new(Some(Box::new(ThreadScheduler)))); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Scheduler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:548:35 [INFO] [stdout] | [INFO] [stdout] 548 | fn take_scheduler() -> Option> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Scheduler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mem` is imported redundantly [INFO] [stdout] --> src/lib.rs:549:9 [INFO] [stdout] | [INFO] [stdout] 20 | use std::mem; [INFO] [stdout] | -------- the item `mem` is already imported here [INFO] [stdout] ... [INFO] [stdout] 549 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:561:34 [INFO] [stdout] | [INFO] [stdout] 561 | pub fn swap_scheduler(sched: Box) -> Option> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Scheduler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:561:60 [INFO] [stdout] | [INFO] [stdout] 561 | pub fn swap_scheduler(sched: Box) -> Option> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Scheduler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mem` is imported redundantly [INFO] [stdout] --> src/lib.rs:562:9 [INFO] [stdout] | [INFO] [stdout] 20 | use std::mem; [INFO] [stdout] | -------- the item `mem` is already imported here [INFO] [stdout] ... [INFO] [stdout] 562 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:569:43 [INFO] [stdout] | [INFO] [stdout] 569 | pub fn with_scheduler(f: F, sched: Box) -> Option> [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Scheduler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:569:69 [INFO] [stdout] | [INFO] [stdout] 569 | pub fn with_scheduler(f: F, sched: Box) -> Option> [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Scheduler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::park_timeout_ms`: replaced by `std::thread::park_timeout` [INFO] [stdout] --> src/lib.rs:530:25 [INFO] [stdout] | [INFO] [stdout] 530 | thread::park_timeout_ms((end - now) as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:543:1 [INFO] [stdout] | [INFO] [stdout] 543 | /// The TLS scheduler [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | Callback(Box), [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn FnBox` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:544:48 [INFO] [stdout] | [INFO] [stdout] 544 | thread_local!(static SCHED: RefCell>> = RefCell::new(Some(Box::new(ThreadScheduler)))); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Scheduler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:548:35 [INFO] [stdout] | [INFO] [stdout] 548 | fn take_scheduler() -> Option> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Scheduler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mem` is imported redundantly [INFO] [stdout] --> src/lib.rs:549:9 [INFO] [stdout] | [INFO] [stdout] 20 | use std::mem; [INFO] [stdout] | -------- the item `mem` is already imported here [INFO] [stdout] ... [INFO] [stdout] 549 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:561:34 [INFO] [stdout] | [INFO] [stdout] 561 | pub fn swap_scheduler(sched: Box) -> Option> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Scheduler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:561:60 [INFO] [stdout] | [INFO] [stdout] 561 | pub fn swap_scheduler(sched: Box) -> Option> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Scheduler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mem` is imported redundantly [INFO] [stdout] --> src/lib.rs:562:9 [INFO] [stdout] | [INFO] [stdout] 20 | use std::mem; [INFO] [stdout] | -------- the item `mem` is already imported here [INFO] [stdout] ... [INFO] [stdout] 562 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:569:43 [INFO] [stdout] | [INFO] [stdout] 569 | pub fn with_scheduler(f: F, sched: Box) -> Option> [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Scheduler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:569:69 [INFO] [stdout] | [INFO] [stdout] 569 | pub fn with_scheduler(f: F, sched: Box) -> Option> [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Scheduler` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::park_timeout_ms`: replaced by `std::thread::park_timeout` [INFO] [stdout] --> src/lib.rs:530:25 [INFO] [stdout] | [INFO] [stdout] 530 | thread::park_timeout_ms((end - now) as u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/select.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | thread::sleep_ms(10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/select.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | thread::sleep_ms(10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/select.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | thread::sleep_ms(10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/select.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | thread::sleep_ms(10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/select.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | thread::sleep_ms(10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/select.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | thread::sleep_ms(10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/select.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | thread::sleep_ms(100); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/barrier.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | thread::sleep_ms(10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/simple.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | p1.wait().unwrap();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/simple.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | thread::sleep_ms(10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/simple.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | thread::sleep_ms(10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/simple.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | thread::sleep_ms(10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/simple.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | thread::sleep_ms(10); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.87s [INFO] running `Command { std: "docker" "inspect" "32799be6ce8e6b7ff8fa516649dc9caaba6ffbbcfaad179620f2ac4f9c89cc6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32799be6ce8e6b7ff8fa516649dc9caaba6ffbbcfaad179620f2ac4f9c89cc6f", kill_on_drop: false }` [INFO] [stdout] 32799be6ce8e6b7ff8fa516649dc9caaba6ffbbcfaad179620f2ac4f9c89cc6f