[INFO] updating cached repository https://github.com/tthorn/Enums [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 25ed9cdfc10d9c1bdb2bccdcfe8f79da26a7c36b [INFO] checking tthorn/Enums against master#4ff32c07da9d97e6dc315a4a5c9ffbb797cb27bb for pr-64672 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftthorn%2FEnums" "work/builds/worker-1/source"` [INFO] [stderr] Cloning into 'work/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tthorn/Enums on toolchain 4ff32c07da9d97e6dc315a4a5c9ffbb797cb27bb [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+4ff32c07da9d97e6dc315a4a5c9ffbb797cb27bb" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/tthorn/Enums [INFO] finished tweaking git repo https://github.com/tthorn/Enums [INFO] tweaked toml for git repo https://github.com/tthorn/Enums written to work/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/tthorn/Enums already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+4ff32c07da9d97e6dc315a4a5c9ffbb797cb27bb" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+4ff32c07da9d97e6dc315a4a5c9ffbb797cb27bb" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] a34c3423f380b9a8d3a1129a341dda1df8ea08c123c89269700ae0a5d927c277 [INFO] running `"docker" "start" "-a" "a34c3423f380b9a8d3a1129a341dda1df8ea08c123c89269700ae0a5d927c277"` [INFO] [stderr] Checking enums v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:9:16 [INFO] [stderr] | [INFO] [stderr] 9 | fn findSign(a: int) -> Sign { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:19:27 [INFO] [stderr] | [INFO] [stderr] 19 | let input_num: Option = from_str(input.as_slice().trim()); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope [INFO] [stderr] --> src/main.rs:19:34 [INFO] [stderr] | [INFO] [stderr] 19 | let input_num: Option = from_str(input.as_slice().trim()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/main.rs:18:29 [INFO] [stderr] | [INFO] [stderr] 18 | let input = io::stdin().read_line().ok().expect("Failed to read line."); [INFO] [stderr] | ^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `usize` in the current scope [INFO] [stderr] --> src/main.rs:19:49 [INFO] [stderr] | [INFO] [stderr] 19 | let input_num: Option = from_str(input.as_slice().trim()); [INFO] [stderr] | ^^^^^^^^ method not found in `usize` [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0412, E0425, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `enums`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:9:16 [INFO] [stderr] | [INFO] [stderr] 9 | fn findSign(a: int) -> Sign { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/main.rs:19:27 [INFO] [stderr] | [INFO] [stderr] 19 | let input_num: Option = from_str(input.as_slice().trim()); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope [INFO] [stderr] --> src/main.rs:19:34 [INFO] [stderr] | [INFO] [stderr] 19 | let input_num: Option = from_str(input.as_slice().trim()); [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 0 parameters were supplied [INFO] [stderr] --> src/main.rs:18:29 [INFO] [stderr] | [INFO] [stderr] 18 | let input = io::stdin().read_line().ok().expect("Failed to read line."); [INFO] [stderr] | ^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `usize` in the current scope [INFO] [stderr] --> src/main.rs:19:49 [INFO] [stderr] | [INFO] [stderr] 19 | let input_num: Option = from_str(input.as_slice().trim()); [INFO] [stderr] | ^^^^^^^^ method not found in `usize` [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0412, E0425, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `enums`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a34c3423f380b9a8d3a1129a341dda1df8ea08c123c89269700ae0a5d927c277"` [INFO] running `"docker" "rm" "-f" "a34c3423f380b9a8d3a1129a341dda1df8ea08c123c89269700ae0a5d927c277"` [INFO] [stdout] a34c3423f380b9a8d3a1129a341dda1df8ea08c123c89269700ae0a5d927c277