[INFO] updating cached repository https://github.com/iepathos/rust_testing_tutorial [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f1874c7f67ae0b074f59206d08506163f3c736fc [INFO] checking iepathos/rust_testing_tutorial against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiepathos%2Frust_testing_tutorial" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iepathos/rust_testing_tutorial on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/iepathos/rust_testing_tutorial [INFO] finished tweaking git repo https://github.com/iepathos/rust_testing_tutorial [INFO] tweaked toml for git repo https://github.com/iepathos/rust_testing_tutorial written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/iepathos/rust_testing_tutorial already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5e5e97c4cab673bc016e13b3e956f40312dc8f28abc349cb86f7c93651cd4b29 [INFO] running `"docker" "start" "-a" "5e5e97c4cab673bc016e13b3e956f40312dc8f28abc349cb86f7c93651cd4b29"` [INFO] [stderr] Checking testing_tutorial v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/lib.rs:16:32 [INFO] [stderr] | [INFO] [stderr] 16 | let result = add_three(5i); [INFO] [stderr] | ^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/lib.rs:23:33 [INFO] [stderr] | [INFO] [stderr] 23 | let result = times_four(5i); [INFO] [stderr] | ^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/lib.rs:16:32 [INFO] [stderr] | [INFO] [stderr] 16 | let result = add_three(5i); [INFO] [stderr] | ^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/lib.rs:23:33 [INFO] [stderr] | [INFO] [stderr] 23 | let result = times_four(5i); [INFO] [stderr] | ^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:1:32 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn add_three_times_four(x: int) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:1:40 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn add_three_times_four(x: int) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | fn add_three(x: int) -> int { x + 3 } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:5:25 [INFO] [stderr] | [INFO] [stderr] 5 | fn add_three(x: int) -> int { x + 3 } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | fn times_four(x: int) -> int { x * 4 } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:7:26 [INFO] [stderr] | [INFO] [stderr] 7 | fn times_four(x: int) -> int { x * 4 } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/lib.rs:18:20 [INFO] [stderr] | [INFO] [stderr] 18 | assert_eq!(8i, result); [INFO] [stderr] | ^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/lib.rs:25:20 [INFO] [stderr] | [INFO] [stderr] 25 | assert_eq!(20i, result); [INFO] [stderr] | ^^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0412`. [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:1:32 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn add_three_times_four(x: int) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:1:40 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn add_three_times_four(x: int) -> int { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | fn add_three(x: int) -> int { x + 3 } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:5:25 [INFO] [stderr] | [INFO] [stderr] 5 | fn add_three(x: int) -> int { x + 3 } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | fn times_four(x: int) -> int { x * 4 } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `int` in this scope [INFO] [stderr] --> src/lib.rs:7:26 [INFO] [stderr] | [INFO] [stderr] 7 | fn times_four(x: int) -> int { x * 4 } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: could not compile `testing_tutorial`. [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: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `testing_tutorial`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "5e5e97c4cab673bc016e13b3e956f40312dc8f28abc349cb86f7c93651cd4b29"` [INFO] running `"docker" "rm" "-f" "5e5e97c4cab673bc016e13b3e956f40312dc8f28abc349cb86f7c93651cd4b29"` [INFO] [stdout] 5e5e97c4cab673bc016e13b3e956f40312dc8f28abc349cb86f7c93651cd4b29