[INFO] fetching crate in-toto 0.0.1-rc1... [INFO] checking in-toto-0.0.1-rc1 against master#5e3f1b148db5bfa27fee52464ae1f5d34c49d77b for pr-75502 [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 5e3f1b148db5bfa27fee52464ae1f5d34c49d77b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "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" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "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] f6d86fb6736b9814e152a820d260ac52d616c155e95aa50bd8f326e1dfd3a968 [INFO] running `Command { std: "docker" "start" "-a" "f6d86fb6736b9814e152a820d260ac52d616c155e95aa50bd8f326e1dfd3a968", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6d86fb6736b9814e152a820d260ac52d616c155e95aa50bd8f326e1dfd3a968", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6d86fb6736b9814e152a820d260ac52d616c155e95aa50bd8f326e1dfd3a968", kill_on_drop: false }` [INFO] [stdout] f6d86fb6736b9814e152a820d260ac52d616c155e95aa50bd8f326e1dfd3a968 [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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d705b4146af540850e3edae6f3b276a3f92513a2b901a732dc6479f47b68b7d4 [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" "d705b4146af540850e3edae6f3b276a3f92513a2b901a732dc6479f47b68b7d4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling cc v1.0.53 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking data-encoding v2.2.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking derp v0.0.13 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking want v0.2.0 [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 num-traits v0.2.11 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling rustc_version v0.2.3 [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 iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Compiling ring v0.16.13 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking chrono v0.4.11 [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" "d705b4146af540850e3edae6f3b276a3f92513a2b901a732dc6479f47b68b7d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d705b4146af540850e3edae6f3b276a3f92513a2b901a732dc6479f47b68b7d4", kill_on_drop: false }` [INFO] [stdout] d705b4146af540850e3edae6f3b276a3f92513a2b901a732dc6479f47b68b7d4