[INFO] fetching crate z_table 0.1.3... [INFO] checking z_table-0.1.3 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate z_table 0.1.3 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate z_table 0.1.3 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-9/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e29a03ccf818611c8dae55b3ae6c307f70e82584d5bc3ad5114cd25e8fb8714 [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" "1e29a03ccf818611c8dae55b3ae6c307f70e82584d5bc3ad5114cd25e8fb8714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e29a03ccf818611c8dae55b3ae6c307f70e82584d5bc3ad5114cd25e8fb8714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e29a03ccf818611c8dae55b3ae6c307f70e82584d5bc3ad5114cd25e8fb8714", kill_on_drop: false }` [INFO] [stdout] 1e29a03ccf818611c8dae55b3ae6c307f70e82584d5bc3ad5114cd25e8fb8714 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74794b225d2c0e98aa6e8223bca51ff79b0ae8c37c4ce4270ec360fb65e5386d [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" "74794b225d2c0e98aa6e8223bca51ff79b0ae8c37c4ce4270ec360fb65e5386d", 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:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | 1.0 - lookup_index((z * -100.0) as u32) [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:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | lookup_index((z * 100.0) as u32) [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:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | 1.0 - lookup_index((z * -100.0) as u32) [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: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:35:25 [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:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | if p >= 0.5 { [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:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | reverse_lookup_index(1.0 - p) as f32 / -100.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:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | reverse_lookup_index(p) as f32 / 100.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:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | reverse_lookup_index(1.0 - p) as f32 / -100.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: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:54:25 [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:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | let curr_abs = abs(p - lookup_index(i)); [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:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | if prev_abs < curr_abs { [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:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | if prev_abs < curr_abs { [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[E0658]: floating point arithmetic is not allowed in constant functions [INFO] [stdout] --> src/lib.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | -x [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 21 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] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [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: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:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | 1.0 - lookup_index((z * -100.0) as u32) [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:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | lookup_index((z * 100.0) as u32) [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:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | 1.0 - lookup_index((z * -100.0) as u32) [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: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:35:25 [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:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | if p >= 0.5 { [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:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | reverse_lookup_index(1.0 - p) as f32 / -100.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:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | reverse_lookup_index(p) as f32 / 100.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:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | reverse_lookup_index(1.0 - p) as f32 / -100.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: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:54:25 [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:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | let curr_abs = abs(p - lookup_index(i)); [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:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | if prev_abs < curr_abs { [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:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | if prev_abs < curr_abs { [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[E0658]: floating point arithmetic is not allowed in constant functions [INFO] [stdout] --> src/lib.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | -x [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 21 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" "74794b225d2c0e98aa6e8223bca51ff79b0ae8c37c4ce4270ec360fb65e5386d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74794b225d2c0e98aa6e8223bca51ff79b0ae8c37c4ce4270ec360fb65e5386d", kill_on_drop: false }` [INFO] [stdout] 74794b225d2c0e98aa6e8223bca51ff79b0ae8c37c4ce4270ec360fb65e5386d