[INFO] fetching crate z_table 0.1.3... [INFO] checking z_table-0.1.3 against try#075992eda207e1647b699c8c8ada67b32ce7b115 for pr-77271 [INFO] extracting crate z_table 0.1.3 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate z_table 0.1.3 on toolchain 075992eda207e1647b699c8c8ada67b32ce7b115 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+075992eda207e1647b699c8c8ada67b32ce7b115" "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-11/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" "+075992eda207e1647b699c8c8ada67b32ce7b115" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+075992eda207e1647b699c8c8ada67b32ce7b115" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2c76f9316257801d760472b95ef61fd977afc9d779734eee7271ee925b3425e [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" "d2c76f9316257801d760472b95ef61fd977afc9d779734eee7271ee925b3425e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2c76f9316257801d760472b95ef61fd977afc9d779734eee7271ee925b3425e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2c76f9316257801d760472b95ef61fd977afc9d779734eee7271ee925b3425e", kill_on_drop: false }` [INFO] [stdout] d2c76f9316257801d760472b95ef61fd977afc9d779734eee7271ee925b3425e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+075992eda207e1647b699c8c8ada67b32ce7b115" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0350dbfe2214eb7f8a18629cf39b47c1a2239bb6f05e4bde8e88c3f9e797c70 [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" "b0350dbfe2214eb7f8a18629cf39b47c1a2239bb6f05e4bde8e88c3f9e797c70", 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] [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: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: build failed [INFO] running `Command { std: "docker" "inspect" "b0350dbfe2214eb7f8a18629cf39b47c1a2239bb6f05e4bde8e88c3f9e797c70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0350dbfe2214eb7f8a18629cf39b47c1a2239bb6f05e4bde8e88c3f9e797c70", kill_on_drop: false }` [INFO] [stdout] b0350dbfe2214eb7f8a18629cf39b47c1a2239bb6f05e4bde8e88c3f9e797c70