[INFO] fetching crate hwcalc_lib 0.2.0... [INFO] testing hwcalc_lib-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate hwcalc_lib 0.2.0 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hwcalc_lib 0.2.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12f91acafc2198a3861399522ef035864b8bea56c6a9f3fccc55a9678d2c3c85 [INFO] running `Command { std: "docker" "start" "-a" "12f91acafc2198a3861399522ef035864b8bea56c6a9f3fccc55a9678d2c3c85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12f91acafc2198a3861399522ef035864b8bea56c6a9f3fccc55a9678d2c3c85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12f91acafc2198a3861399522ef035864b8bea56c6a9f3fccc55a9678d2c3c85", kill_on_drop: false }` [INFO] [stdout] 12f91acafc2198a3861399522ef035864b8bea56c6a9f3fccc55a9678d2c3c85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24d4f9b4f117b76d5a26c9eef876b08f66858f0b7b6a05fefbf4a39fa5ddd3ec [INFO] running `Command { std: "docker" "start" "-a" "24d4f9b4f117b76d5a26c9eef876b08f66858f0b7b6a05fefbf4a39fa5ddd3ec", kill_on_drop: false }` [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.25s [INFO] running `Command { std: "docker" "inspect" "24d4f9b4f117b76d5a26c9eef876b08f66858f0b7b6a05fefbf4a39fa5ddd3ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24d4f9b4f117b76d5a26c9eef876b08f66858f0b7b6a05fefbf4a39fa5ddd3ec", kill_on_drop: false }` [INFO] [stdout] 24d4f9b4f117b76d5a26c9eef876b08f66858f0b7b6a05fefbf4a39fa5ddd3ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85902cf9dcfb4db822bac384c2563992f75ae630ed7d3345973f81b23f1abd3b [INFO] running `Command { std: "docker" "start" "-a" "85902cf9dcfb4db822bac384c2563992f75ae630ed7d3345973f81b23f1abd3b", kill_on_drop: false }` [INFO] [stderr] Compiling 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 `test` profile [unoptimized + debuginfo] target(s) in 2.33s [INFO] running `Command { std: "docker" "inspect" "85902cf9dcfb4db822bac384c2563992f75ae630ed7d3345973f81b23f1abd3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85902cf9dcfb4db822bac384c2563992f75ae630ed7d3345973f81b23f1abd3b", kill_on_drop: false }` [INFO] [stdout] 85902cf9dcfb4db822bac384c2563992f75ae630ed7d3345973f81b23f1abd3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 579cc2738748b726c727ceb2f8310beeff645248a572bda3a56a31c6ee8c23c0 [INFO] running `Command { std: "docker" "start" "-a" "579cc2738748b726c727ceb2f8310beeff645248a572bda3a56a31c6ee8c23c0", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `small_max` [INFO] [stderr] --> src/lib.rs:11:21 [INFO] [stderr] | [INFO] [stderr] 11 | #[cfg(not(any(test, small_max)))] [INFO] [stderr] | ^^^^^^^^^ help: found config with similar value: `feature = "small_max"` [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(small_max)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(small_max)");` 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: `small_max` [INFO] [stderr] --> src/lib.rs:13:17 [INFO] [stderr] | [INFO] [stderr] 13 | #[cfg(any(test, small_max))] [INFO] [stderr] | ^^^^^^^^^ help: found config with similar value: `feature = "small_max"` [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(small_max)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(small_max)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 110 tests [INFO] [stdout] test fmt::test::fmt ... ok [INFO] [stdout] test fmt::test::fmt_bin ... ok [INFO] [stdout] test fmt::test::fmt_bin_fix_inf ... ok [INFO] [stdout] test fmt::test::fmt_bin_inf ... ok [INFO] [stdout] test fmt::test::fmt_dec ... ok [INFO] [stdout] test fmt::test::fmt_dec_fix ... ok [INFO] [stdout] test fmt::test::fmt_hex ... ok [INFO] [stdout] test fmt::test::fmt_hex_fix ... ok [INFO] [stdout] test fmt::test::fmt_hex_fix_inf ... ok [INFO] [stdout] test fmt::test::fmt_hex_inf ... ok [INFO] [stdout] test fmt::test::fmt_oct ... ok [INFO] [stdout] test fmt::test::fmt_oct_fix_inf ... ok [INFO] [stdout] test fmt::test::fmt_truncate ... ok [INFO] [stdout] test ir::test::to_signed ... ok [INFO] [stdout] test ir::test::to_signed_zero ... ok [INFO] [stdout] test ir::test::to_unsigned ... ok [INFO] [stdout] test lex::test::cast_f ... ok [INFO] [stdout] test fmt::test::fmt_bin_fix ... ok [INFO] [stdout] test ir::test::to_unsigned_fix ... ok [INFO] [stdout] test lex::test::basic ... ok [INFO] [stdout] test lex::test::cast ... ok [INFO] [stdout] test lex::test::cast_invalid ... ok [INFO] [stdout] test lex::test::empty ... ok [INFO] [stdout] test lex::test::exp ... ok [INFO] [stdout] test lex::test::exp_invalid ... ok [INFO] [stdout] test lex::test::exp_long ... ok [INFO] [stdout] test lex::test::fix ... ok [INFO] [stdout] test lex::test::fix_invalid ... ok [INFO] [stdout] test lex::test::fix_point_long ... ok [INFO] [stdout] test lex::test::fix_repeat ... ok [INFO] [stdout] test lex::test::fix_repeat_invalid ... ok [INFO] [stdout] test lex::test::fix_repeat_long ... ok [INFO] [stdout] test lex::test::fix_ty ... ok [INFO] [stdout] test lex::test::fix_ty_invalid ... ok [INFO] [stdout] test lex::test::fix_underscore ... ok [INFO] [stdout] test lex::test::ident ... ok [INFO] [stdout] test lex::test::inf ... ok [INFO] [stdout] test lex::test::inf_invalid ... ok [INFO] [stdout] test lex::test::int ... ok [INFO] [stdout] test lex::test::int_invalid ... ok [INFO] [stdout] test lex::test::int_ty ... ok [INFO] [stdout] test lex::test::int_underscore ... ok [INFO] [stdout] test lex::test::output ... ok [INFO] [stdout] test lex::test::pow ... ok [INFO] [stdout] test lex::test::shift_invalid ... ok [INFO] [stdout] test lex::test::tokens ... ok [INFO] [stdout] test lex::test::truncate ... ok [INFO] [stdout] test lex::test::truncate_invalid ... ok [INFO] [stdout] test lex::test::whitespace ... ok [INFO] [stdout] test parse::test::empty_grouping ... ok [INFO] [stdout] test parse::test::expr_assign ... ok [INFO] [stdout] test parse::test::expr_bin ... ok [INFO] [stdout] test parse::test::expr_cast ... ok [INFO] [stdout] test parse::test::expr_cast_f ... ok [INFO] [stdout] test parse::test::expr_exp ... ok [INFO] [stdout] test parse::test::expr_fix_repeat ... ok [INFO] [stdout] test parse::test::expr_ident ... ok [INFO] [stdout] test parse::test::expr_list ... ok [INFO] [stdout] test parse::test::expr_int ... ok [INFO] [stdout] test parse::test::expr_paren ... ok [INFO] [stdout] test parse::test::expr_un ... ok [INFO] [stdout] test parse::test::invalid_assign ... ok [INFO] [stdout] test parse::test::invalid_op ... ok [INFO] [stdout] test parse::test::invalid_sym ... ok [INFO] [stdout] test parse::test::invalid_token ... ok [INFO] [stdout] test parse::test::expr_fix ... ok [INFO] [stdout] test parse::test::invalid_token_decimal_point_long ... ok [INFO] [stdout] test parse::test::invalid_value ... ok [INFO] [stdout] test parse::test::invalid_width ... ok [INFO] [stdout] test parse::test::trailing ... ok [INFO] [stdout] test parse::test::unclosed_paren ... ok [INFO] [stdout] test parse::test::unopened_paren ... ok [INFO] [stdout] test test::add ... ok [INFO] [stdout] test test::and ... ok [INFO] [stdout] test test::ans ... ok [INFO] [stdout] test parse::test::invalid_width_exp ... ok [INFO] [stdout] test parse::test::expr_int_inf ... ok [INFO] [stderr] warning: unexpected `cfg` condition name: `small_max` [INFO] [stderr] --> src/ir.rs:125:21 [INFO] [stderr] | [INFO] [stderr] 125 | #[cfg(not(any(test, small_max)))] [INFO] [stderr] | ^^^^^^^^^ help: found config with similar value: `feature = "small_max"` [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(small_max)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(small_max)");` 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: `small_max` [INFO] [stderr] --> src/ir.rs:127:17 [INFO] [stderr] | [INFO] [stderr] 127 | #[cfg(any(test, small_max))] [INFO] [stderr] | ^^^^^^^^^ help: found config with similar value: `feature = "small_max"` [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(small_max)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(small_max)");` 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: `small_max` [INFO] [stderr] --> src/lex.rs:43:21 [INFO] [stderr] | [INFO] [stderr] 43 | #[cfg(not(any(test, small_max)))] [INFO] [stderr] | ^^^^^^^^^ help: found config with similar value: `feature = "small_max"` [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(small_max)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(small_max)");` 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: `small_max` [INFO] [stderr] --> src/lex.rs:45:17 [INFO] [stderr] | [INFO] [stderr] 45 | #[cfg(any(test, small_max))] [INFO] [stderr] | ^^^^^^^^^ help: found config with similar value: `feature = "small_max"` [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(small_max)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(small_max)");` 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: `small_max` [INFO] [stderr] --> src/parse.rs:14:21 [INFO] [stderr] | [INFO] [stderr] 14 | #[cfg(not(any(test, small_max)))] [INFO] [stderr] | ^^^^^^^^^ help: found config with similar value: `feature = "small_max"` [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(small_max)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(small_max)");` 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: `small_max` [INFO] [stderr] --> src/parse.rs:16:17 [INFO] [stderr] | [INFO] [stderr] 16 | #[cfg(any(test, small_max))] [INFO] [stderr] | ^^^^^^^^^ help: found config with similar value: `feature = "small_max"` [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(small_max)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(small_max)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `hwcalc_lib` (lib) generated 8 warnings [INFO] [stderr] warning: `hwcalc_lib` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hwcalc_lib-d1a9e31581ea1bad) [INFO] [stdout] test test::bin_op_extend ... ok [INFO] [stdout] test test::empty ... ok [INFO] [stdout] test test::bin_op_value_too_large ... ok [INFO] [stdout] test test::cast_out_of_range ... ok [INFO] [stdout] test test::name_not_found ... ok [INFO] [stdout] test test::extend ... ok [INFO] [stdout] test test::bin_op_truncate ... ok [INFO] [stdout] test test::div_err ... ok [INFO] [stdout] test test::assign ... ok [INFO] [stdout] test test::neg ... ok [INFO] [stdout] test test::not ... ok [INFO] [stdout] test test::mul ... ok [INFO] [stdout] test test::or ... ok [INFO] [stdout] test test::pow_divide_by_zero ... ok [INFO] [stdout] test test::pow_fix ... ok [INFO] [stdout] test test::pow_int ... ok [INFO] [stdout] test test::div ... ok [INFO] [stdout] test test::pow_large ... ok [INFO] [stdout] test test::pow_non_integer ... ok [INFO] [stdout] test test::pow_ty ... ok [INFO] [stdout] test test::not_inf_fix ... ok [INFO] [stdout] test test::rem ... ok [INFO] [stdout] test test::rem_err ... ok [INFO] [stdout] test test::shift_fix ... ok [INFO] [stdout] test test::shift_large ... ok [INFO] [stdout] test test::shift_non_integer ... ok [INFO] [stdout] test test::shift_int ... ok [INFO] [stdout] test test::symtab_insert ... ok [INFO] [stdout] test test::symtab_prefill ... ok [INFO] [stdout] test test::shift_ty ... ok [INFO] [stdout] test test::sub ... ok [INFO] [stdout] test test::truncate ... ok [INFO] [stdout] test test::xor ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 110 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] Doc-tests hwcalc_lib [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "579cc2738748b726c727ceb2f8310beeff645248a572bda3a56a31c6ee8c23c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "579cc2738748b726c727ceb2f8310beeff645248a572bda3a56a31c6ee8c23c0", kill_on_drop: false }` [INFO] [stdout] 579cc2738748b726c727ceb2f8310beeff645248a572bda3a56a31c6ee8c23c0