[INFO] cloning repository https://github.com/OchirErkhembayar/rustgrad [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OchirErkhembayar/rustgrad" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOchirErkhembayar%2Frustgrad", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOchirErkhembayar%2Frustgrad'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b6ab3feb257e0bdb0d0ad0e2bea48a2dec245633 [INFO] checking OchirErkhembayar/rustgrad against try#8d46be77cd48fdbcced888d027457e2c9cf2aa16 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOchirErkhembayar%2Frustgrad" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/OchirErkhembayar/rustgrad on toolchain 8d46be77cd48fdbcced888d027457e2c9cf2aa16 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/OchirErkhembayar/rustgrad [INFO] finished tweaking git repo https://github.com/OchirErkhembayar/rustgrad [INFO] tweaked toml for git repo https://github.com/OchirErkhembayar/rustgrad written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/OchirErkhembayar/rustgrad already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4089f8e86f896b192581bf8be44915516dfd38c43c7ce1f825135e47caab19e3 [INFO] running `Command { std: "docker" "start" "-a" "4089f8e86f896b192581bf8be44915516dfd38c43c7ce1f825135e47caab19e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4089f8e86f896b192581bf8be44915516dfd38c43c7ce1f825135e47caab19e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4089f8e86f896b192581bf8be44915516dfd38c43c7ce1f825135e47caab19e3", kill_on_drop: false }` [INFO] [stdout] 4089f8e86f896b192581bf8be44915516dfd38c43c7ce1f825135e47caab19e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8d46be77cd48fdbcced888d027457e2c9cf2aa16" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e7b3daf9460fb66212ea18d9c521815f96315f15cbea9295f3a06a9cf49a7ea [INFO] running `Command { std: "docker" "start" "-a" "2e7b3daf9460fb66212ea18d9c521815f96315f15cbea9295f3a06a9cf49a7ea", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rustgrad v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/engine.rs:331:20 [INFO] [stdout] | [INFO] [stdout] 331 | let c = &b - 2.0; [INFO] [stdout] | ^ the trait `From` is not implemented for `f32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f32` implements `From<&engine::Val>` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From>` [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required for `engine::Val` to implement `From` [INFO] [stdout] --> src/engine.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | impl From for Val [INFO] [stdout] | ^^^^^^^ ^^^ [INFO] [stdout] 74 | where [INFO] [stdout] 75 | T: Into, [INFO] [stdout] | --------- unsatisfied trait bound introduced here [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required for `&engine::Val` to implement `Sub` [INFO] [stdout] --> src/engine.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | impl> Sub for &Val { [INFO] [stdout] | --------- ^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/engine.rs:349:36 [INFO] [stdout] | [INFO] [stdout] 349 | let mut d = &a * &b + (&b).pow(3.0); [INFO] [stdout] | ^^^ the trait `From` is not implemented for `f32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f32` implements `From<&engine::Val>` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From>` [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required for `&engine::Val` to implement `num_traits::Pow` [INFO] [stdout] --> src/engine.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 270 | impl> Pow for &Val { [INFO] [stdout] | --------- ^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/engine.rs:355:19 [INFO] [stdout] | [INFO] [stdout] 355 | let f = e.pow(2.0); [INFO] [stdout] | ^^^ the trait `From` is not implemented for `f32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f32` implements `From<&engine::Val>` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From>` [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required for `engine::Val` to implement `num_traits::Pow` [INFO] [stdout] --> src/engine.rs:260:20 [INFO] [stdout] | [INFO] [stdout] 260 | impl> Pow for Val { [INFO] [stdout] | --------- ^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/engine.rs:356:24 [INFO] [stdout] | [INFO] [stdout] 356 | let mut g = &f / 2.0; [INFO] [stdout] | ^ the trait `From` is not implemented for `f32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f32` implements `From<&engine::Val>` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From>` [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required for `engine::Val` to implement `From` [INFO] [stdout] --> src/engine.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | impl From for Val [INFO] [stdout] | ^^^^^^^ ^^^ [INFO] [stdout] 74 | where [INFO] [stdout] 75 | T: Into, [INFO] [stdout] | --------- unsatisfied trait bound introduced here [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required for `&engine::Val` to implement `Div` [INFO] [stdout] --> src/engine.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | impl> Div for &Val { [INFO] [stdout] | --------- ^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/nn.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | bias: rng.gen_range(-1.0..=1.0).into(), [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `f32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f32` implements `From<&Val>` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From>` [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required for `Val` to implement `From` [INFO] [stdout] --> src/engine.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | impl From for Val [INFO] [stdout] | ^^^^^^^ ^^^ [INFO] [stdout] 74 | where [INFO] [stdout] 75 | T: Into, [INFO] [stdout] | --------- unsatisfied trait bound introduced here [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/nn.rs:28:81 [INFO] [stdout] | [INFO] [stdout] 28 | let weights = Vec::from_iter((0..nin).map(|_| rng.gen_range(-1.0..=1.0).into())); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `f32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f32` implements `From<&Val>` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From>` [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required for `Val` to implement `From` [INFO] [stdout] --> src/engine.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | impl From for Val [INFO] [stdout] | ^^^^^^^ ^^^ [INFO] [stdout] 74 | where [INFO] [stdout] 75 | T: Into, [INFO] [stdout] | --------- unsatisfied trait bound introduced here [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/nn.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | bias: rng.gen_range(-1.0..=1.0).into(), [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `f32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f32` implements `From<&engine::Val>` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From>` [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required for `engine::Val` to implement `From` [INFO] [stdout] --> src/engine.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | impl From for Val [INFO] [stdout] | ^^^^^^^ ^^^ [INFO] [stdout] 74 | where [INFO] [stdout] 75 | T: Into, [INFO] [stdout] | --------- unsatisfied trait bound introduced here [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/nn.rs:28:81 [INFO] [stdout] | [INFO] [stdout] 28 | let weights = Vec::from_iter((0..nin).map(|_| rng.gen_range(-1.0..=1.0).into())); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `f32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f32` implements `From<&engine::Val>` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From>` [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required for `engine::Val` to implement `From` [INFO] [stdout] --> src/engine.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | impl From for Val [INFO] [stdout] | ^^^^^^^ ^^^ [INFO] [stdout] 74 | where [INFO] [stdout] 75 | T: Into, [INFO] [stdout] | --------- unsatisfied trait bound introduced here [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/lib.rs:10:47 [INFO] [stdout] | [INFO] [stdout] 10 | .map(|(pred, actual)| (pred - actual).pow(2.0)) [INFO] [stdout] | ^^^ the trait `From` is not implemented for `f32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f32` implements `From<&engine::Val>` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From>` [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required for `engine::Val` to implement `num_traits::Pow` [INFO] [stdout] --> src/engine.rs:260:20 [INFO] [stdout] | [INFO] [stdout] 260 | impl> Pow for Val { [INFO] [stdout] | --------- ^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/lib.rs:10:47 [INFO] [stdout] | [INFO] [stdout] 10 | .map(|(pred, actual)| (pred - actual).pow(2.0)) [INFO] [stdout] | ^^^ the trait `From` is not implemented for `f32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f32` implements `From<&Val>` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From>` [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] note: required for `Val` to implement `Pow` [INFO] [stdout] --> src/engine.rs:260:20 [INFO] [stdout] | [INFO] [stdout] 260 | impl> Pow for Val { [INFO] [stdout] | --------- ^^^^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustgrad` (lib test) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rustgrad` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "2e7b3daf9460fb66212ea18d9c521815f96315f15cbea9295f3a06a9cf49a7ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e7b3daf9460fb66212ea18d9c521815f96315f15cbea9295f3a06a9cf49a7ea", kill_on_drop: false }` [INFO] [stdout] 2e7b3daf9460fb66212ea18d9c521815f96315f15cbea9295f3a06a9cf49a7ea