[INFO] fetching crate cargo 0.48.0... [INFO] checking cargo-0.48.0 against beta for pr-78714 [INFO] extracting crate cargo 0.48.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate cargo 0.48.0 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate cargo 0.48.0 [INFO] finished tweaking crates.io crate cargo 0.48.0 [INFO] tweaked toml for crates.io crate cargo 0.48.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate crates.io crate cargo 0.48.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8a20e6e93609024f808795095d9e569c03c072c1a5424d5074c6263eab20b17 [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" "e8a20e6e93609024f808795095d9e569c03c072c1a5424d5074c6263eab20b17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8a20e6e93609024f808795095d9e569c03c072c1a5424d5074c6263eab20b17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8a20e6e93609024f808795095d9e569c03c072c1a5424d5074c6263eab20b17", kill_on_drop: false }` [INFO] [stdout] e8a20e6e93609024f808795095d9e569c03c072c1a5424d5074c6263eab20b17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 159151f8233622b54a4712feba438d394cb1e4ceb62f0d6782078f938e76998c [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" "159151f8233622b54a4712feba438d394cb1e4ceb62f0d6782078f938e76998c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling syn v1.0.37 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling curl v0.4.31 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling im-rc v15.0.0 [INFO] [stderr] Checking globset v0.4.5 [INFO] [stderr] Checking ignore v0.4.16 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.2.12 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking jobserver v0.1.21 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking tar v0.4.29 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xoshiro v0.4.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libnghttp2-sys v0.1.4+1.41.0 [INFO] [stderr] Compiling libssh2-sys v0.2.18 [INFO] [stderr] Compiling curl-sys v0.4.33+curl-7.71.1 [INFO] [stderr] Compiling libgit2-sys v0.12.9+1.0.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking flate2 v1.0.16 [INFO] [stderr] Compiling cargo v0.48.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking sized-chunks v0.6.2 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Checking crypto-hash v0.3.4 [INFO] [stderr] Checking git2 v0.13.8 [INFO] [stderr] Checking git2-curl v0.14.0 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking semver v0.10.0 [INFO] [stderr] Checking serde_ignored v0.1.2 [INFO] [stderr] Checking cargo-platform v0.1.1 [INFO] [stderr] Checking rustfix v0.5.1 [INFO] [stderr] Checking crates-io v0.31.1 [INFO] [stdout] error[E0432]: unresolved import `cargo_test_support` [INFO] [stdout] --> tests/build-std/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use cargo_test_support::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `cargo_test_support` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `cargo_test` in this scope [INFO] [stdout] --> tests/build-std/main.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 62 | #[cargo_test(build_std)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `cargo_test` in this scope [INFO] [stdout] --> tests/build-std/main.rs:121:3 [INFO] [stdout] | [INFO] [stdout] 121 | #[cargo_test(build_std)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `cargo_test` in this scope [INFO] [stdout] --> tests/build-std/main.rs:164:3 [INFO] [stdout] | [INFO] [stdout] 164 | #[cargo_test(build_std)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `cargo_test_macro` [INFO] [stdout] --> tests/testsuite/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern crate cargo_test_macro; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo` [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[E0433]: failed to resolve: use of undeclared crate or module `paths` [INFO] [stdout] --> tests/build-std/main.rs:204:19 [INFO] [stdout] | [INFO] [stdout] 204 | let sysroot = paths::sysroot(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `paths` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Execs` in this scope [INFO] [stdout] --> tests/build-std/main.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | fn enable_build_std(e: &mut Execs, arg: Option<&str>) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Execs` in this scope [INFO] [stdout] --> tests/build-std/main.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | impl BuildStd for Execs { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rustc_host` in this scope [INFO] [stdout] --> tests/build-std/main.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | self.arg("--target").arg(rustc_host()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `project` in this scope [INFO] [stdout] --> tests/build-std/main.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let p = project() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rustc_host` in this scope [INFO] [stdout] --> tests/build-std/main.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | .join(rustc_host()) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `project` in this scope [INFO] [stdout] --> tests/build-std/main.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let p = project() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `basic_manifest` in this scope [INFO] [stdout] --> tests/build-std/main.rs:140:34 [INFO] [stdout] | [INFO] [stdout] 140 | .file("dep/Cargo.toml", &basic_manifest("dep", "0.1.0")) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `project` in this scope [INFO] [stdout] --> tests/build-std/main.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | let p = project() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `rustc_host` in this scope [INFO] [stdout] --> tests/build-std/main.rs:209:15 [INFO] [stdout] | [INFO] [stdout] 209 | .join(rustc_host()) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "159151f8233622b54a4712feba438d394cb1e4ceb62f0d6782078f938e76998c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "159151f8233622b54a4712feba438d394cb1e4ceb62f0d6782078f938e76998c", kill_on_drop: false }` [INFO] [stdout] 159151f8233622b54a4712feba438d394cb1e4ceb62f0d6782078f938e76998c