[INFO] fetching crate in-toto 0.2.0... [INFO] testing in-toto-0.2.0 against try#1b74e096b9bfb06f84a3007193dcd2f059cbdf6a for pr-96025 [INFO] extracting crate in-toto 0.2.0 into /workspace/builds/worker-28/source [INFO] validating manifest of crates.io crate in-toto 0.2.0 on toolchain 1b74e096b9bfb06f84a3007193dcd2f059cbdf6a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate in-toto 0.2.0 [INFO] finished tweaking crates.io crate in-toto 0.2.0 [INFO] tweaked toml for crates.io crate in-toto 0.2.0 written to /workspace/builds/worker-28/source/Cargo.toml [INFO] crate crates.io crate in-toto 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 600d513526cb4e4115d1aa034419145477be9e4f64a7ce43e8565e87fe61d05a [INFO] running `Command { std: "docker" "start" "-a" "600d513526cb4e4115d1aa034419145477be9e4f64a7ce43e8565e87fe61d05a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "600d513526cb4e4115d1aa034419145477be9e4f64a7ce43e8565e87fe61d05a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "600d513526cb4e4115d1aa034419145477be9e4f64a7ce43e8565e87fe61d05a", kill_on_drop: false }` [INFO] [stdout] 600d513526cb4e4115d1aa034419145477be9e4f64a7ce43e8565e87fe61d05a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5632d221859826cf9f0f70eec4b6b3358578cf8318098567777bb2f9b36e1e24 [INFO] running `Command { std: "docker" "start" "-a" "5632d221859826cf9f0f70eec4b6b3358578cf8318098567777bb2f9b36e1e24", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling path-clean v0.1.0 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling derp v0.0.14 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling in-toto v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.26s [INFO] running `Command { std: "docker" "inspect" "5632d221859826cf9f0f70eec4b6b3358578cf8318098567777bb2f9b36e1e24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5632d221859826cf9f0f70eec4b6b3358578cf8318098567777bb2f9b36e1e24", kill_on_drop: false }` [INFO] [stdout] 5632d221859826cf9f0f70eec4b6b3358578cf8318098567777bb2f9b36e1e24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4ab8446bfd6a45458281aea7c7838203e5bb7342aa7ca0d33afe35669d22dd8 [INFO] running `Command { std: "docker" "start" "-a" "d4ab8446bfd6a45458281aea7c7838203e5bb7342aa7ca0d33afe35669d22dd8", kill_on_drop: false }` [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling pretty_assertions v0.7.2 [INFO] [stderr] Compiling in-toto v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `calculate_hash` [INFO] [stdout] --> src/crypto.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | pub(crate) fn calculate_hash(data: &[u8], hash_alg: HashAlgorithm) -> HashValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.46s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/in_toto-5d46b03ace3c4bae) [INFO] [stderr] Executable tests/runlib.rs (/opt/rustwide/target/debug/deps/runlib-cd551fb711064595) [INFO] running `Command { std: "docker" "inspect" "d4ab8446bfd6a45458281aea7c7838203e5bb7342aa7ca0d33afe35669d22dd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4ab8446bfd6a45458281aea7c7838203e5bb7342aa7ca0d33afe35669d22dd8", kill_on_drop: false }` [INFO] [stdout] d4ab8446bfd6a45458281aea7c7838203e5bb7342aa7ca0d33afe35669d22dd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] db48daa7495155bce1d2d7a0ae91fac7b105945dca94bc74e365337cd59fc7c7 [INFO] running `Command { std: "docker" "start" "-a" "db48daa7495155bce1d2d7a0ae91fac7b105945dca94bc74e365337cd59fc7c7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: function is never used: `calculate_hash` [INFO] [stderr] --> src/crypto.rs:78:15 [INFO] [stderr] | [INFO] [stderr] 78 | pub(crate) fn calculate_hash(data: &[u8], hash_alg: HashAlgorithm) -> HashValue { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `in-toto` (lib test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.55s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/in_toto-5d46b03ace3c4bae) [INFO] [stdout] [INFO] [stdout] running 35 tests [INFO] [stdout] test crypto::test::de_ser_ed25519_public_key_with_keyid_hash_algo ... ok [INFO] [stdout] test crypto::test::de_ser_rsa_public_key_with_keyid_hash_algo ... ok [INFO] [stdout] test crypto::test::de_ser_rsa_public_key_without_keyid_hash_algo ... ok [INFO] [stdout] test crypto::test::de_ser_ed25519_public_key_without_keyid_hash_algo ... ok [INFO] [stdout] test crypto::test::ed25519_read_keypair_and_sign_with_keyid_hash_algorithms ... ok [INFO] [stdout] test crypto::test::parse_public_ed25519 ... ok [INFO] [stdout] test crypto::test::extract_pkcs1_from_rsa_2048_pkcs8 ... ok [INFO] [stdout] test crypto::test::serde_key_id ... ok [INFO] [stdout] test crypto::test::serde_ed25519_public_key ... ok [INFO] [stdout] test crypto::test::extract_pkcs1_from_rsa_4096_pkcs8 ... ok [INFO] [stdout] test crypto::test::parse_public_ed25519_with_keyid_hash_algo ... ok [INFO] [stdout] test crypto::test::ed25519_read_keypair_and_sign ... ok [INFO] [stdout] test crypto::test::ed25519_read_pkcs8_and_sign ... ok [INFO] [stdout] test crypto::test::parse_public_rsa_2048_spki ... ok [INFO] [stdout] test interchange::cjson::test::write_arr ... ok [INFO] [stdout] test crypto::test::new_ed25519_key ... ok [INFO] [stdout] test runlib::test::test_prefix_record_artifacts ... ok [INFO] [stdout] test crypto::test::rsa_4096_read_pkcs8_and_sign ... ok [INFO] [stdout] test error::tests::verify_io_error_display_string ... ok [INFO] [stdout] test interchange::cjson::test::write_obj ... ok [INFO] [stdout] test runlib::test::test_left_strip ... ok [INFO] [stdout] test interchange::cjson::test::write_str ... ok [INFO] [stdout] test crypto::test::test_public_key_eq ... ok [INFO] [stdout] test crypto::test::serde_signature ... ok [INFO] [stdout] test crypto::test::serde_signature_value ... ok [INFO] [stdout] test crypto::test::parse_public_ed25519_without_keyid_hash_algo ... ok [INFO] [stdout] test crypto::test::test_public_key_hash ... ok [INFO] [stdout] test crypto::test::rsa_2048_read_pkcs8_and_sign ... ok [INFO] [stdout] hellotest crypto::test::parse_public_ed25519_spki ... ok [INFO] [stdout] test crypto::test::parse_public_rsa_4096_spki ... ok [INFO] [stdout] test runlib::test::test_record_artifacts ... ok [INFO] [stdout] test crypto::test::serde_signature_without_keyid_hash_algo ... ok [INFO] [stdout] test crypto::test::serde_rsa_public_key ... ok [INFO] [stdout] test runlib::test::test_run_command ... ok [INFO] [stderr] Running tests/runlib.rs (/opt/rustwide/target/debug/deps/runlib-cd551fb711064595) [INFO] [stdout] test crypto::test::new_rsa_key ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test in_toto_run_record_symlink_cycle ... ok [INFO] [stdout] test in_toto_run_record_modified_file ... ok [INFO] [stdout] in_toto says hi [INFO] [stdout] in_toto says hi [INFO] [stdout] test in_toto_run_record_file ... ok [INFO] [stdout] test in_toto_run_record_symlink_file ... ok [INFO] [stdout] test in_toto_run_record_new_file ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests in_toto [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test src/crypto.rs - crypto::PrivateKey::from_pkcs8 (line 409) - compile ... ok [INFO] [stdout] test src/crypto.rs - crypto::hash_preference (line 52) ... ok [INFO] [stdout] test src/runlib.rs - runlib::record_artifacts (line 78) ... ok [INFO] [stdout] test src/interchange/cjson/pretty.rs - interchange::cjson::pretty::JsonPretty::canonicalize (line 27) ... ok [INFO] [stdout] test src/interchange/cjson/pretty.rs - interchange::cjson::pretty::JsonPretty::extension (line 19) ... ok [INFO] [stdout] test src/models/metadata.rs - models::metadata::Metablock::new (line 121) ... ok [INFO] [stdout] test src/interchange/cjson/mod.rs - interchange::cjson::Json::extension (line 166) ... ok [INFO] [stdout] test src/interchange/cjson/mod.rs - interchange::cjson::Json::to_writer (line 238) ... ok [INFO] [stdout] test src/interchange/cjson/mod.rs - interchange::cjson::Json::deserialize (line 186) ... ok [INFO] [stdout] test src/models/metadata.rs - models::metadata::Metablock::verify (line 194) ... ok [INFO] [stdout] test src/runlib.rs - runlib::run_command (line 169) ... ok [INFO] [stdout] test src/interchange/cjson/mod.rs - interchange::cjson::Json::from_slice (line 282) ... ok [INFO] [stdout] test src/interchange/cjson/pretty.rs - interchange::cjson::pretty::JsonPretty::to_writer (line 91) ... ok [INFO] [stdout] test src/interchange/cjson/pretty.rs - interchange::cjson::pretty::JsonPretty::from_slice (line 146) ... ok [INFO] [stdout] test src/interchange/cjson/mod.rs - interchange::cjson::Json::canonicalize (line 174) ... ok [INFO] [stdout] test src/interchange/cjson/mod.rs - interchange::cjson::Json::from_reader (line 268) ... ok [INFO] [stdout] test src/interchange/cjson/mod.rs - interchange::cjson::Json::serialize (line 212) ... ok [INFO] [stdout] test src/interchange/cjson/pretty.rs - interchange::cjson::pretty::JsonPretty::from_reader (line 132) ... ok [INFO] [stdout] test src/interchange/cjson/pretty.rs - interchange::cjson::pretty::JsonPretty::serialize (line 65) ... ok [INFO] [stdout] test src/runlib.rs - runlib::in_toto_run (line 273) ... ok [INFO] [stdout] test src/interchange/cjson/pretty.rs - interchange::cjson::pretty::JsonPretty::deserialize (line 39) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.18s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "db48daa7495155bce1d2d7a0ae91fac7b105945dca94bc74e365337cd59fc7c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db48daa7495155bce1d2d7a0ae91fac7b105945dca94bc74e365337cd59fc7c7", kill_on_drop: false }` [INFO] [stdout] db48daa7495155bce1d2d7a0ae91fac7b105945dca94bc74e365337cd59fc7c7