[INFO] updating cached repository https://github.com/bookinstock/rust_example [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] c83d144f2d500cd60a59da5019b4bc5ca7d2d36f [INFO] checking bookinstock/rust_example against master#6d69caba110c0c2fb90180df1cbc8be5033b91d4 for pr-69530 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbookinstock%2Frust_example" "/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/bookinstock/rust_example on toolchain 6d69caba110c0c2fb90180df1cbc8be5033b91d4 [INFO] running `"/workspace/cargo-home/bin/cargo" "+6d69caba110c0c2fb90180df1cbc8be5033b91d4" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/bookinstock/rust_example [INFO] finished tweaking git repo https://github.com/bookinstock/rust_example [INFO] tweaked toml for git repo https://github.com/bookinstock/rust_example written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/bookinstock/rust_example already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+6d69caba110c0c2fb90180df1cbc8be5033b91d4" "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" "+6d69caba110c0c2fb90180df1cbc8be5033b91d4" "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] 2a24ef046adf910327ddcc9ccc206a7434316ec4d5c3adc5db2bea061ca0438a [INFO] running `"docker" "start" "-a" "2a24ef046adf910327ddcc9ccc206a7434316ec4d5c3adc5db2bea061ca0438a"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Checking rust_example v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `futures` [INFO] [stderr] --> src/bin/async.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use futures::executor::block_on; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `futures` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `block_on` in this scope [INFO] [stderr] --> src/bin/async.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | block_on(future); // `future` is run and "hello, world!" is printed [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `rust_example`. [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[E0601]: `main` function not found in crate `trait` [INFO] [stderr] --> src/bin/trait.rs:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | */ [INFO] [stderr] | ^ consider adding a `main` function to `src/bin/trait.rs` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0601`. [INFO] [stderr] error: could not compile `rust_example`. [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] warning: unused variable: `noisy_unused_variable` [INFO] [stderr] --> src/bin/var_binding.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | let noisy_unused_variable = 2u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: consider prefixing with an underscore: `_noisy_unused_variable` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Nil` [INFO] [stderr] --> src/bin/custom_type.rs:30:8 [INFO] [stderr] | [INFO] [stderr] 30 | struct Nil; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Rich` [INFO] [stderr] --> src/bin/custom_type.rs:117:9 [INFO] [stderr] | [INFO] [stderr] 117 | Rich, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Soldier` [INFO] [stderr] --> src/bin/custom_type.rs:123:9 [INFO] [stderr] | [INFO] [stderr] 123 | Soldier, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "2a24ef046adf910327ddcc9ccc206a7434316ec4d5c3adc5db2bea061ca0438a"` [INFO] running `"docker" "rm" "-f" "2a24ef046adf910327ddcc9ccc206a7434316ec4d5c3adc5db2bea061ca0438a"` [INFO] [stdout] 2a24ef046adf910327ddcc9ccc206a7434316ec4d5c3adc5db2bea061ca0438a