[INFO] fetching crate in-toto 0.0.1-rc1... [INFO] checking in-toto-0.0.1-rc1 against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] extracting crate in-toto 0.0.1-rc1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate in-toto 0.0.1-rc1 on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate in-toto 0.0.1-rc1 [INFO] finished tweaking crates.io crate in-toto 0.0.1-rc1 [INFO] tweaked toml for crates.io crate in-toto 0.0.1-rc1 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate in-toto 0.0.1-rc1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 371d7e9872318d687725e891071e4825a3ed1e42088c8dc4b5d7a1d484cb17f7 [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" "371d7e9872318d687725e891071e4825a3ed1e42088c8dc4b5d7a1d484cb17f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "371d7e9872318d687725e891071e4825a3ed1e42088c8dc4b5d7a1d484cb17f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "371d7e9872318d687725e891071e4825a3ed1e42088c8dc4b5d7a1d484cb17f7", kill_on_drop: false }` [INFO] [stdout] 371d7e9872318d687725e891071e4825a3ed1e42088c8dc4b5d7a1d484cb17f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a838046327fe30a5fad10efb4823a3ee3310e3e8cc3c952ca1d60b331e40cd8 [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" "6a838046327fe30a5fad10efb4823a3ee3310e3e8cc3c952ca1d60b331e40cd8", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling cc v1.0.53 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking data-encoding v2.2.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking derp v0.0.13 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Compiling ring v0.16.13 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Compiling pin-project-internal v0.4.17 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.18 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Checking thiserror v1.0.18 [INFO] [stderr] Checking pin-project v0.4.17 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking in-toto v0.0.1-rc1 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read src/../tests/rsa/rsa-2048.pk8.der: No such file or directory (os error 2) [INFO] [stdout] --> src/crypto.rs:994:41 [INFO] [stdout] | [INFO] [stdout] 994 | const RSA_2048_PK8: &'static [u8] = include_bytes!("../tests/rsa/rsa-2048.pk8.der"); [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/../tests/rsa/rsa-2048.spki.der: No such file or directory (os error 2) [INFO] [stdout] --> src/crypto.rs:995:42 [INFO] [stdout] | [INFO] [stdout] 995 | const RSA_2048_SPKI: &'static [u8] = include_bytes!("../tests/rsa/rsa-2048.spki.der"); [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/../tests/rsa/rsa-2048.pkcs1.der: No such file or directory (os error 2) [INFO] [stdout] --> src/crypto.rs:996:43 [INFO] [stdout] | [INFO] [stdout] 996 | const RSA_2048_PKCS1: &'static [u8] = include_bytes!("../tests/rsa/rsa-2048.pkcs1.der"); [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/../tests/rsa/rsa-4096.pk8.der: No such file or directory (os error 2) [INFO] [stdout] --> src/crypto.rs:998:41 [INFO] [stdout] | [INFO] [stdout] 998 | const RSA_4096_PK8: &'static [u8] = include_bytes!("../tests/rsa/rsa-4096.pk8.der"); [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/../tests/rsa/rsa-4096.spki.der: No such file or directory (os error 2) [INFO] [stdout] --> src/crypto.rs:999:42 [INFO] [stdout] | [INFO] [stdout] 999 | const RSA_4096_SPKI: &'static [u8] = include_bytes!("../tests/rsa/rsa-4096.spki.der"); [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/../tests/rsa/rsa-4096.pkcs1.der: No such file or directory (os error 2) [INFO] [stdout] --> src/crypto.rs:1000:43 [INFO] [stdout] | [INFO] [stdout] 1000 | const RSA_4096_PKCS1: &'static [u8] = include_bytes!("../tests/rsa/rsa-4096.pkcs1.der"); [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/../tests/ed25519/ed25519-1: No such file or directory (os error 2) [INFO] [stdout] --> src/crypto.rs:1002:50 [INFO] [stdout] | [INFO] [stdout] 1002 | const ED25519_1_PRIVATE_KEY: &'static [u8] = include_bytes!("../tests/ed25519/ed25519-1"); [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/../tests/ed25519/ed25519-1.pub: No such file or directory (os error 2) [INFO] [stdout] --> src/crypto.rs:1003:49 [INFO] [stdout] | [INFO] [stdout] 1003 | const ED25519_1_PUBLIC_KEY: &'static [u8] = include_bytes!("../tests/ed25519/ed25519-1.pub"); [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/../tests/ed25519/ed25519-1.pk8.der: No such file or directory (os error 2) [INFO] [stdout] --> src/crypto.rs:1004:42 [INFO] [stdout] | [INFO] [stdout] 1004 | const ED25519_1_PK8: &'static [u8] = include_bytes!("../tests/ed25519/ed25519-1.pk8.der"); [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/../tests/ed25519/ed25519-1.spki.der: No such file or directory (os error 2) [INFO] [stdout] --> src/crypto.rs:1005:43 [INFO] [stdout] | [INFO] [stdout] 1005 | const ED25519_1_SPKI: &'static [u8] = include_bytes!("../tests/ed25519/ed25519-1.spki.der"); [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/../tests/ed25519/ed25519-2.pk8.der: No such file or directory (os error 2) [INFO] [stdout] --> src/crypto.rs:1006:42 [INFO] [stdout] | [INFO] [stdout] 1006 | const ED25519_2_PK8: &'static [u8] = include_bytes!("../tests/ed25519/ed25519-2.pk8.der"); [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] warning: unused import: `Metadata` [INFO] [stdout] --> src/interchange/cjson/shims.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::metadata::{self, Metadata}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Metadata` [INFO] [stdout] --> src/interchange/cjson/shims.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::metadata::{self, Metadata}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `in-toto` [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] warning: constant is never used: `SPEC_VERSION` [INFO] [stdout] --> src/interchange/cjson/shims.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const SPEC_VERSION: &str = "0.9-dev"; [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: `from` [INFO] [stdout] --> src/interchange/cjson/shims.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn from(description: &metadata::ArtifactHash) -> ArtifactHash { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `try_into` [INFO] [stdout] --> src/interchange/cjson/shims.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn try_into(self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `TargetDescription` [INFO] [stdout] --> src/interchange/cjson/shims.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 201 | type TargetDescription = BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `deserialize` [INFO] [stdout] --> src/interchange/cjson/shims.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn deserialize<'de, K, V, D>(deserializer: D) -> Result, D::Error> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6a838046327fe30a5fad10efb4823a3ee3310e3e8cc3c952ca1d60b331e40cd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a838046327fe30a5fad10efb4823a3ee3310e3e8cc3c952ca1d60b331e40cd8", kill_on_drop: false }` [INFO] [stdout] 6a838046327fe30a5fad10efb4823a3ee3310e3e8cc3c952ca1d60b331e40cd8