[INFO] fetching crate vkcargo 0.45.1... [INFO] testing vkcargo-0.45.1 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate vkcargo 0.45.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate vkcargo 0.45.1 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate vkcargo 0.45.1 [INFO] finished tweaking crates.io crate vkcargo 0.45.1 [INFO] tweaked toml for crates.io crate vkcargo 0.45.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate vkcargo 0.45.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded git2-curl v0.14.0 [INFO] [stderr] Downloaded crates-io v0.31.0 [INFO] [stderr] Downloaded libssh2-sys v0.2.16 [INFO] [stderr] Downloaded curl-sys v0.4.30+curl-7.69.1 [INFO] [stderr] Downloaded curl v0.4.28 [INFO] [stderr] Downloaded openssl-src v111.8.1+1.1.1f [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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] db5e6876310fedeb62fd3ab5f039cf69f5f12880a1ccb8d0f0d1c123fd3e33ac [INFO] running `Command { std: "docker" "start" "-a" "db5e6876310fedeb62fd3ab5f039cf69f5f12880a1ccb8d0f0d1c123fd3e33ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db5e6876310fedeb62fd3ab5f039cf69f5f12880a1ccb8d0f0d1c123fd3e33ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db5e6876310fedeb62fd3ab5f039cf69f5f12880a1ccb8d0f0d1c123fd3e33ac", kill_on_drop: false }` [INFO] [stdout] db5e6876310fedeb62fd3ab5f039cf69f5f12880a1ccb8d0f0d1c123fd3e33ac [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bff76f647bec047f45e6c02ba7c8b6af3a2e09bc6511ed0c66dad0861ef03ee8 [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" "bff76f647bec047f45e6c02ba7c8b6af3a2e09bc6511ed0c66dad0861ef03ee8", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling curl v0.4.28 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling utf8parse v0.1.1 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling shell-escape v0.1.4 [INFO] [stderr] Compiling bytesize v1.0.0 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling rustc-workspace-hack v1.0.0 [INFO] [stderr] Compiling opener v0.4.1 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling im-rc v14.3.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling vte v0.3.3 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling filetime v0.2.9 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling strip-ansi-escapes v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling bstr v0.2.12 [INFO] [stderr] Compiling tar v0.4.26 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_xoshiro v0.4.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling libnghttp2-sys v0.1.3 [INFO] [stderr] Compiling libssh2-sys v0.2.16 [INFO] [stderr] Compiling curl-sys v0.4.30+curl-7.69.1 [INFO] [stderr] Compiling libgit2-sys v0.12.2+1.0.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling sized-chunks v0.5.3 [INFO] [stderr] Compiling globset v0.4.5 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling ignore v0.4.14 [INFO] [stderr] Compiling crypto-hash v0.3.4 [INFO] [stderr] Compiling git2 v0.13.1 [INFO] [stderr] Compiling git2-curl v0.14.0 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling serde_ignored v0.1.1 [INFO] [stderr] Compiling cargo-platform v0.1.1 [INFO] [stderr] Compiling rustfix v0.5.1 [INFO] [stderr] Compiling crates-io v0.31.0 [INFO] [stderr] Compiling vkcargo v0.45.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/cargo/core/features.rs:398:10 [INFO] [stdout] | [INFO] [stdout] 398 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/cargo/core/workspace.rs:395:10 [INFO] [stdout] | [INFO] [stdout] 395 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `package_features` [INFO] [stdout] --> src/cargo/core/resolver/features.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | package_features: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/cargo/sources/git/utils.rs:841:17 [INFO] [stdout] | [INFO] [stdout] 841 | mem::replace(repo, new); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 00s [INFO] running `Command { std: "docker" "inspect" "bff76f647bec047f45e6c02ba7c8b6af3a2e09bc6511ed0c66dad0861ef03ee8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bff76f647bec047f45e6c02ba7c8b6af3a2e09bc6511ed0c66dad0861ef03ee8", kill_on_drop: false }` [INFO] [stdout] bff76f647bec047f45e6c02ba7c8b6af3a2e09bc6511ed0c66dad0861ef03ee8 [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 511f8fc44dfa8565590e319db7d37dd92305bca043f4c0d2f8333bd9d593df70 [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" "511f8fc44dfa8565590e319db7d37dd92305bca043f4c0d2f8333bd9d593df70", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/cargo/core/features.rs:398:10 [INFO] [stdout] | [INFO] [stdout] 398 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling vkcargo v0.45.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/cargo/core/workspace.rs:395:10 [INFO] [stdout] | [INFO] [stdout] 395 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `package_features` [INFO] [stdout] --> src/cargo/core/resolver/features.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | package_features: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/cargo/sources/git/utils.rs:841:17 [INFO] [stdout] | [INFO] [stdout] 841 | mem::replace(repo, new); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [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[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 `vkcargo` [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: cannot find attribute `cargo_test` in this scope [INFO] [stdout] --> tests/build-std/main.rs:63:3 [INFO] [stdout] | [INFO] [stdout] 63 | #[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:114:3 [INFO] [stdout] | [INFO] [stdout] 114 | #[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:157:3 [INFO] [stdout] | [INFO] [stdout] 157 | #[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:197:19 [INFO] [stdout] | [INFO] [stdout] 197 | 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:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | 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:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | 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:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let p = project() [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:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | 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:133:34 [INFO] [stdout] | [INFO] [stdout] 133 | .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:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | 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:202:15 [INFO] [stdout] | [INFO] [stdout] 202 | .join(rustc_host()) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 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] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/cargo/core/features.rs:398:10 [INFO] [stdout] | [INFO] [stdout] 398 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/cargo/lib.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(redundant_semicolons)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/cargo/core/workspace.rs:395:10 [INFO] [stdout] | [INFO] [stdout] 395 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "511f8fc44dfa8565590e319db7d37dd92305bca043f4c0d2f8333bd9d593df70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "511f8fc44dfa8565590e319db7d37dd92305bca043f4c0d2f8333bd9d593df70", kill_on_drop: false }` [INFO] [stdout] 511f8fc44dfa8565590e319db7d37dd92305bca043f4c0d2f8333bd9d593df70