[INFO] fetching crate tiny-artnet-bytes-no-atomic 1.2.2... [INFO] testing tiny-artnet-bytes-no-atomic-1.2.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate tiny-artnet-bytes-no-atomic 1.2.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate tiny-artnet-bytes-no-atomic 1.2.2 [INFO] finished tweaking crates.io crate tiny-artnet-bytes-no-atomic 1.2.2 [INFO] tweaked toml for crates.io crate tiny-artnet-bytes-no-atomic 1.2.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tiny-artnet-bytes-no-atomic 1.2.2 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 54 packages to latest compatible versions [INFO] [stderr] Adding loom v0.5.6 (available: v0.7.2) [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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 97462e5d6ccdf496c854fc7d483dafd6b3d928414f33123eaace46d9b6930cf8 [INFO] running `Command { std: "docker" "start" "-a" "97462e5d6ccdf496c854fc7d483dafd6b3d928414f33123eaace46d9b6930cf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97462e5d6ccdf496c854fc7d483dafd6b3d928414f33123eaace46d9b6930cf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97462e5d6ccdf496c854fc7d483dafd6b3d928414f33123eaace46d9b6930cf8", kill_on_drop: false }` [INFO] [stdout] 97462e5d6ccdf496c854fc7d483dafd6b3d928414f33123eaace46d9b6930cf8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 20a919ba31dfd12880cdd6edd7516204fa752c251b784974296725f8f9b8190a [INFO] running `Command { std: "docker" "start" "-a" "20a919ba31dfd12880cdd6edd7516204fa752c251b784974296725f8f9b8190a", kill_on_drop: false }` [INFO] [stderr] Compiling tiny-artnet-bytes-no-atomic v1.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `bytes_no_atomic_cas` [INFO] [stdout] --> src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[cfg(not(bytes_no_atomic_cas))] [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(bytes_no_atomic_cas)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bytes_no_atomic_cas)");` 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: `bytes_no_atomic_cas` [INFO] [stdout] --> src/lib.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg(not(bytes_no_atomic_cas))] [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(bytes_no_atomic_cas)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bytes_no_atomic_cas)");` 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: `bytes_no_atomic_cas` [INFO] [stdout] --> src/lib.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | #[cfg(not(bytes_no_atomic_cas))] [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(bytes_no_atomic_cas)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bytes_no_atomic_cas)");` 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: `bytes_no_atomic_cas` [INFO] [stdout] --> src/lib.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(not(bytes_no_atomic_cas))] [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(bytes_no_atomic_cas)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bytes_no_atomic_cas)");` 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: `bytes_no_atomic_cas` [INFO] [stdout] --> src/lib.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | #[cfg(not(bytes_no_atomic_cas))] [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(bytes_no_atomic_cas)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bytes_no_atomic_cas)");` 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: `bytes_no_atomic_cas` [INFO] [stdout] --> src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(not(bytes_no_atomic_cas))] [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(bytes_no_atomic_cas)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bytes_no_atomic_cas)");` 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: `bytes_no_atomic_cas` [INFO] [stdout] --> src/lib.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | #[cfg(not(bytes_no_atomic_cas))] [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(bytes_no_atomic_cas)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bytes_no_atomic_cas)");` 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: `bytes_no_atomic_cas` [INFO] [stdout] --> src/buf/buf_impl.rs:816:15 [INFO] [stdout] | [INFO] [stdout] 816 | #[cfg(not(bytes_no_atomic_cas))] [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(bytes_no_atomic_cas)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bytes_no_atomic_cas)");` 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: `bytes_no_atomic_cas` [INFO] [stdout] --> src/buf/buf_impl.rs:1008:19 [INFO] [stdout] | [INFO] [stdout] 1008 | #[cfg(not(bytes_no_atomic_cas))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1016 | deref_forward_buf!(); [INFO] [stdout] | -------------------- in this macro invocation [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(bytes_no_atomic_cas)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bytes_no_atomic_cas)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `deref_forward_buf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bytes_no_atomic_cas` [INFO] [stdout] --> src/buf/buf_impl.rs:1008:19 [INFO] [stdout] | [INFO] [stdout] 1008 | #[cfg(not(bytes_no_atomic_cas))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1020 | deref_forward_buf!(); [INFO] [stdout] | -------------------- in this macro invocation [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(bytes_no_atomic_cas)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bytes_no_atomic_cas)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `deref_forward_buf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bytes_no_atomic_cas` [INFO] [stdout] --> src/buf/chain.rs:174:15 [INFO] [stdout] | [INFO] [stdout] 174 | #[cfg(not(bytes_no_atomic_cas))] [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(bytes_no_atomic_cas)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bytes_no_atomic_cas)");` 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: `bytes_no_atomic_cas` [INFO] [stdout] --> src/buf/take.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | #[cfg(not(bytes_no_atomic_cas))] [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(bytes_no_atomic_cas)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bytes_no_atomic_cas)");` 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/bytes.rs:1108:17 [INFO] [stdout] | [INFO] [stdout] 1108 | #[cfg(all(test, 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/bytes.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | #[cfg(not(all(loom, test)))] [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/bytes.rs:131:15 [INFO] [stdout] | [INFO] [stdout] 131 | #[cfg(all(loom, test))] [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/bytes.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | #[cfg(not(all(loom, test)))] [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/bytes.rs:161:15 [INFO] [stdout] | [INFO] [stdout] 161 | #[cfg(all(loom, test))] [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/bytes_mut.rs:1551:17 [INFO] [stdout] | [INFO] [stdout] 1551 | #[cfg(all(test, 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/loom.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(all(test, 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/loom.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(all(test, 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: `bytes_no_atomic_cas` [INFO] [stdout] --> src/loom.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(not(bytes_no_atomic_cas))] [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(bytes_no_atomic_cas)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bytes_no_atomic_cas)");` 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 return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/bytes.rs:1082:5 [INFO] [stdout] | [INFO] [stdout] 1082 | Box::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1082 | let _ = Box::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/bytes_mut.rs:1234:5 [INFO] [stdout] | [INFO] [stdout] 1234 | Box::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1234 | let _ = Box::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.99s [INFO] running `Command { std: "docker" "inspect" "20a919ba31dfd12880cdd6edd7516204fa752c251b784974296725f8f9b8190a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20a919ba31dfd12880cdd6edd7516204fa752c251b784974296725f8f9b8190a", kill_on_drop: false }` [INFO] [stdout] 20a919ba31dfd12880cdd6edd7516204fa752c251b784974296725f8f9b8190a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 4887530b9d8b18b44053503316958ea4281056d6ff277ec3f8993640e7868a40 [INFO] running `Command { std: "docker" "start" "-a" "4887530b9d8b18b44053503316958ea4281056d6ff277ec3f8993640e7868a40", kill_on_drop: false }` [INFO] [stderr] Compiling serde_test v1.0.177 [INFO] [stdout] warning: unexpected `cfg` condition name: `bytes_no_atomic_cas` [INFO] [stdout] --> src/lib.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | #[cfg(not(bytes_no_atomic_cas))] [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(bytes_no_atomic_cas)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bytes_no_atomic_cas)");` 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: `bytes_no_atomic_cas` [INFO] [stdout] --> src/lib.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg(not(bytes_no_atomic_cas))] [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(bytes_no_atomic_cas)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bytes_no_atomic_cas)");` 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: `bytes_no_atomic_cas` [INFO] [stdout] --> src/lib.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | #[cfg(not(bytes_no_atomic_cas))] [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(bytes_no_atomic_cas)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bytes_no_atomic_cas)");` 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: `bytes_no_atomic_cas` [INFO] [stdout] --> src/lib.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(not(bytes_no_atomic_cas))] [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(bytes_no_atomic_cas)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bytes_no_atomic_cas)");` 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: `bytes_no_atomic_cas` [INFO] [stdout] --> src/lib.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | #[cfg(not(bytes_no_atomic_cas))] [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(bytes_no_atomic_cas)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bytes_no_atomic_cas)");` 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: `bytes_no_atomic_cas` [INFO] [stdout] --> src/lib.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[cfg(not(bytes_no_atomic_cas))] [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(bytes_no_atomic_cas)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bytes_no_atomic_cas)");` 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: `bytes_no_atomic_cas` [INFO] [stdout] --> src/lib.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | #[cfg(not(bytes_no_atomic_cas))] [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(bytes_no_atomic_cas)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bytes_no_atomic_cas)");` 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: `bytes_no_atomic_cas` [INFO] [stdout] --> src/buf/buf_impl.rs:816:15 [INFO] [stdout] | [INFO] [stdout] 816 | #[cfg(not(bytes_no_atomic_cas))] [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(bytes_no_atomic_cas)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bytes_no_atomic_cas)");` 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: `bytes_no_atomic_cas` [INFO] [stdout] --> src/buf/buf_impl.rs:1008:19 [INFO] [stdout] | [INFO] [stdout] 1008 | #[cfg(not(bytes_no_atomic_cas))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1016 | deref_forward_buf!(); [INFO] [stdout] | -------------------- in this macro invocation [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(bytes_no_atomic_cas)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bytes_no_atomic_cas)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `deref_forward_buf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bytes_no_atomic_cas` [INFO] [stdout] --> src/buf/buf_impl.rs:1008:19 [INFO] [stdout] | [INFO] [stdout] 1008 | #[cfg(not(bytes_no_atomic_cas))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1020 | deref_forward_buf!(); [INFO] [stdout] | -------------------- in this macro invocation [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(bytes_no_atomic_cas)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bytes_no_atomic_cas)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `deref_forward_buf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `bytes_no_atomic_cas` [INFO] [stdout] --> src/buf/chain.rs:174:15 [INFO] [stdout] | [INFO] [stdout] 174 | #[cfg(not(bytes_no_atomic_cas))] [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(bytes_no_atomic_cas)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bytes_no_atomic_cas)");` 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: `bytes_no_atomic_cas` [INFO] [stdout] --> src/buf/take.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | #[cfg(not(bytes_no_atomic_cas))] [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(bytes_no_atomic_cas)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bytes_no_atomic_cas)");` 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/bytes.rs:1108:17 [INFO] [stdout] | [INFO] [stdout] 1108 | #[cfg(all(test, 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/bytes.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | #[cfg(not(all(loom, test)))] [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/bytes.rs:131:15 [INFO] [stdout] | [INFO] [stdout] 131 | #[cfg(all(loom, test))] [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/bytes.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | #[cfg(not(all(loom, test)))] [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/bytes.rs:161:15 [INFO] [stdout] | [INFO] [stdout] 161 | #[cfg(all(loom, test))] [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/bytes_mut.rs:1551:17 [INFO] [stdout] | [INFO] [stdout] 1551 | #[cfg(all(test, 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/loom.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(all(test, 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/loom.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(all(test, 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: `bytes_no_atomic_cas` [INFO] [stdout] --> src/loom.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(not(bytes_no_atomic_cas))] [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(bytes_no_atomic_cas)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(bytes_no_atomic_cas)");` 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 return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/bytes.rs:1082:5 [INFO] [stdout] | [INFO] [stdout] 1082 | Box::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1082 | let _ = Box::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/bytes_mut.rs:1234:5 [INFO] [stdout] | [INFO] [stdout] 1234 | Box::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1234 | let _ = Box::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tiny-artnet-bytes-no-atomic v1.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/test_chain.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::{Buf, BufMut, Bytes}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `bytes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bytes`, use `cargo add bytes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chain_mut` found for mutable reference `&mut [u8]` in the current scope [INFO] [stdout] --> tests/test_chain.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | let mut buf = (&mut a[..]).chain_mut(&mut b[..]); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `chunk_mut` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/buf/buf_mut.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | fn chunk_mut(&mut self) -> &mut UninitSlice; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `BufMut` which provides `chain_mut` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use tiny_artnet_bytes_no_atomic::BufMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/test_bytes_vec_alloc.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::{Buf, Bytes}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `bytes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bytes`, use `cargo add bytes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tiny-artnet-bytes-no-atomic` (test "test_chain") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/test_iter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::Bytes; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `bytes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bytes`, use `cargo add bytes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bytes` [INFO] [stdout] --> tests/test_buf_mut.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::buf::UninitSlice; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `bytes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bytes`, use `cargo add bytes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/test_buf_mut.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::{BufMut, BytesMut}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `bytes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bytes`, use `cargo add bytes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tiny-artnet-bytes-no-atomic` (test "test_iter") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tiny-artnet-bytes-no-atomic` (test "test_bytes_vec_alloc") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/test_buf.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::Buf; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `bytes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bytes`, use `cargo add bytes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tiny-artnet-bytes-no-atomic` (test "test_buf_mut") due to 2 previous errors [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/test_bytes_odd_alloc.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use bytes::Bytes; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `bytes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bytes`, use `cargo add bytes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bytes` [INFO] [stdout] --> tests/test_take.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::buf::Buf; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `bytes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bytes`, use `cargo add bytes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytes` [INFO] [stdout] --> tests/test_take.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::Bytes; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `bytes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bytes`, use `cargo add bytes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tiny-artnet-bytes-no-atomic` (test "test_buf") due to 1 previous error [INFO] [stdout] error[E0599]: `&'static [u8; 11]` is not an iterator [INFO] [stdout] --> tests/test_take.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | let buf = b"hello world".take(100); [INFO] [stdout] | ^^^^ `&'static [u8; 11]` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&'static [u8; 11]: Iterator` [INFO] [stdout] which is required by `&mut &'static [u8; 11]: Iterator` [INFO] [stdout] `[u8; 11]: Iterator` [INFO] [stdout] which is required by `&mut [u8; 11]: Iterator` [INFO] [stdout] `[u8]: Iterator` [INFO] [stdout] which is required by `&mut [u8]: Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits which provide `take` are implemented but not in scope; perhaps you want to import one of them [INFO] [stdout] | [INFO] [stdout] 3 + use std::io::Read; [INFO] [stdout] | [INFO] [stdout] 3 + use tiny_artnet_bytes_no_atomic::Buf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tiny-artnet-bytes-no-atomic` (test "test_bytes_odd_alloc") due to 1 previous error [INFO] [stderr] error: could not compile `tiny-artnet-bytes-no-atomic` (test "test_take") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "4887530b9d8b18b44053503316958ea4281056d6ff277ec3f8993640e7868a40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4887530b9d8b18b44053503316958ea4281056d6ff277ec3f8993640e7868a40", kill_on_drop: false }` [INFO] [stdout] 4887530b9d8b18b44053503316958ea4281056d6ff277ec3f8993640e7868a40