[INFO] fetching crate hwcalc_lib 0.2.0... [INFO] testing hwcalc_lib-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate hwcalc_lib 0.2.0 into /workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hwcalc_lib 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d096398b78582df37168717e353f7f2efc74bd82c42fcfa8c36fb32d35fd8d0 [INFO] running `Command { std: "docker" "start" "-a" "3d096398b78582df37168717e353f7f2efc74bd82c42fcfa8c36fb32d35fd8d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d096398b78582df37168717e353f7f2efc74bd82c42fcfa8c36fb32d35fd8d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d096398b78582df37168717e353f7f2efc74bd82c42fcfa8c36fb32d35fd8d0", kill_on_drop: false }` [INFO] [stdout] 3d096398b78582df37168717e353f7f2efc74bd82c42fcfa8c36fb32d35fd8d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 298513fb90799d4a85cf423b57620e0563dea76c4164f51ce54099eafb684d32 [INFO] running `Command { std: "docker" "start" "-a" "298513fb90799d4a85cf423b57620e0563dea76c4164f51ce54099eafb684d32", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-integer v0.1.46 [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 5.49s [INFO] running `Command { std: "docker" "inspect" "298513fb90799d4a85cf423b57620e0563dea76c4164f51ce54099eafb684d32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "298513fb90799d4a85cf423b57620e0563dea76c4164f51ce54099eafb684d32", kill_on_drop: false }` [INFO] [stdout] 298513fb90799d4a85cf423b57620e0563dea76c4164f51ce54099eafb684d32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6343fa0e232d9a5b22dd96a09a3e18d3b15506f09c2fd0130407864c8d22a71e [INFO] running `Command { std: "docker" "start" "-a" "6343fa0e232d9a5b22dd96a09a3e18d3b15506f09c2fd0130407864c8d22a71e", kill_on_drop: false }` [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] 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 `test` profile [unoptimized + debuginfo] target(s) in 2.16s [INFO] running `Command { std: "docker" "inspect" "6343fa0e232d9a5b22dd96a09a3e18d3b15506f09c2fd0130407864c8d22a71e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6343fa0e232d9a5b22dd96a09a3e18d3b15506f09c2fd0130407864c8d22a71e", kill_on_drop: false }` [INFO] [stdout] 6343fa0e232d9a5b22dd96a09a3e18d3b15506f09c2fd0130407864c8d22a71e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 23ac51cbdf4b6abaec5c5d0beed9bf6a52d5282f4a591c1e6594518191c0f92c [INFO] running `Command { std: "docker" "start" "-a" "23ac51cbdf4b6abaec5c5d0beed9bf6a52d5282f4a591c1e6594518191c0f92c", 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] [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.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hwcalc_lib-d1a9e31581ea1bad) [INFO] [stdout] [INFO] [stdout] running 110 tests [INFO] [stdout] test fmt::test::fmt_bin ... ok [INFO] [stdout] test fmt::test::fmt_bin_fix ... ok [INFO] [stdout] test fmt::test::fmt_bin_fix_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_inf ... ok [INFO] [stdout] test ir::test::to_signed ... ok [INFO] [stdout] test ir::test::to_signed_zero ... ok [INFO] [stdout] test fmt::test::fmt_hex_fix ... ok [INFO] [stdout] test fmt::test::fmt_hex_inf ... ok [INFO] [stdout] test ir::test::to_unsigned ... ok [INFO] [stdout] test fmt::test::fmt ... 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_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::cast_f ... 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_repeat ... 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_long ... ok [INFO] [stdout] test lex::test::fix_repeat_invalid ... 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::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::output ... ok [INFO] [stdout] test lex::test::int_underscore ... ok [INFO] [stdout] test lex::test::shift_invalid ... ok [INFO] [stdout] test lex::test::tokens ... ok [INFO] [stdout] test lex::test::pow ... 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 fmt::test::fmt_bin_inf ... ok [INFO] [stdout] test parse::test::expr_cast_f ... ok [INFO] [stdout] test lex::test::ident ... ok [INFO] [stdout] test lex::test::inf ... ok [INFO] [stdout] test parse::test::expr_exp ... ok [INFO] [stdout] test parse::test::expr_list ... ok [INFO] [stdout] test parse::test::expr_fix ... ok [INFO] [stdout] test parse::test::expr_int_inf ... ok [INFO] [stdout] test parse::test::expr_paren ... ok [INFO] [stdout] test parse::test::expr_int ... ok [INFO] [stdout] test parse::test::expr_fix_repeat ... ok [INFO] [stdout] test parse::test::expr_ident ... ok [INFO] [stdout] test lex::test::empty ... ok [INFO] [stdout] test lex::test::truncate ... 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_token ... ok [INFO] [stdout] test parse::test::invalid_sym ... 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::unopened_paren ... ok [INFO] [stdout] test parse::test::invalid_width ... ok [INFO] [stdout] test parse::test::invalid_width_exp ... ok [INFO] [stdout] test parse::test::trailing ... ok [INFO] [stdout] test parse::test::unclosed_paren ... ok [INFO] [stdout] test test::and ... ok [INFO] [stdout] test test::ans ... ok [INFO] [stdout] test test::cast_out_of_range ... ok [INFO] [stdout] test test::bin_op_extend ... ok [INFO] [stdout] test test::assign ... ok [INFO] [stdout] test test::bin_op_value_too_large ... ok [INFO] [stdout] test test::add ... ok [INFO] [stdout] test test::empty ... ok [INFO] [stdout] test test::div ... ok [INFO] [stdout] test test::div_err ... ok [INFO] [stdout] test test::bin_op_truncate ... ok [INFO] [stdout] test test::extend ... ok [INFO] [stdout] test test::mul ... ok [INFO] [stdout] test test::not_inf_fix ... ok [INFO] [stdout] test test::pow_fix ... ok [INFO] [stdout] test test::pow_divide_by_zero ... ok [INFO] [stdout] test test::pow_large ... ok [INFO] [stdout] test test::pow_int ... ok [INFO] [stdout] test test::pow_non_integer ... ok [INFO] [stdout] test test::pow_ty ... ok [INFO] [stdout] test test::not ... ok [INFO] [stdout] test test::neg ... ok [INFO] [stdout] test test::name_not_found ... ok [INFO] [stdout] test test::shift_int ... ok [INFO] [stdout] test test::shift_fix ... ok [INFO] [stdout] test test::shift_large ... ok [INFO] [stdout] test test::symtab_prefill ... ok [INFO] [stdout] test test::sub ... ok [INFO] [stdout] test test::shift_non_integer ... ok [INFO] [stdout] test test::symtab_insert ... ok [INFO] [stdout] test test::truncate ... ok [INFO] [stdout] test test::xor ... ok [INFO] [stdout] test test::shift_ty ... ok [INFO] [stdout] test test::or ... ok [INFO] [stdout] test test::rem_err ... ok [INFO] [stdout] test test::rem ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 110 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [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" "23ac51cbdf4b6abaec5c5d0beed9bf6a52d5282f4a591c1e6594518191c0f92c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23ac51cbdf4b6abaec5c5d0beed9bf6a52d5282f4a591c1e6594518191c0f92c", kill_on_drop: false }` [INFO] [stdout] 23ac51cbdf4b6abaec5c5d0beed9bf6a52d5282f4a591c1e6594518191c0f92c