[INFO] fetching crate repomd 0.0.1... [INFO] checking repomd-0.0.1 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate repomd 0.0.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate repomd 0.0.1 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate repomd 0.0.1 [INFO] finished tweaking crates.io crate repomd 0.0.1 [INFO] tweaked toml for crates.io crate repomd 0.0.1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87497be31ddd04fb551558de8366ad67468dd36055c3616b5821221c842b97d1 [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" "87497be31ddd04fb551558de8366ad67468dd36055c3616b5821221c842b97d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87497be31ddd04fb551558de8366ad67468dd36055c3616b5821221c842b97d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87497be31ddd04fb551558de8366ad67468dd36055c3616b5821221c842b97d1", kill_on_drop: false }` [INFO] [stdout] 87497be31ddd04fb551558de8366ad67468dd36055c3616b5821221c842b97d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88d358d17bbf7aefcc69007ca57f33e4229eeae362b0625f6a6c468d49c035d9 [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" "88d358d17bbf7aefcc69007ca57f33e4229eeae362b0625f6a6c468d49c035d9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking subtle v2.3.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling crc24 v0.1.6 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Checking signature v1.2.2 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking circular v0.3.0 [INFO] [stderr] Checking libflate_lz77 v1.0.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking cpio v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling clear_on_drop v0.2.4 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking try_from v0.3.2 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking ed25519 v1.0.2 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling num-bigint-dig v0.6.0 [INFO] [stderr] Checking libflate v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking flate2 v1.0.18 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking compression v0.1.5 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking pem v0.8.1 [INFO] [stderr] Compiling enum-display-derive v0.1.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-cipher v0.7.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking stream-cipher v0.4.1 [INFO] [stderr] Checking aes-soft v0.4.0 [INFO] [stderr] Checking cfb-mode v0.4.0 [INFO] [stderr] Checking cast5 v0.7.0 [INFO] [stderr] Checking block-modes v0.5.0 [INFO] [stderr] Checking twofish v0.3.0 [INFO] [stderr] Checking blowfish v0.5.0 [INFO] [stderr] Checking des v0.4.0 [INFO] [stderr] Checking sha2 v0.9.1 [INFO] [stderr] Checking sha-1 v0.9.1 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking ripemd160 v0.9.1 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking aes v0.4.0 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling num-derive v0.3.2 [INFO] [stderr] Compiling strum_macros v0.19.4 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Checking zeroize v1.1.1 [INFO] [stderr] Checking curve25519-dalek v3.0.0 [INFO] [stderr] Checking curve25519-dalek v2.1.0 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Checking thiserror v1.0.21 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Checking which v4.0.2 [INFO] [stderr] Checking x25519-dalek v0.6.0 [INFO] [stderr] Checking serde v1.0.116 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking serde_json v1.0.58 [INFO] [stderr] Checking quick-xml v0.18.1 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Checking repomd v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde` [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/servings/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Duration` [INFO] [stdout] --> src/servings/repofile.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `strum` [INFO] [stdout] --> src/servings/repofile.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use strum; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rsa v0.3.0 [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/servings/other.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | fn new(repo: &'a Repo) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_toml` [INFO] [stdout] --> src/servings/repofile.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | fn as_toml(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pgp v0.6.1 [INFO] [stderr] Checking rpm-rs v0.6.0 [INFO] [stdout] error: couldn't read src/../groundtruth/repodata/repomd.xml: No such file or directory (os error 2) [INFO] [stdout] --> src/integration.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | include_bytes!("../groundtruth/repodata/repomd.xml") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../groundtruth/repodata/349b990aa8a8c9a8ad1b85866a00e8a8b87d9e2b66e7e10491f8d189621a41ea-primary.xml.gz: No such file or directory (os error 2) [INFO] [stdout] --> src/integration.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | include_bytes!("../groundtruth/repodata/349b990aa8a8c9a8ad1b85866a00e8a8b87d9e2b66e7e10491f8d189621a41ea-primary.xml.gz") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../groundtruth/repodata/9d2b70627231fc3d6abc0c6e41a425b2a888213a30745acffb2b670b5727a12f-filelists.xml.gz: No such file or directory (os error 2) [INFO] [stdout] --> src/integration.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | include_bytes!("../groundtruth/repodata/9d2b70627231fc3d6abc0c6e41a425b2a888213a30745acffb2b670b5727a12f-filelists.xml.gz") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../groundtruth/repodata/0f12187e68182b9f05d922d8f480316e78da5ce7e3b028b31c53e9d373d8b6d4-other.xml.gz: No such file or directory (os error 2) [INFO] [stdout] --> src/integration.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | include_bytes!("../groundtruth/repodata/0f12187e68182b9f05d922d8f480316e78da5ce7e3b028b31c53e9d373d8b6d4-other.xml.gz") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf` [INFO] [stdout] --> src/integration.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | let outdir = PathBuf::from(manifestdir).join("groundtruth"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::PathBuf; [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf` [INFO] [stdout] --> src/integration.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let indir = PathBuf::from(manifestdir).join("tests").join("assets"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::PathBuf; [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Command` [INFO] [stdout] --> src/integration.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let output = Command::new(createrepo) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use crate::integration::Command; [INFO] [stdout] | [INFO] [stdout] 8 | use std::process::Command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde` [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/servings/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Duration` [INFO] [stdout] --> src/servings/repofile.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `strum` [INFO] [stdout] --> src/servings/repofile.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use strum; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/servings/repofile.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/integration.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `which` [INFO] [stdout] --> src/integration.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use which; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/integration.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/integration.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `repomd` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "88d358d17bbf7aefcc69007ca57f33e4229eeae362b0625f6a6c468d49c035d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88d358d17bbf7aefcc69007ca57f33e4229eeae362b0625f6a6c468d49c035d9", kill_on_drop: false }` [INFO] [stdout] 88d358d17bbf7aefcc69007ca57f33e4229eeae362b0625f6a6c468d49c035d9