[INFO] fetching crate ema 0.1.1... [INFO] checking ema-0.1.1 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate ema 0.1.1 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate ema 0.1.1 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ordered-float v2.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d633b26b12a0f0b8277fe5980ab0714c70a2c9e5764fa66cc24f6f05be6d2d0 [INFO] running `Command { std: "docker" "start" "-a" "8d633b26b12a0f0b8277fe5980ab0714c70a2c9e5764fa66cc24f6f05be6d2d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d633b26b12a0f0b8277fe5980ab0714c70a2c9e5764fa66cc24f6f05be6d2d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d633b26b12a0f0b8277fe5980ab0714c70a2c9e5764fa66cc24f6f05be6d2d0", kill_on_drop: false }` [INFO] [stdout] 8d633b26b12a0f0b8277fe5980ab0714c70a2c9e5764fa66cc24f6f05be6d2d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e3106c7ee3e00889bb2138a9f6ee153c6ecdd1b5bf4b0005f6a783855b42533 [INFO] running `Command { std: "docker" "start" "-a" "9e3106c7ee3e00889bb2138a9f6ee153c6ecdd1b5bf4b0005f6a783855b42533", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking ordered-float v2.7.0 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking 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" "9e3106c7ee3e00889bb2138a9f6ee153c6ecdd1b5bf4b0005f6a783855b42533", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e3106c7ee3e00889bb2138a9f6ee153c6ecdd1b5bf4b0005f6a783855b42533", kill_on_drop: false }` [INFO] [stdout] 9e3106c7ee3e00889bb2138a9f6ee153c6ecdd1b5bf4b0005f6a783855b42533