[INFO] cloning repository Tretygon/Neural_Network [INFO] running `"git" "clone" "--bare" "git://github.com/Tretygon/Neural_Network.git" "work/cache/sources/gh/Tretygon/Neural_Network"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/Tretygon/Neural_Network'... [INFO] running `"git" "clone" "work/cache/sources/gh/Tretygon/Neural_Network" "work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/Tretygon/Neural_Network"` [INFO] [stderr] Cloning into 'work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/Tretygon/Neural_Network'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Tretygon/Neural_Network" "work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/Tretygon/Neural_Network"` [INFO] [stderr] Cloning into 'work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/Tretygon/Neural_Network'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d8b77af4837bf436456dbd530e15a43a8f11e017 [INFO] sha for GitHub repo Tretygon/Neural_Network: d8b77af4837bf436456dbd530e15a43a8f11e017 [INFO] validating manifest of Tretygon/Neural_Network on toolchain master#9f06855064ed06a50c496577b21ca50f92a2e67d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of Tretygon/Neural_Network on toolchain try#d3301713b54af69ca9de941a8c6b0d8287dbd6df [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing Tretygon/Neural_Network [INFO] finished frobbing Tretygon/Neural_Network [INFO] frobbed toml for Tretygon/Neural_Network written to work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/Tretygon/Neural_Network/Cargo.toml [INFO] started frobbing Tretygon/Neural_Network [INFO] finished frobbing Tretygon/Neural_Network [INFO] frobbed toml for Tretygon/Neural_Network written to work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/Tretygon/Neural_Network/Cargo.toml [INFO] crate Tretygon/Neural_Network already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] checking Tretygon/Neural_Network against master#9f06855064ed06a50c496577b21ca50f92a2e67d for pr-61874 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61874/worker-7/master#9f06855064ed06a50c496577b21ca50f92a2e67d:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/Tretygon/Neural_Network:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] d43183dc50fe2b060ca7f4e5605c25ae605121c330047f154d41b0a72a14dbcd [INFO] running `"docker" "start" "-a" "d43183dc50fe2b060ca7f4e5605c25ae605121c330047f154d41b0a72a14dbcd"` [INFO] [stderr] Checking mnist v0.4.0 [INFO] [stderr] Compiling syn v0.13.4 [INFO] [stderr] Compiling serde_derive_internals v0.23.1 [INFO] [stderr] Compiling serde_derive v1.0.45 [INFO] [stderr] Checking Neural_Network v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `x` [INFO] [stderr] --> src/main.rs:117:17 [INFO] [stderr] | [INFO] [stderr] 117 | x > 0_f32 ? x 0_f32 [INFO] [stderr] | ^ expected one of `.`, `;`, `?`, `}`, or an operator here [INFO] [stderr] [INFO] [stderr] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `x` [INFO] [stderr] --> src/main.rs:117:17 [INFO] [stderr] | [INFO] [stderr] 117 | x > 0_f32 ? x 0_f32 [INFO] [stderr] | ^ expected one of `.`, `;`, `?`, `}`, or an operator here [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try` [INFO] [stderr] --> src/main.rs:117:9 [INFO] [stderr] | [INFO] [stderr] 117 | x > 0_f32 ? x 0_f32 [INFO] [stderr] | ^^^^^^^ the `?` operator cannot be applied to type `f32` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `f32` [INFO] [stderr] = note: required by `std::ops::Try::into_result` [INFO] [stderr] [INFO] [stderr] error[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try` [INFO] [stderr] --> src/main.rs:117:9 [INFO] [stderr] | [INFO] [stderr] 117 | x > 0_f32 ? x 0_f32 [INFO] [stderr] | ^^^^^^^ the `?` operator cannot be applied to type `f32` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::Try` is not implemented for `f32` [INFO] [stderr] = note: required by `std::ops::Try::into_result` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 116 | pub fn relu(x: f32)-> f32{ [INFO] [stderr] | --- expected `f32` because of return type [INFO] [stderr] 117 | x > 0_f32 ? x 0_f32 [INFO] [stderr] | ^^^^^^^^^^^ expected f32, found bool [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `Neural_Network`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 116 | pub fn relu(x: f32)-> f32{ [INFO] [stderr] | --- expected `f32` because of return type [INFO] [stderr] 117 | x > 0_f32 ? x 0_f32 [INFO] [stderr] | ^^^^^^^^^^^ expected f32, found bool [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `Neural_Network`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d43183dc50fe2b060ca7f4e5605c25ae605121c330047f154d41b0a72a14dbcd"` [INFO] running `"docker" "rm" "-f" "d43183dc50fe2b060ca7f4e5605c25ae605121c330047f154d41b0a72a14dbcd"` [INFO] [stdout] d43183dc50fe2b060ca7f4e5605c25ae605121c330047f154d41b0a72a14dbcd