[INFO] fetching crate ema 0.1.1... [INFO] testing ema-0.1.1 against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] extracting crate ema 0.1.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate ema 0.1.1 on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ema 0.1.1 [INFO] finished tweaking crates.io crate ema 0.1.1 [INFO] tweaked toml for crates.io crate ema 0.1.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a059f98edb81740371d8e963cc071e1d14c4bc58fe697ebfa8d5a52df93043f [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" "0a059f98edb81740371d8e963cc071e1d14c4bc58fe697ebfa8d5a52df93043f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a059f98edb81740371d8e963cc071e1d14c4bc58fe697ebfa8d5a52df93043f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a059f98edb81740371d8e963cc071e1d14c4bc58fe697ebfa8d5a52df93043f", kill_on_drop: false }` [INFO] [stdout] 0a059f98edb81740371d8e963cc071e1d14c4bc58fe697ebfa8d5a52df93043f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb483c4ae75efa2e91a7869a22638721dbce2d0122d330d6fc5d2ab88a725e44 [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" "eb483c4ae75efa2e91a7869a22638721dbce2d0122d330d6fc5d2ab88a725e44", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling ordered-float v2.7.0 [INFO] [stderr] Compiling ema v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.91s [INFO] running `Command { std: "docker" "inspect" "eb483c4ae75efa2e91a7869a22638721dbce2d0122d330d6fc5d2ab88a725e44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb483c4ae75efa2e91a7869a22638721dbce2d0122d330d6fc5d2ab88a725e44", kill_on_drop: false }` [INFO] [stdout] eb483c4ae75efa2e91a7869a22638721dbce2d0122d330d6fc5d2ab88a725e44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 381636f011f4761033e1f89cb5d16fc0fcbb6bd2270402f5b0988886d7a4f0b2 [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" "381636f011f4761033e1f89cb5d16fc0fcbb6bd2270402f5b0988886d7a4f0b2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling ema v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `bf16: num_traits::Float` is not satisfied [INFO] [stdout] --> src/lib.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 315 | fn test_ema(iters: u32, mean_epsilon: F, variance_epsilon: F) { [INFO] [stdout] | ----- required by this bound in `test_ema` [INFO] [stdout] ... [INFO] [stdout] 358 | test_ema::(250, bf16::from_f32(1e-7), bf16::from_f32(0.25)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `num_traits::Float` is not implemented for `bf16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `default` exists for struct `Ema`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:359:32 [INFO] [stdout] | [INFO] [stdout] 21 | / pub struct Ema [INFO] [stdout] 22 | | where [INFO] [stdout] 23 | | F: Float, [INFO] [stdout] 24 | | { [INFO] [stdout] 25 | | mean: NotNan, [INFO] [stdout] 26 | | variance: NotNan, [INFO] [stdout] 27 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_function or associated item `default` not found for this [INFO] [stdout] | doesn't satisfy `Ema: Default` [INFO] [stdout] ... [INFO] [stdout] 359 | let mut ema = Ema::::default(); [INFO] [stdout] | ^^^^^^^ function or associated item cannot be called on `Ema` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/half-1.7.1/src/bfloat.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct bf16(u16); [INFO] [stdout] | --------------------- doesn't satisfy `bf16: num_traits::Float` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `bf16: num_traits::Float` [INFO] [stdout] which is required by `Ema: Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `bf16: num_traits::Float` is not satisfied [INFO] [stdout] --> src/lib.rs:359:19 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Ema [INFO] [stdout] | --- required by a bound in this [INFO] [stdout] 22 | where [INFO] [stdout] 23 | F: Float, [INFO] [stdout] | ----- required by this bound in `Ema` [INFO] [stdout] ... [INFO] [stdout] 359 | let mut ema = Ema::::default(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `num_traits::Float` is not implemented for `bf16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f16: num_traits::Float` is not satisfied [INFO] [stdout] --> src/lib.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 315 | fn test_ema(iters: u32, mean_epsilon: F, variance_epsilon: F) { [INFO] [stdout] | ----- required by this bound in `test_ema` [INFO] [stdout] ... [INFO] [stdout] 361 | test_ema::(500, f16::from_f32(1e-7), f16::from_f32(0.125)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `num_traits::Float` is not implemented for `f16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `default` exists for struct `Ema`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:362:31 [INFO] [stdout] | [INFO] [stdout] 21 | / pub struct Ema [INFO] [stdout] 22 | | where [INFO] [stdout] 23 | | F: Float, [INFO] [stdout] 24 | | { [INFO] [stdout] 25 | | mean: NotNan, [INFO] [stdout] 26 | | variance: NotNan, [INFO] [stdout] 27 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_function or associated item `default` not found for this [INFO] [stdout] | doesn't satisfy `Ema: Default` [INFO] [stdout] ... [INFO] [stdout] 362 | let mut ema = Ema::::default(); [INFO] [stdout] | ^^^^^^^ function or associated item cannot be called on `Ema` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/half-1.7.1/src/binary16.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct f16(u16); [INFO] [stdout] | -------------------- doesn't satisfy `f16: num_traits::Float` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `f16: num_traits::Float` [INFO] [stdout] which is required by `Ema: Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f16: num_traits::Float` is not satisfied [INFO] [stdout] --> src/lib.rs:362:19 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Ema [INFO] [stdout] | --- required by a bound in this [INFO] [stdout] 22 | where [INFO] [stdout] 23 | F: Float, [INFO] [stdout] | ----- required by this bound in `Ema` [INFO] [stdout] ... [INFO] [stdout] 362 | let mut ema = Ema::::default(); [INFO] [stdout] | ^^^^^^^^^^ the trait `num_traits::Float` is not implemented for `f16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ema` due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "381636f011f4761033e1f89cb5d16fc0fcbb6bd2270402f5b0988886d7a4f0b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "381636f011f4761033e1f89cb5d16fc0fcbb6bd2270402f5b0988886d7a4f0b2", kill_on_drop: false }` [INFO] [stdout] 381636f011f4761033e1f89cb5d16fc0fcbb6bd2270402f5b0988886d7a4f0b2