[INFO] fetching crate cargo 0.57.0... [INFO] testing cargo-0.57.0 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate cargo 0.57.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate cargo 0.57.0 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cargo 0.57.0 [INFO] finished tweaking crates.io crate cargo 0.57.0 [INFO] tweaked toml for crates.io crate cargo 0.57.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate cargo 0.57.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded opener v0.5.0 [INFO] [stderr] Downloaded rustfix v0.6.0 [INFO] [stderr] Downloaded strip-ansi-escapes v0.1.1 [INFO] [stderr] Downloaded vte_generate_state_changes v0.1.1 [INFO] [stderr] Downloaded cargo-util v0.1.1 [INFO] [stderr] Downloaded vte v0.10.1 [INFO] [stderr] Downloaded crates-io v0.33.0 [INFO] [stderr] Downloaded curl v0.4.39 [INFO] [stderr] Downloaded libnghttp2-sys v0.1.7+1.45.0 [INFO] [stderr] Downloaded curl-sys v0.4.49+curl-7.79.1 [INFO] [stderr] Downloaded openssl-src v111.16.0+1.1.1l [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4bbbc7ea0ca6c5ea42326007d149b601baf975a0b9266fbf212865c56fabbd51 [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" "4bbbc7ea0ca6c5ea42326007d149b601baf975a0b9266fbf212865c56fabbd51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bbbc7ea0ca6c5ea42326007d149b601baf975a0b9266fbf212865c56fabbd51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bbbc7ea0ca6c5ea42326007d149b601baf975a0b9266fbf212865c56fabbd51", kill_on_drop: false }` [INFO] [stdout] 4bbbc7ea0ca6c5ea42326007d149b601baf975a0b9266fbf212865c56fabbd51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a7e7990d956cd829e1a2b620ecf4782663ea5db212d8f02e8f6017bc5ad9931 [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" "0a7e7990d956cd829e1a2b620ecf4782663ea5db212d8f02e8f6017bc5ad9931", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.14 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling curl v0.4.39 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling utf8parse v0.2.0 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling shell-escape v0.1.5 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-workspace-hack v1.0.0 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling bytesize v1.1.0 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling im-rc v15.0.0 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling opener v0.5.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Compiling tar v0.4.37 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling vte v0.10.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling openssl-sys v0.9.67 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling libnghttp2-sys v0.1.7+1.45.0 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling curl-sys v0.4.49+curl-7.79.1 [INFO] [stderr] Compiling libgit2-sys v0.12.24+1.3.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling strip-ansi-escapes v0.1.1 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling globset v0.4.8 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling cargo v0.57.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling ignore v0.4.18 [INFO] [stderr] Compiling crypto-hash v0.3.4 [INFO] [stderr] Compiling cargo-util v0.1.1 [INFO] [stderr] Compiling git2 v0.13.23 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling git2-curl v0.14.1 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_ignored v0.1.2 [INFO] [stderr] Compiling rustfix v0.6.0 [INFO] [stderr] Compiling crates-io v0.33.0 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 59s [INFO] running `Command { std: "docker" "inspect" "0a7e7990d956cd829e1a2b620ecf4782663ea5db212d8f02e8f6017bc5ad9931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a7e7990d956cd829e1a2b620ecf4782663ea5db212d8f02e8f6017bc5ad9931", kill_on_drop: false }` [INFO] [stdout] 0a7e7990d956cd829e1a2b620ecf4782663ea5db212d8f02e8f6017bc5ad9931 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0ff1e9be6f657d608f05005f5a2332ecb0a8e437581541ebf1a6e946472cc57 [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" "f0ff1e9be6f657d608f05005f5a2332ecb0a8e437581541ebf1a6e946472cc57", kill_on_drop: false }` [INFO] [stderr] Compiling cargo v0.57.0 (/opt/rustwide/workdir) [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:130:3 [INFO] [stdout] | [INFO] [stdout] 130 | #[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:173:3 [INFO] [stdout] | [INFO] [stdout] 173 | #[cargo_test(build_std)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `paths` [INFO] [stdout] --> tests/build-std/main.rs:213:19 [INFO] [stdout] | [INFO] [stdout] 213 | 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:123:15 [INFO] [stdout] | [INFO] [stdout] 123 | .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:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | 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:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | .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:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | 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:218:15 [INFO] [stdout] | [INFO] [stdout] 218 | .join(rustc_host()) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `cargo_test_macro` [INFO] [stdout] --> tests/testsuite/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | 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` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "f0ff1e9be6f657d608f05005f5a2332ecb0a8e437581541ebf1a6e946472cc57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0ff1e9be6f657d608f05005f5a2332ecb0a8e437581541ebf1a6e946472cc57", kill_on_drop: false }` [INFO] [stdout] f0ff1e9be6f657d608f05005f5a2332ecb0a8e437581541ebf1a6e946472cc57