[INFO] fetching crate tiny_lib 0.0.2... [INFO] checking tiny_lib-0.0.2 against try#894d32a5432c6a6461bb2aac7c3d5f2e87dce83f for pr-77015 [INFO] extracting crate tiny_lib 0.0.2 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate tiny_lib 0.0.2 on toolchain 894d32a5432c6a6461bb2aac7c3d5f2e87dce83f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate tiny_lib 0.0.2 [INFO] finished tweaking crates.io crate tiny_lib 0.0.2 [INFO] tweaked toml for crates.io crate tiny_lib 0.0.2 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4588e0aa4aecf953cb0b47a564b8e04d42c5ec697c021504285c50eb4bb127e [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" "f4588e0aa4aecf953cb0b47a564b8e04d42c5ec697c021504285c50eb4bb127e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4588e0aa4aecf953cb0b47a564b8e04d42c5ec697c021504285c50eb4bb127e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4588e0aa4aecf953cb0b47a564b8e04d42c5ec697c021504285c50eb4bb127e", kill_on_drop: false }` [INFO] [stdout] f4588e0aa4aecf953cb0b47a564b8e04d42c5ec697c021504285c50eb4bb127e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b1d011cc55b629d9ba067d4b977c5ce415e2c5e673a337b4f6378e0f8f464bab [INFO] running `Command { std: "docker" "start" "-a" "b1d011cc55b629d9ba067d4b977c5ce415e2c5e673a337b4f6378e0f8f464bab", kill_on_drop: false }` [INFO] [stderr] Checking tiny_lib v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `test::Bencher` [INFO] [stdout] --> src/trig.rs:94:6 [INFO] [stdout] | [INFO] [stdout] 94 | use test::Bencher; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/trig.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 95 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: floating point arithmetic is not allowed in constant functions [INFO] [stdout] --> src/trig.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | let a2 = a*a; [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/trig.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | let a = a + PI_HALF; [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/trig.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | let a2 = a*a; [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/trig.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | let a2 = a*a; [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/trig.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | let a2 = a*a; [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/trig.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | let a2 = a*a; [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/trig.rs:87:11 [INFO] [stdout] | [INFO] [stdout] 87 | let a2 = a*a; [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 7 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tiny_lib` [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/trig.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | let a2 = a*a; [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/trig.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | let a = a + PI_HALF; [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/trig.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | let a2 = a*a; [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/trig.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | let a2 = a*a; [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/trig.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | let a2 = a*a; [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/trig.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | let a2 = a*a; [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/trig.rs:87:11 [INFO] [stdout] | [INFO] [stdout] 87 | let a2 = a*a; [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 7 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" "b1d011cc55b629d9ba067d4b977c5ce415e2c5e673a337b4f6378e0f8f464bab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1d011cc55b629d9ba067d4b977c5ce415e2c5e673a337b4f6378e0f8f464bab", kill_on_drop: false }` [INFO] [stdout] b1d011cc55b629d9ba067d4b977c5ce415e2c5e673a337b4f6378e0f8f464bab