[INFO] cloning repository https://github.com/yatima-inc/sp-cid [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yatima-inc/sp-cid" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyatima-inc%2Fsp-cid", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyatima-inc%2Fsp-cid'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 52dcb9688b6e1fa2bab63df1b14ded054f1da53a [INFO] testing yatima-inc/sp-cid against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyatima-inc%2Fsp-cid" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yatima-inc/sp-cid on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yatima-inc/sp-cid [INFO] finished tweaking git repo https://github.com/yatima-inc/sp-cid [INFO] tweaked toml for git repo https://github.com/yatima-inc/sp-cid written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/yatima-inc/sp-cid already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f5e1c35fbc3a8646379772f08a68455f364fb7d2a786b856aa1ddf5673a72f9 [INFO] running `Command { std: "docker" "start" "-a" "2f5e1c35fbc3a8646379772f08a68455f364fb7d2a786b856aa1ddf5673a72f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f5e1c35fbc3a8646379772f08a68455f364fb7d2a786b856aa1ddf5673a72f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f5e1c35fbc3a8646379772f08a68455f364fb7d2a786b856aa1ddf5673a72f9", kill_on_drop: false }` [INFO] [stdout] 2f5e1c35fbc3a8646379772f08a68455f364fb7d2a786b856aa1ddf5673a72f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 397e30441df5dbe3cb2bc4b555629770814202fc7e6f36f057a41f54e6a1d20d [INFO] running `Command { std: "docker" "start" "-a" "397e30441df5dbe3cb2bc4b555629770814202fc7e6f36f057a41f54e6a1d20d", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling sp-std v3.0.0 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling base-x v0.2.8 [INFO] [stderr] Compiling unsigned-varint v0.7.0 [INFO] [stderr] Compiling bytecursor v0.1.2 [INFO] [stderr] Compiling blake2b_simd v0.5.11 [INFO] [stderr] Compiling blake2s_simd v0.5.11 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.10 [INFO] [stderr] Compiling data-encoding-macro v0.1.12 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling sp-multihash-derive v0.1.0 [INFO] [stderr] Compiling sp-multihash v0.1.0 [INFO] [stderr] Compiling sp-cid v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.33s [INFO] running `Command { std: "docker" "inspect" "397e30441df5dbe3cb2bc4b555629770814202fc7e6f36f057a41f54e6a1d20d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "397e30441df5dbe3cb2bc4b555629770814202fc7e6f36f057a41f54e6a1d20d", kill_on_drop: false }` [INFO] [stdout] 397e30441df5dbe3cb2bc4b555629770814202fc7e6f36f057a41f54e6a1d20d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdce28850bb610ff63c22bc579bc3923338d9f06c344ad0dccba2489167faef5 [INFO] running `Command { std: "docker" "start" "-a" "fdce28850bb610ff63c22bc579bc3923338d9f06c344ad0dccba2489167faef5", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling sp-cid v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> src/arb.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::{ [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `quickcheck` [INFO] [stdout] --> src/arb.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use quickcheck::{Arbitrary, Gen}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `quickcheck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/arb.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::{ [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WeightedIndex` [INFO] [stdout] --> src/arb.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | let dist = WeightedIndex::new(weights.iter()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `WeightedIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/arb.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | let data: Vec = Arbitrary::arbitrary(g); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cid::Vec; [INFO] [stdout] | [INFO] [stdout] 1 | use sp_std::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sp-cid` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fdce28850bb610ff63c22bc579bc3923338d9f06c344ad0dccba2489167faef5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdce28850bb610ff63c22bc579bc3923338d9f06c344ad0dccba2489167faef5", kill_on_drop: false }` [INFO] [stdout] fdce28850bb610ff63c22bc579bc3923338d9f06c344ad0dccba2489167faef5