[INFO] fetching crate breadthread 0.1.4... [INFO] testing breadthread-0.1.4 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate breadthread 0.1.4 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate breadthread 0.1.4 [INFO] finished tweaking crates.io crate breadthread 0.1.4 [INFO] tweaked toml for crates.io crate breadthread 0.1.4 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate breadthread 0.1.4 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 67 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (available: v0.8.12) [INFO] [stderr] Adding flume v0.10.14 (available: v0.11.1) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.16.0) [INFO] [stderr] Adding loom v0.5.6 (available: v0.7.2) [INFO] [stderr] Adding spin v0.9.8 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e628218335f01893a53d8d2fb82649606241420cdcf8c4d474ca05925c2ed08 [INFO] running `Command { std: "docker" "start" "-a" "7e628218335f01893a53d8d2fb82649606241420cdcf8c4d474ca05925c2ed08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e628218335f01893a53d8d2fb82649606241420cdcf8c4d474ca05925c2ed08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e628218335f01893a53d8d2fb82649606241420cdcf8c4d474ca05925c2ed08", kill_on_drop: false }` [INFO] [stdout] 7e628218335f01893a53d8d2fb82649606241420cdcf8c4d474ca05925c2ed08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25e59adec473b0789a97f7db828ef5a6b412c564344088fcbb4b37c7e4622376 [INFO] running `Command { std: "docker" "start" "-a" "25e59adec473b0789a97f7db828ef5a6b412c564344088fcbb4b37c7e4622376", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling breadthread v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/sync.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(loom))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/sync.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(not(loom))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/sync.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(loom)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/value.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(not(loom))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/value.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(loom)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deleted_values` [INFO] [stdout] --> src/directive.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | deleted_values, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `deleted_values: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `driver` [INFO] [stdout] --> src/directive.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | let closure = Box::new(move |driver: &mut Driver<'lt, Pinned>| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_driver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `known_values` and `known_values_mut` are never used [INFO] [stdout] --> src/driver.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 35 | impl<'lt, S: PinStatus> Driver<'lt, S> { [INFO] [stdout] | -------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub(crate) fn known_values(&self) -> &HashSet { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub(crate) fn known_values_mut(&mut self) -> &mut HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/driver.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct Pinned(*const ()); [INFO] [stdout] | ------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.94s [INFO] running `Command { std: "docker" "inspect" "25e59adec473b0789a97f7db828ef5a6b412c564344088fcbb4b37c7e4622376", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25e59adec473b0789a97f7db828ef5a6b412c564344088fcbb4b37c7e4622376", kill_on_drop: false }` [INFO] [stdout] 25e59adec473b0789a97f7db828ef5a6b412c564344088fcbb4b37c7e4622376 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9a82cbbf2ea4dc59e00109c62b3cae5486feb8e485de795f125982c433eca60 [INFO] running `Command { std: "docker" "start" "-a" "d9a82cbbf2ea4dc59e00109c62b3cae5486feb8e485de795f125982c433eca60", kill_on_drop: false }` [INFO] [stderr] Compiling breadthread v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/sync.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(loom))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/sync.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(not(loom))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/sync.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(loom)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/value.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(not(loom))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/value.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(loom)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deleted_values` [INFO] [stdout] --> src/directive.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | deleted_values, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `deleted_values: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `driver` [INFO] [stdout] --> src/directive.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | let closure = Box::new(move |driver: &mut Driver<'lt, Pinned>| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_driver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `known_values` and `known_values_mut` are never used [INFO] [stdout] --> src/driver.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 35 | impl<'lt, S: PinStatus> Driver<'lt, S> { [INFO] [stdout] | -------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub(crate) fn known_values(&self) -> &HashSet { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub(crate) fn known_values_mut(&mut self) -> &mut HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/driver.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct Pinned(*const ()); [INFO] [stdout] | ------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/sync.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(loom))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/sync.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(not(loom))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/sync.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(loom)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/value.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(not(loom))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/value.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[cfg(loom)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deleted_values` [INFO] [stdout] --> src/directive.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | deleted_values, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `deleted_values: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `driver` [INFO] [stdout] --> src/directive.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | let closure = Box::new(move |driver: &mut Driver<'lt, Pinned>| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_driver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `known_values` and `known_values_mut` are never used [INFO] [stdout] --> src/driver.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 35 | impl<'lt, S: PinStatus> Driver<'lt, S> { [INFO] [stdout] | -------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub(crate) fn known_values(&self) -> &HashSet { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub(crate) fn known_values_mut(&mut self) -> &mut HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/driver.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct Pinned(*const ()); [INFO] [stdout] | ------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "d9a82cbbf2ea4dc59e00109c62b3cae5486feb8e485de795f125982c433eca60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9a82cbbf2ea4dc59e00109c62b3cae5486feb8e485de795f125982c433eca60", kill_on_drop: false }` [INFO] [stdout] d9a82cbbf2ea4dc59e00109c62b3cae5486feb8e485de795f125982c433eca60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e7f5ce69774852356a9967c47e150683b5758c1b526cb5e045e5513872cd8a6e [INFO] running `Command { std: "docker" "start" "-a" "e7f5ce69774852356a9967c47e150683b5758c1b526cb5e045e5513872cd8a6e", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `loom` [INFO] [stderr] --> src/sync.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | #[cfg(not(loom))] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `loom` [INFO] [stderr] --> src/sync.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | #[cfg(not(loom))] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `loom` [INFO] [stderr] --> src/sync.rs:7:7 [INFO] [stderr] | [INFO] [stderr] 7 | #[cfg(loom)] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `loom` [INFO] [stderr] --> src/value.rs:22:11 [INFO] [stderr] | [INFO] [stderr] 22 | #[cfg(not(loom))] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `loom` [INFO] [stderr] --> src/value.rs:24:7 [INFO] [stderr] | [INFO] [stderr] 24 | #[cfg(loom)] [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused variable: `deleted_values` [INFO] [stderr] --> src/directive.rs:54:17 [INFO] [stderr] | [INFO] [stderr] 54 | deleted_values, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: try ignoring the field: `deleted_values: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `driver` [INFO] [stderr] --> src/directive.rs:29:38 [INFO] [stderr] | [INFO] [stderr] 29 | let closure = Box::new(move |driver: &mut Driver<'lt, Pinned>| { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_driver` [INFO] [stderr] [INFO] [stderr] warning: methods `known_values` and `known_values_mut` are never used [INFO] [stderr] --> src/driver.rs:40:19 [INFO] [stderr] | [INFO] [stderr] 35 | impl<'lt, S: PinStatus> Driver<'lt, S> { [INFO] [stderr] | -------------------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 40 | pub(crate) fn known_values(&self) -> &HashSet { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 44 | pub(crate) fn known_values_mut(&mut self) -> &mut HashSet { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/driver.rs:109:19 [INFO] [stderr] | [INFO] [stderr] 109 | pub struct Pinned(*const ()); [INFO] [stderr] | ------ ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: `breadthread` (lib) generated 9 warnings [INFO] [stderr] warning: `breadthread` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/breadthread-21777a4b92897bf1) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests breadthread [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 69) ... FAILED [INFO] [stdout] test src/lib.rs - (line 51) ... FAILED [INFO] [stdout] test src/lib.rs - (line 28) ... ok [INFO] [stdout] test src/lib.rs - (line 37) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 69) stdout ---- [INFO] [stdout] warning: use of deprecated crate `breadthread`: It is probably a bad idea to use this crate [INFO] [stdout] --> src/lib.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#breadthread; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `breadthread::BreadThread`: It is probably a bad idea to use this crate [INFO] [stdout] --> src/lib.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 7 | let bt = BreadThread::<'static, MyTag>::new(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `breadthread::DirectiveOutput`: It is probably a bad idea to use this crate [INFO] [stdout] --> src/lib.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 14 | DirectiveOutput { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `breadthread::BreadThread`: It is probably a bad idea to use this crate [INFO] [stdout] --> src/lib.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 5 | use breadthread::BreadThread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `breadthread::DirectiveOutput`: It is probably a bad idea to use this crate [INFO] [stdout] --> src/lib.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 9 | use breadthread::DirectiveOutput; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `breadthread::BreadThread::<'lt, Tag>::new`: It is probably a bad idea to use this crate [INFO] [stdout] --> src/lib.rs:73:41 [INFO] [stdout] | [INFO] [stdout] 7 | let bt = BreadThread::<'static, MyTag>::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `breadthread::BreadThread::<'lt, Tag>::run`: It is probably a bad idea to use this crate [INFO] [stdout] --> src/lib.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 12 | let value = bt.run((), move |()| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `breadthread::DirectiveOutput::thread_safe_value`: It is probably a bad idea to use this crate [INFO] [stdout] --> src/lib.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 15 | thread_safe_value: (), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `breadthread::DirectiveOutput::thread_unsafe_value`: It is probably a bad idea to use this crate [INFO] [stdout] --> src/lib.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 16 | thread_unsafe_value: ret_ty, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `breadthread::DirectiveOutput::deleted_values`: It is probably a bad idea to use this crate [INFO] [stdout] --> src/lib.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 17 | deleted_values: vec![], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed for `Value<((), _)>` [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 12 | let value = bt.run((), move |()| { [INFO] [stdout] | ^^^^^ --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `<_ as Wrapped>::Unwrapped == i32` [INFO] [stdout] help: consider giving `value` an explicit type, where the type for type parameter `TsOutput` is specified [INFO] [stdout] | [INFO] [stdout] 12 | let value: Value<(_, TsOutput)> = bt.run((), move |()| { [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0284`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 51) stdout ---- [INFO] [stdout] warning: use of deprecated crate `breadthread`: It is probably a bad idea to use this crate [INFO] [stdout] --> src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#breadthread; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `breadthread::BreadThread`: It is probably a bad idea to use this crate [INFO] [stdout] --> src/lib.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 7 | let (bt, driver) = BreadThread::<'static, MyTag>::undriven(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `breadthread::BreadThread`: It is probably a bad idea to use this crate [INFO] [stdout] --> src/lib.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 5 | use breadthread::BreadThread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `breadthread::BreadThread::<'lt, Tag>::undriven`: It is probably a bad idea to use this crate [INFO] [stdout] --> src/lib.rs:55:51 [INFO] [stdout] | [INFO] [stdout] 7 | let (bt, driver) = BreadThread::<'static, MyTag>::undriven(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `drive` found for struct `Driver<'_, Unpinned>` in the current scope [INFO] [stdout] --> src/lib.rs:56:39 [INFO] [stdout] | [INFO] [stdout] 8 | my_runtime::spawn_task(move || driver.drive()); [INFO] [stdout] | ^^^^^ method not found in `Driver<'_, Unpinned>` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `Driver<'lt, Pinned>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 51) [INFO] [stdout] src/lib.rs - (line 69) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.44s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e7f5ce69774852356a9967c47e150683b5758c1b526cb5e045e5513872cd8a6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7f5ce69774852356a9967c47e150683b5758c1b526cb5e045e5513872cd8a6e", kill_on_drop: false }` [INFO] [stdout] e7f5ce69774852356a9967c47e150683b5758c1b526cb5e045e5513872cd8a6e