[INFO] fetching crate rectangle-pack 0.4.2... [INFO] testing rectangle-pack-0.4.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate rectangle-pack 0.4.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate rectangle-pack 0.4.2 [INFO] finished tweaking crates.io crate rectangle-pack 0.4.2 [INFO] tweaked toml for crates.io crate rectangle-pack 0.4.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rectangle-pack 0.4.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84b30cf47d30070c05baca826747d34cdc085ee2592c41689722a53dc288deff [INFO] running `Command { std: "docker" "start" "-a" "84b30cf47d30070c05baca826747d34cdc085ee2592c41689722a53dc288deff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84b30cf47d30070c05baca826747d34cdc085ee2592c41689722a53dc288deff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84b30cf47d30070c05baca826747d34cdc085ee2592c41689722a53dc288deff", kill_on_drop: false }` [INFO] [stdout] 84b30cf47d30070c05baca826747d34cdc085ee2592c41689722a53dc288deff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e94fb4666c757515319a5e541d2cebd74a692706637e93a297ba5331e1e9d6bb [INFO] running `Command { std: "docker" "start" "-a" "e94fb4666c757515319a5e541d2cebd74a692706637e93a297ba5331e1e9d6bb", kill_on_drop: false }` [INFO] [stderr] Compiling rectangle-pack v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `std` [INFO] [stdout] --> src/lib.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(not(std), no_std)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "std"` [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(std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` 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: `std` [INFO] [stdout] --> src/lib.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(not(std))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "std"` [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(std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` 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: `std` [INFO] [stdout] --> src/lib.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(std)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "std"` [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(std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` 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: `std` [INFO] [stdout] --> src/lib.rs:289:7 [INFO] [stdout] | [INFO] [stdout] 289 | #[cfg(std)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "std"` [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(std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` 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: `std` [INFO] [stdout] --> src/grouped_rects_to_place.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(std))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "std"` [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(std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` 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: `std` [INFO] [stdout] --> src/grouped_rects_to_place.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(std)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "std"` [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(std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "e94fb4666c757515319a5e541d2cebd74a692706637e93a297ba5331e1e9d6bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e94fb4666c757515319a5e541d2cebd74a692706637e93a297ba5331e1e9d6bb", kill_on_drop: false }` [INFO] [stdout] e94fb4666c757515319a5e541d2cebd74a692706637e93a297ba5331e1e9d6bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c88c55a49eeb80d118f17f2e8e3598682cfe77fed81a40809c9c527f0ab416f7 [INFO] running `Command { std: "docker" "start" "-a" "c88c55a49eeb80d118f17f2e8e3598682cfe77fed81a40809c9c527f0ab416f7", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition name: `std` [INFO] [stdout] --> src/lib.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(not(std), no_std)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "std"` [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(std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` 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: `std` [INFO] [stdout] --> src/lib.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(not(std))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "std"` [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(std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` 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: `std` [INFO] [stdout] --> src/lib.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(std)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "std"` [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(std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` 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: `std` [INFO] [stdout] --> src/lib.rs:289:7 [INFO] [stdout] | [INFO] [stdout] 289 | #[cfg(std)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "std"` [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(std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` 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: `std` [INFO] [stdout] --> src/grouped_rects_to_place.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(std))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "std"` [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(std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` 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: `std` [INFO] [stdout] --> src/grouped_rects_to_place.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(std)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "std"` [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(std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rectangle-pack v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `std` [INFO] [stdout] --> src/lib.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(not(std), no_std)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "std"` [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(std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` 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: `std` [INFO] [stdout] --> src/lib.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(not(std))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "std"` [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(std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` 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: `std` [INFO] [stdout] --> src/lib.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(std)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "std"` [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(std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` 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: `std` [INFO] [stdout] --> src/lib.rs:289:7 [INFO] [stdout] | [INFO] [stdout] 289 | #[cfg(std)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "std"` [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(std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` 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: `std` [INFO] [stdout] --> src/grouped_rects_to_place.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(std))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "std"` [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(std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` 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: `std` [INFO] [stdout] --> src/grouped_rects_to_place.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(std)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "std"` [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(std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.33s [INFO] running `Command { std: "docker" "inspect" "c88c55a49eeb80d118f17f2e8e3598682cfe77fed81a40809c9c527f0ab416f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c88c55a49eeb80d118f17f2e8e3598682cfe77fed81a40809c9c527f0ab416f7", kill_on_drop: false }` [INFO] [stdout] c88c55a49eeb80d118f17f2e8e3598682cfe77fed81a40809c9c527f0ab416f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fc328c2916ac59bd50dd460cd5feed0697901bdf80836ec86b9253be58afe707 [INFO] running `Command { std: "docker" "start" "-a" "fc328c2916ac59bd50dd460cd5feed0697901bdf80836ec86b9253be58afe707", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `std` [INFO] [stderr] --> src/lib.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | #![cfg_attr(not(std), no_std)] [INFO] [stderr] | ^^^ help: found config with similar value: `feature = "std"` [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(std)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` 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: `std` [INFO] [stderr] --> src/lib.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | #[cfg(not(std))] [INFO] [stderr] | ^^^ help: found config with similar value: `feature = "std"` [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(std)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` 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: `std` [INFO] [stderr] --> src/lib.rs:11:7 [INFO] [stderr] | [INFO] [stderr] 11 | #[cfg(std)] [INFO] [stderr] | ^^^ help: found config with similar value: `feature = "std"` [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(std)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` 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: `std` [INFO] [stderr] --> src/lib.rs:289:7 [INFO] [stderr] | [INFO] [stderr] 289 | #[cfg(std)] [INFO] [stderr] | ^^^ help: found config with similar value: `feature = "std"` [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(std)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` 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: `std` [INFO] [stderr] --> src/grouped_rects_to_place.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | #[cfg(not(std))] [INFO] [stderr] | ^^^ help: found config with similar value: `feature = "std"` [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(std)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` 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: `std` [INFO] [stderr] --> src/grouped_rects_to_place.rs:5:7 [INFO] [stderr] | [INFO] [stderr] 5 | #[cfg(std)] [INFO] [stderr] | ^^^ help: found config with similar value: `feature = "std"` [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(std)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(std)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `rectangle-pack` (lib) generated 6 warnings [INFO] [stderr] warning: `rectangle-pack` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rectangle_pack-45124c6c8c9ef408) [INFO] [stdout] [INFO] [stdout] running 26 tests [INFO] [stdout] test bin_section::overlaps::tests::overlaps ... ok [INFO] [stdout] test bin_section::tests::depth_largest_width_second_largest_height_smallest ... ok [INFO] [stdout] test bin_section::tests::error_if_placement_is_deeper_than_bin_section ... ok [INFO] [stdout] test bin_section::tests::error_if_placement_is_taller_than_bin_section ... ok [INFO] [stdout] test bin_section::tests::width_largest_depth_second_largest_height_smallest ... ok [INFO] [stdout] test bin_section::tests::error_if_placement_is_wider_than_bin_section ... ok [INFO] [stdout] test bin_section::tests::height_largest_width_second_largest_depth_smallest ... ok [INFO] [stdout] test grouped_rects_to_place::tests::group_id_to_inbound_ids ... ok [INFO] [stdout] test bin_section::tests::height_largest_depth_second_largest_width_smallest ... ok [INFO] [stdout] test bin_section::tests::width_largest_height_second_largest_depth_smallest ... ok [INFO] [stdout] test bin_section::tests::depth_largest_height_second_largest_width_smallest ... ok [INFO] [stdout] test grouped_rects_to_place::tests::inbound_id_to_group_ids ... ok [INFO] [stdout] test grouped_rects_to_place::tests::store_the_inbound_rectangle ... ok [INFO] [stdout] test target_bin::push_available_bin_section::tests::error_if_bin_section_out_of_bounds ... ok [INFO] [stdout] test target_bin::push_available_bin_section::tests::push_bin_section ... ok [INFO] [stdout] test tests::error_if_the_rectangles_cannot_fit_into_target_bins ... ok [INFO] [stdout] test grouped_rects_to_place::tests::ungrouped_rectangles_use_their_inbound_id_as_their_group_id ... ok [INFO] [stdout] test tests::fills_small_sections_before_large_ones ... ok [INFO] [stdout] test tests::one_inbound_rect_two_bins ... ok [INFO] [stdout] test tests::one_inbound_rect_one_bin ... ok [INFO] [stderr] Doc-tests rectangle_pack [INFO] [stdout] test tests::places_largest_rectangles_first ... ok [INFO] [stdout] test tests::two_rects_two_bins ... ok [INFO] [stdout] test target_bin::push_available_bin_section::tests::error_if_bin_section_overlaps_another_remaining_section ... ok [INFO] [stdout] test tests::saves_bin_sections_for_future_use ... ok [INFO] [stdout] test tests::deterministic_packing ... ok [INFO] [stdout] test tests::error_if_cannot_fit_group ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/target_bin/coalesce.rs - target_bin::coalesce::TargetBin::coalesce_available_sections (line 21) ... ignored [INFO] [stdout] test src/target_bin/coalesce.rs - target_bin::coalesce::TargetBin::coalesce_available_sections (line 53) ... ignored [INFO] [stdout] test src/lib.rs - pack_rects (line 47) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.76s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fc328c2916ac59bd50dd460cd5feed0697901bdf80836ec86b9253be58afe707", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc328c2916ac59bd50dd460cd5feed0697901bdf80836ec86b9253be58afe707", kill_on_drop: false }` [INFO] [stdout] fc328c2916ac59bd50dd460cd5feed0697901bdf80836ec86b9253be58afe707