[INFO] fetching crate yagii 0.1.3... [INFO] checking yagii-0.1.3 against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] extracting crate yagii 0.1.3 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate yagii 0.1.3 on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate yagii 0.1.3 [INFO] finished tweaking crates.io crate yagii 0.1.3 [INFO] tweaked toml for crates.io crate yagii 0.1.3 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition` has been stabilized in the 1.31 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", 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] 69c259509d763912121e19b63c9f21c72b07bffbd0fdc63ba7d2b4510606a819 [INFO] running `Command { std: "docker" "start" "-a" "69c259509d763912121e19b63c9f21c72b07bffbd0fdc63ba7d2b4510606a819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69c259509d763912121e19b63c9f21c72b07bffbd0fdc63ba7d2b4510606a819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69c259509d763912121e19b63c9f21c72b07bffbd0fdc63ba7d2b4510606a819", kill_on_drop: false }` [INFO] [stdout] 69c259509d763912121e19b63c9f21c72b07bffbd0fdc63ba7d2b4510606a819 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "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] e5e6afa4334e8a52d8077a08dcef51a95586c1b8bc5b3e300a68a819e139be31 [INFO] running `Command { std: "docker" "start" "-a" "e5e6afa4334e8a52d8077a08dcef51a95586c1b8bc5b3e300a68a819e139be31", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition` has been stabilized in the 1.31 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking siphasher v0.2.3 [INFO] [stderr] Checking rustc-demangle v0.1.19 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking object v0.24.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking byte-tools v0.2.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking phf_shared v0.7.24 [INFO] [stderr] Checking block-buffer v0.3.3 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking crossbeam-epoch v0.9.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling backtrace v0.3.59 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking generic-array v0.9.1 [INFO] [stderr] Checking digest v0.7.6 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking sha3 v0.7.3 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking addr2line v0.15.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling palette v0.4.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Compiling palette_derive v0.4.1 [INFO] [stderr] Checking image v0.19.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking yagii v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning[E0705]: the feature `rust_2018_preview` is included in the Rust 2018 edition [INFO] [stdout] --> src/lib.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | #![feature(rust_2018_preview, const_fn)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0705]: the feature `rust_2018_preview` is included in the Rust 2018 edition [INFO] [stdout] --> src/lib.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | #![feature(rust_2018_preview, const_fn)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log` [INFO] [stdout] --> src/lib.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | use log::{debug, log}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:101:6 [INFO] [stdout] | [INFO] [stdout] 101 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log` [INFO] [stdout] --> src/lib.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | use log::{debug, log}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:101:6 [INFO] [stdout] | [INFO] [stdout] 101 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: floating point arithmetic is not allowed in constant functions [INFO] [stdout] --> src/hsl.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | (value * 255.0 + 0.5) as u8 [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/hsl.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | (value * 255.0 + 0.5) as u8 [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 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0658, E0705. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yagii` [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/hsl.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | (value * 255.0 + 0.5) as u8 [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/hsl.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | (value * 255.0 + 0.5) as u8 [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 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0658, E0705. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e5e6afa4334e8a52d8077a08dcef51a95586c1b8bc5b3e300a68a819e139be31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5e6afa4334e8a52d8077a08dcef51a95586c1b8bc5b3e300a68a819e139be31", kill_on_drop: false }` [INFO] [stdout] e5e6afa4334e8a52d8077a08dcef51a95586c1b8bc5b3e300a68a819e139be31