[INFO] cloning repository https://github.com/iepathos/rust_testing_tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iepathos/rust_testing_tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiepathos%2Frust_testing_tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiepathos%2Frust_testing_tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f1874c7f67ae0b074f59206d08506163f3c736fc [INFO] checking iepathos/rust_testing_tutorial against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiepathos%2Frust_testing_tutorial" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iepathos/rust_testing_tutorial on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", 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] 2aa992c424573087536f56a7915ed34a953f20fe32aeb72e74a5d75a9b618bee [INFO] running `Command { std: "docker" "start" "-a" "2aa992c424573087536f56a7915ed34a953f20fe32aeb72e74a5d75a9b618bee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2aa992c424573087536f56a7915ed34a953f20fe32aeb72e74a5d75a9b618bee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2aa992c424573087536f56a7915ed34a953f20fe32aeb72e74a5d75a9b618bee", kill_on_drop: false }` [INFO] [stdout] 2aa992c424573087536f56a7915ed34a953f20fe32aeb72e74a5d75a9b618bee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e806a50304b0a94e7c0cfc945cba11523cbe7fb634b5c278eba249751dc93081 [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" "e806a50304b0a94e7c0cfc945cba11523cbe7fb634b5c278eba249751dc93081", kill_on_drop: false }` [INFO] [stderr] Checking testing_tutorial v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/lib.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | let result = add_three(5i); [INFO] [stdout] | ^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/lib.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | let result = times_four(5i); [INFO] [stdout] | ^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn add_three_times_four(x: int) -> int { [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/lib.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn add_three_times_four(x: int) -> int { [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/lib.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | fn add_three(x: int) -> int { x + 3 } [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/lib.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | fn add_three(x: int) -> int { x + 3 } [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/lib.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | fn times_four(x: int) -> int { x * 4 } [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/lib.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | fn times_four(x: int) -> int { x * 4 } [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [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] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/lib.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | let result = add_three(5i); [INFO] [stdout] | ^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/lib.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | let result = times_four(5i); [INFO] [stdout] | ^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/lib.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | assert_eq!(8i, result); [INFO] [stdout] | ^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/lib.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(20i, result); [INFO] [stdout] | ^^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/lib.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn add_three_times_four(x: int) -> int { [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/lib.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn add_three_times_four(x: int) -> int { [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/lib.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | fn add_three(x: int) -> int { x + 3 } [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/lib.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | fn add_three(x: int) -> int { x + 3 } [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/lib.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | fn times_four(x: int) -> int { x * 4 } [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/lib.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | fn times_four(x: int) -> int { x * 4 } [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e806a50304b0a94e7c0cfc945cba11523cbe7fb634b5c278eba249751dc93081", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e806a50304b0a94e7c0cfc945cba11523cbe7fb634b5c278eba249751dc93081", kill_on_drop: false }` [INFO] [stdout] e806a50304b0a94e7c0cfc945cba11523cbe7fb634b5c278eba249751dc93081