[INFO] fetching crate z_table 0.1.3... [INFO] checking z_table-0.1.3 against master#d62d3f7fa9a91d933213cc10e20e740608983f64 for pr-77015 [INFO] extracting crate z_table 0.1.3 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate z_table 0.1.3 on toolchain d62d3f7fa9a91d933213cc10e20e740608983f64 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate z_table 0.1.3 [INFO] finished tweaking crates.io crate z_table 0.1.3 [INFO] tweaked toml for crates.io crate z_table 0.1.3 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate z_table 0.1.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2a9049758c03bbbd395f9020c6435d4cd0ebb560e7b76b822c5745381be5e36 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e2a9049758c03bbbd395f9020c6435d4cd0ebb560e7b76b822c5745381be5e36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2a9049758c03bbbd395f9020c6435d4cd0ebb560e7b76b822c5745381be5e36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2a9049758c03bbbd395f9020c6435d4cd0ebb560e7b76b822c5745381be5e36", kill_on_drop: false }` [INFO] [stdout] e2a9049758c03bbbd395f9020c6435d4cd0ebb560e7b76b822c5745381be5e36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09e8fb67db92164960635d4f2e4b92f3e28d0b12f9c353e3e6a4d25e2f1f5c24 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "09e8fb67db92164960635d4f2e4b92f3e28d0b12f9c353e3e6a4d25e2f1f5c24", kill_on_drop: false }` [INFO] [stderr] Checking z_table v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0658]: floating point arithmetic is not allowed in constant functions [INFO] [stdout] --> src/lib.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | if z >= 0.0 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57241 for more information [INFO] [stdout] = help: add `#![feature(const_fn_floating_point_arithmetic)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: floating point arithmetic is not allowed in constant functions [INFO] [stdout] --> src/lib.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | lookup((z - mean) / standard_derivation) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57241 for more information [INFO] [stdout] = help: add `#![feature(const_fn_floating_point_arithmetic)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: floating point arithmetic is not allowed in constant functions [INFO] [stdout] --> src/lib.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | assert!(0.0 <= p && p <= 1.0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57241 for more information [INFO] [stdout] = help: add `#![feature(const_fn_floating_point_arithmetic)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: floating point arithmetic is not allowed in constant functions [INFO] [stdout] --> src/lib.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | reverse_lookup(p) * standard_derivation + mean [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57241 for more information [INFO] [stdout] = help: add `#![feature(const_fn_floating_point_arithmetic)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: floating point arithmetic is not allowed in constant functions [INFO] [stdout] --> src/lib.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | assert!(0.5 <= p && p <= 1.0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57241 for more information [INFO] [stdout] = help: add `#![feature(const_fn_floating_point_arithmetic)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: floating point arithmetic is not allowed in constant functions [INFO] [stdout] --> src/lib.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | if x >= 0.0 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57241 for more information [INFO] [stdout] = help: add `#![feature(const_fn_floating_point_arithmetic)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `z_table` [INFO] [stdout] error[E0658]: floating point arithmetic is not allowed in constant functions [INFO] [stdout] --> src/lib.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | if z >= 0.0 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57241 for more information [INFO] [stdout] = help: add `#![feature(const_fn_floating_point_arithmetic)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0658]: floating point arithmetic is not allowed in constant functions [INFO] [stdout] --> src/lib.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | lookup((z - mean) / standard_derivation) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57241 for more information [INFO] [stdout] = help: add `#![feature(const_fn_floating_point_arithmetic)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error[E0658]: floating point arithmetic is not allowed in constant functions [INFO] [stdout] --> src/lib.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | assert!(0.0 <= p && p <= 1.0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57241 for more information [INFO] [stdout] = help: add `#![feature(const_fn_floating_point_arithmetic)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0658]: floating point arithmetic is not allowed in constant functions [INFO] [stdout] --> src/lib.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | reverse_lookup(p) * standard_derivation + mean [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57241 for more information [INFO] [stdout] = help: add `#![feature(const_fn_floating_point_arithmetic)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: floating point arithmetic is not allowed in constant functions [INFO] [stdout] --> src/lib.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | assert!(0.5 <= p && p <= 1.0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57241 for more information [INFO] [stdout] = help: add `#![feature(const_fn_floating_point_arithmetic)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: floating point arithmetic is not allowed in constant functions [INFO] [stdout] --> src/lib.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | if x >= 0.0 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57241 for more information [INFO] [stdout] = help: add `#![feature(const_fn_floating_point_arithmetic)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "09e8fb67db92164960635d4f2e4b92f3e28d0b12f9c353e3e6a4d25e2f1f5c24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09e8fb67db92164960635d4f2e4b92f3e28d0b12f9c353e3e6a4d25e2f1f5c24", kill_on_drop: false }` [INFO] [stdout] 09e8fb67db92164960635d4f2e4b92f3e28d0b12f9c353e3e6a4d25e2f1f5c24