[INFO] updating cached repository Tretygon/Neural_Network [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Tretygon/Neural_Network [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Tretygon/Neural_Network" "work/ex/pr-62507/sources/master#78ca1bda3522b14bc0336bc01dd1d49fdba2cda7/gh/Tretygon/Neural_Network"` [INFO] [stderr] Cloning into 'work/ex/pr-62507/sources/master#78ca1bda3522b14bc0336bc01dd1d49fdba2cda7/gh/Tretygon/Neural_Network'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Tretygon/Neural_Network" "work/ex/pr-62507/sources/try#18481b65f318e0b4b20c0fc61340054701719d6c/gh/Tretygon/Neural_Network"` [INFO] [stderr] Cloning into 'work/ex/pr-62507/sources/try#18481b65f318e0b4b20c0fc61340054701719d6c/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#78ca1bda3522b14bc0336bc01dd1d49fdba2cda7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+78ca1bda3522b14bc0336bc01dd1d49fdba2cda7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of Tretygon/Neural_Network on toolchain try#18481b65f318e0b4b20c0fc61340054701719d6c [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+18481b65f318e0b4b20c0fc61340054701719d6c-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-62507/sources/master#78ca1bda3522b14bc0336bc01dd1d49fdba2cda7/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-62507/sources/try#18481b65f318e0b4b20c0fc61340054701719d6c/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" "+78ca1bda3522b14bc0336bc01dd1d49fdba2cda7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+18481b65f318e0b4b20c0fc61340054701719d6c-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking Tretygon/Neural_Network against master#78ca1bda3522b14bc0336bc01dd1d49fdba2cda7 for pr-62507 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-62507/worker-3/master#78ca1bda3522b14bc0336bc01dd1d49fdba2cda7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-62507/sources/master#78ca1bda3522b14bc0336bc01dd1d49fdba2cda7/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" "+78ca1bda3522b14bc0336bc01dd1d49fdba2cda7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 7e9dff9891c2bca2a9f1e3bf96c0e327b5c9a7a82e9d85d8c7517b633839a8b0 [INFO] running `"docker" "start" "-a" "7e9dff9891c2bca2a9f1e3bf96c0e327b5c9a7a82e9d85d8c7517b633839a8b0"` [INFO] [stderr] Checking mnist v0.4.0 [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" "7e9dff9891c2bca2a9f1e3bf96c0e327b5c9a7a82e9d85d8c7517b633839a8b0"` [INFO] running `"docker" "rm" "-f" "7e9dff9891c2bca2a9f1e3bf96c0e327b5c9a7a82e9d85d8c7517b633839a8b0"` [INFO] [stdout] 7e9dff9891c2bca2a9f1e3bf96c0e327b5c9a7a82e9d85d8c7517b633839a8b0