[INFO] fetching crate hwcalc_lib 0.2.0... [INFO] checking hwcalc_lib-0.2.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate hwcalc_lib 0.2.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate hwcalc_lib 0.2.0 [INFO] finished tweaking crates.io crate hwcalc_lib 0.2.0 [INFO] tweaked toml for crates.io crate hwcalc_lib 0.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hwcalc_lib 0.2.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60b0c7210d9d17f9e6ab32d95ae04571d0a8c3f9ed98190031970bb6e5af4557 [INFO] running `Command { std: "docker" "start" "-a" "60b0c7210d9d17f9e6ab32d95ae04571d0a8c3f9ed98190031970bb6e5af4557", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60b0c7210d9d17f9e6ab32d95ae04571d0a8c3f9ed98190031970bb6e5af4557", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60b0c7210d9d17f9e6ab32d95ae04571d0a8c3f9ed98190031970bb6e5af4557", kill_on_drop: false }` [INFO] [stdout] 60b0c7210d9d17f9e6ab32d95ae04571d0a8c3f9ed98190031970bb6e5af4557 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e94dedb573d1bdee861b2d75f3ddb06ee42d8e57268a27de0f730a514b22e3e [INFO] running `Command { std: "docker" "start" "-a" "8e94dedb573d1bdee861b2d75f3ddb06ee42d8e57268a27de0f730a514b22e3e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking hwcalc_lib v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `small_max` [INFO] [stdout] --> src/lib.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(not(any(test, small_max)))] [INFO] [stdout] | ^^^^^^^^^ help: found config with similar value: `feature = "small_max"` [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(small_max)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(small_max)");` 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: `small_max` [INFO] [stdout] --> src/lib.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(any(test, small_max))] [INFO] [stdout] | ^^^^^^^^^ help: found config with similar value: `feature = "small_max"` [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(small_max)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(small_max)");` 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: `small_max` [INFO] [stdout] --> src/ir.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | #[cfg(not(any(test, small_max)))] [INFO] [stdout] | ^^^^^^^^^ help: found config with similar value: `feature = "small_max"` [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(small_max)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(small_max)");` 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: `small_max` [INFO] [stdout] --> src/ir.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg(any(test, small_max))] [INFO] [stdout] | ^^^^^^^^^ help: found config with similar value: `feature = "small_max"` [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(small_max)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(small_max)");` 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: `small_max` [INFO] [stdout] --> src/lex.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(not(any(test, small_max)))] [INFO] [stdout] | ^^^^^^^^^ help: found config with similar value: `feature = "small_max"` [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(small_max)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(small_max)");` 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: `small_max` [INFO] [stdout] --> src/lex.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(any(test, small_max))] [INFO] [stdout] | ^^^^^^^^^ help: found config with similar value: `feature = "small_max"` [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(small_max)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(small_max)");` 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: `small_max` [INFO] [stdout] --> src/parse.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(not(any(test, small_max)))] [INFO] [stdout] | ^^^^^^^^^ help: found config with similar value: `feature = "small_max"` [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(small_max)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(small_max)");` 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: `small_max` [INFO] [stdout] --> src/parse.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(any(test, small_max))] [INFO] [stdout] | ^^^^^^^^^ help: found config with similar value: `feature = "small_max"` [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(small_max)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(small_max)");` 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: `small_max` [INFO] [stdout] --> src/lib.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(not(any(test, small_max)))] [INFO] [stdout] | ^^^^^^^^^ help: found config with similar value: `feature = "small_max"` [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(small_max)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(small_max)");` 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: `small_max` [INFO] [stdout] --> src/lib.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(any(test, small_max))] [INFO] [stdout] | ^^^^^^^^^ help: found config with similar value: `feature = "small_max"` [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(small_max)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(small_max)");` 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: `small_max` [INFO] [stdout] --> src/ir.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | #[cfg(not(any(test, small_max)))] [INFO] [stdout] | ^^^^^^^^^ help: found config with similar value: `feature = "small_max"` [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(small_max)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(small_max)");` 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: `small_max` [INFO] [stdout] --> src/ir.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg(any(test, small_max))] [INFO] [stdout] | ^^^^^^^^^ help: found config with similar value: `feature = "small_max"` [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(small_max)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(small_max)");` 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: `small_max` [INFO] [stdout] --> src/lex.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(not(any(test, small_max)))] [INFO] [stdout] | ^^^^^^^^^ help: found config with similar value: `feature = "small_max"` [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(small_max)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(small_max)");` 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: `small_max` [INFO] [stdout] --> src/lex.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(any(test, small_max))] [INFO] [stdout] | ^^^^^^^^^ help: found config with similar value: `feature = "small_max"` [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(small_max)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(small_max)");` 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: `small_max` [INFO] [stdout] --> src/parse.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(not(any(test, small_max)))] [INFO] [stdout] | ^^^^^^^^^ help: found config with similar value: `feature = "small_max"` [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(small_max)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(small_max)");` 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: `small_max` [INFO] [stdout] --> src/parse.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(any(test, small_max))] [INFO] [stdout] | ^^^^^^^^^ help: found config with similar value: `feature = "small_max"` [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(small_max)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(small_max)");` 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 4.88s [INFO] running `Command { std: "docker" "inspect" "8e94dedb573d1bdee861b2d75f3ddb06ee42d8e57268a27de0f730a514b22e3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e94dedb573d1bdee861b2d75f3ddb06ee42d8e57268a27de0f730a514b22e3e", kill_on_drop: false }` [INFO] [stdout] 8e94dedb573d1bdee861b2d75f3ddb06ee42d8e57268a27de0f730a514b22e3e