[INFO] updating cached repository https://github.com/tthorn/Enums [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25ed9cdfc10d9c1bdb2bccdcfe8f79da26a7c36b [INFO] checking tthorn/Enums against master#e22b61bff0bdd08be7665607cb7be3748c8a35d2 for pr-74627 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftthorn%2FEnums" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tthorn/Enums on toolchain e22b61bff0bdd08be7665607cb7be3748c8a35d2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/tthorn/Enums already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad5a8f42018533aee749e286903f2264c75801252b8566a4969bccdfbc4fc30e [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" "ad5a8f42018533aee749e286903f2264c75801252b8566a4969bccdfbc4fc30e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad5a8f42018533aee749e286903f2264c75801252b8566a4969bccdfbc4fc30e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad5a8f42018533aee749e286903f2264c75801252b8566a4969bccdfbc4fc30e", kill_on_drop: false }` [INFO] [stdout] ad5a8f42018533aee749e286903f2264c75801252b8566a4969bccdfbc4fc30e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 696c3270df73ae30c83d84c1bc191002f7737f054df2542629f2f8c3251ce416 [INFO] running `Command { std: "docker" "start" "-a" "696c3270df73ae30c83d84c1bc191002f7737f054df2542629f2f8c3251ce416", kill_on_drop: false }` [INFO] [stderr] Checking enums v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | fn findSign(a: int) -> Sign { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | let input_num: Option = from_str(input.as_slice().trim()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/main.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | let input_num: Option = from_str(input.as_slice().trim()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | fn findSign(a: int) -> Sign { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | let input_num: Option = from_str(input.as_slice().trim()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/main.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | let input_num: Option = from_str(input.as_slice().trim()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | let input = io::stdin().read_line().ok().expect("Failed to read line."); [INFO] [stdout] | ^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | let input = io::stdin().read_line().ok().expect("Failed to read line."); [INFO] [stdout] | ^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for type `usize` in the current scope [INFO] [stdout] --> src/main.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | let input_num: Option = from_str(input.as_slice().trim()); [INFO] [stdout] | ^^^^^^^^ method not found in `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for type `usize` in the current scope [INFO] [stdout] --> src/main.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | let input_num: Option = from_str(input.as_slice().trim()); [INFO] [stdout] | ^^^^^^^^ method not found in `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0412, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0412, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `enums`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "696c3270df73ae30c83d84c1bc191002f7737f054df2542629f2f8c3251ce416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "696c3270df73ae30c83d84c1bc191002f7737f054df2542629f2f8c3251ce416", kill_on_drop: false }` [INFO] [stdout] 696c3270df73ae30c83d84c1bc191002f7737f054df2542629f2f8c3251ce416