[INFO] fetching crate in-toto 0.0.1-rc1... [INFO] checking in-toto-0.0.1-rc1 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate in-toto 0.0.1-rc1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate in-toto 0.0.1-rc1 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-0/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e6c7505787a51dad270563a005dae132ba93f251319cde001fc0ed81235b274 [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" "4e6c7505787a51dad270563a005dae132ba93f251319cde001fc0ed81235b274", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e6c7505787a51dad270563a005dae132ba93f251319cde001fc0ed81235b274", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e6c7505787a51dad270563a005dae132ba93f251319cde001fc0ed81235b274", kill_on_drop: false }` [INFO] [stdout] 4e6c7505787a51dad270563a005dae132ba93f251319cde001fc0ed81235b274 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9c1f08fdaa9071204f222f03cfd735628c62ecc365f0ffcd5f9cb92bd6d3e3b [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" "a9c1f08fdaa9071204f222f03cfd735628c62ecc365f0ffcd5f9cb92bd6d3e3b", kill_on_drop: false }` [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling cc v1.0.53 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking data-encoding v2.2.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking derp v0.0.13 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Compiling ring v0.16.13 [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] Checking serde_json v1.0.53 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking hyper v0.12.35 [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: unnecessary trailing semicolon [INFO] [stdout] --> src/interchange/cjson/shims.rs:219:10 [INFO] [stdout] | [INFO] [stdout] 219 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` 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] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/interchange/cjson/shims.rs:219:10 [INFO] [stdout] | [INFO] [stdout] 219 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 2 warnings 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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a9c1f08fdaa9071204f222f03cfd735628c62ecc365f0ffcd5f9cb92bd6d3e3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9c1f08fdaa9071204f222f03cfd735628c62ecc365f0ffcd5f9cb92bd6d3e3b", kill_on_drop: false }` [INFO] [stdout] a9c1f08fdaa9071204f222f03cfd735628c62ecc365f0ffcd5f9cb92bd6d3e3b