[INFO] updating cached repository https://github.com/skreimeyer/stringer [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] f46c3d8b823d70c4411afe2ebfae75f69b0a2f10 [INFO] testing skreimeyer/stringer against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskreimeyer%2Fstringer" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/skreimeyer/stringer on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/skreimeyer/stringer [INFO] finished tweaking git repo https://github.com/skreimeyer/stringer [INFO] tweaked toml for git repo https://github.com/skreimeyer/stringer written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/skreimeyer/stringer already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (proc-macro2) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 813eb6d606a8ccadd84d59d7fe0a72b71f47a4cb3f5641394cdd5292cbb55a2e [INFO] running `"docker" "start" "-a" "813eb6d606a8ccadd84d59d7fe0a72b71f47a4cb3f5641394cdd5292cbb55a2e"` [INFO] [stderr] warning: dependency (proc-macro2) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling stringer v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.53s [INFO] running `"docker" "inspect" "813eb6d606a8ccadd84d59d7fe0a72b71f47a4cb3f5641394cdd5292cbb55a2e"` [INFO] running `"docker" "rm" "-f" "813eb6d606a8ccadd84d59d7fe0a72b71f47a4cb3f5641394cdd5292cbb55a2e"` [INFO] [stdout] 813eb6d606a8ccadd84d59d7fe0a72b71f47a4cb3f5641394cdd5292cbb55a2e [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3f8709d3e388569c9c8788ec6537b1cab14d168a7ef967a56bed8fb32a6e2cdc [INFO] running `"docker" "start" "-a" "3f8709d3e388569c9c8788ec6537b1cab14d168a7ef967a56bed8fb32a6e2cdc"` [INFO] [stderr] warning: dependency (proc-macro2) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling stringer v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: expected one of `::`, `;`, or `as`, found keyword `fn` [INFO] [stderr] --> examples/blockcomment.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 8 | use std::f64::consts::PI [INFO] [stderr] | - expected one of `::`, `;`, or `as` [INFO] [stderr] 9 | [INFO] [stderr] 10 | fn main() { [INFO] [stderr] | ^^ unexpected token [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: could not compile `stringer`. [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[E0449]: unnecessary visibility qualifier [INFO] [stderr] --> examples/structsandmethods.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn area(&self) -> i32 { [INFO] [stderr] | ^^^ `pub` not permitted here because it's implied [INFO] [stderr] [INFO] [stderr] error[E0449]: unnecessary visibility qualifier [INFO] [stderr] --> examples/structsandmethods.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn area(&self) -> i32 { [INFO] [stderr] | ^^^ `pub` not permitted here because it's implied [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from` in module `std::i32` [INFO] [stderr] --> examples/structsandmethods.rs:31:26 [INFO] [stderr] | [INFO] [stderr] 31 | return std::i32::from(farea); [INFO] [stderr] | ^^^^ not found in `std::i32` [INFO] [stderr] [INFO] [stderr] error[E0601]: `main` function not found in crate `structsandmethods` [INFO] [stderr] --> examples/structsandmethods.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / pub struct Point { [INFO] [stderr] 2 | | x: i32, [INFO] [stderr] 3 | | y: i32, [INFO] [stderr] 4 | | } [INFO] [stderr] ... | [INFO] [stderr] 32 | | } [INFO] [stderr] 33 | | } [INFO] [stderr] | |_^ consider adding a `main` function to `examples/structsandmethods.rs` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0449, E0601. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `stringer`. [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 `"docker" "inspect" "3f8709d3e388569c9c8788ec6537b1cab14d168a7ef967a56bed8fb32a6e2cdc"` [INFO] running `"docker" "rm" "-f" "3f8709d3e388569c9c8788ec6537b1cab14d168a7ef967a56bed8fb32a6e2cdc"` [INFO] [stdout] 3f8709d3e388569c9c8788ec6537b1cab14d168a7ef967a56bed8fb32a6e2cdc