[INFO] fetching crate ema 0.1.1... [INFO] checking ema-0.1.1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate ema 0.1.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate ema 0.1.1 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae86b439ebf715b527477829ebf46149ecce72847270e8670b9c32c10fadf086 [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" "ae86b439ebf715b527477829ebf46149ecce72847270e8670b9c32c10fadf086", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae86b439ebf715b527477829ebf46149ecce72847270e8670b9c32c10fadf086", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae86b439ebf715b527477829ebf46149ecce72847270e8670b9c32c10fadf086", kill_on_drop: false }` [INFO] [stdout] ae86b439ebf715b527477829ebf46149ecce72847270e8670b9c32c10fadf086 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f3857fe07a9f655ad39ca7746a621963ed8de63feca57f8a8c373c07a482501 [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" "5f3857fe07a9f655ad39ca7746a621963ed8de63feca57f8a8c373c07a482501", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [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 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [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] 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] note: required by a bound in `test_ema` [INFO] [stdout] --> src/lib.rs:315:18 [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] [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] 359 | let mut ema = Ema::::default(); [INFO] [stdout] | ^^^^^^^^^^^ the trait `num_traits::Float` is not implemented for `bf16` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Ema` [INFO] [stdout] --> src/lib.rs:23:6 [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] [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] 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] note: required by a bound in `test_ema` [INFO] [stdout] --> src/lib.rs:315:18 [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] [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] 362 | let mut ema = Ema::::default(); [INFO] [stdout] | ^^^^^^^^^^ the trait `num_traits::Float` is not implemented for `f16` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Ema` [INFO] [stdout] --> src/lib.rs:23:6 [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] [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] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "5f3857fe07a9f655ad39ca7746a621963ed8de63feca57f8a8c373c07a482501", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f3857fe07a9f655ad39ca7746a621963ed8de63feca57f8a8c373c07a482501", kill_on_drop: false }` [INFO] [stdout] 5f3857fe07a9f655ad39ca7746a621963ed8de63feca57f8a8c373c07a482501