[INFO] cloning repository https://github.com/dvc94ch/rust-ipfs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dvc94ch/rust-ipfs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdvc94ch%2Frust-ipfs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdvc94ch%2Frust-ipfs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1adcb8947fb5148108a6e5941e7d10f96d8f4f9a [INFO] testing dvc94ch/rust-ipfs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdvc94ch%2Frust-ipfs" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dvc94ch/rust-ipfs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dvc94ch/rust-ipfs [INFO] finished tweaking git repo https://github.com/dvc94ch/rust-ipfs [INFO] tweaked toml for git repo https://github.com/dvc94ch/rust-ipfs written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/dvc94ch/rust-ipfs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cid v0.6.0 [INFO] [stderr] Downloaded oorandom v11.1.2 [INFO] [stderr] Downloaded domain v0.5.3 [INFO] [stderr] Downloaded domain-resolv v0.5.1 [INFO] [stderr] Downloaded cid v0.5.1 [INFO] [stderr] Downloaded data-encoding-macro v0.1.8 [INFO] [stderr] Downloaded data-encoding-macro-internal v0.1.8 [INFO] [stderr] Downloaded multihash-derive v0.7.0 [INFO] [stderr] Downloaded multihash v0.13.1 [INFO] [stderr] Downloaded quick-protobuf v0.7.0 [INFO] [stderr] Downloaded mpart-async v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] d19bd0ca1a393e32cb5e5e65ebe0ca4b4aab04df354ae2709506421b675c42f3 [INFO] running `Command { std: "docker" "start" "-a" "d19bd0ca1a393e32cb5e5e65ebe0ca4b4aab04df354ae2709506421b675c42f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d19bd0ca1a393e32cb5e5e65ebe0ca4b4aab04df354ae2709506421b675c42f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d19bd0ca1a393e32cb5e5e65ebe0ca4b4aab04df354ae2709506421b675c42f3", kill_on_drop: false }` [INFO] [stdout] d19bd0ca1a393e32cb5e5e65ebe0ca4b4aab04df354ae2709506421b675c42f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", 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] 9cd599f9c0788a4259ab62c01e619240807f350211af389096ffa7254a2b0008 [INFO] running `Command { std: "docker" "start" "-a" "9cd599f9c0788a4259ab62c01e619240807f350211af389096ffa7254a2b0008", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling subtle v2.3.0 [INFO] [stderr] Compiling pin-project-internal v0.4.26 [INFO] [stderr] Compiling multimap v0.8.2 [INFO] [stderr] Compiling futures-sink v0.3.6 [INFO] [stderr] Compiling futures-io v0.3.6 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling data-encoding v2.3.0 [INFO] [stderr] Compiling unsigned-varint v0.5.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling signature v1.2.2 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling base-x v0.2.6 [INFO] [stderr] Compiling c_linked_list v1.1.1 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling unsigned-varint v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.58 [INFO] [stderr] Compiling atomic v0.4.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling futures-task v0.3.6 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling futures-channel v0.3.6 [INFO] [stderr] Compiling ed25519 v1.0.2 [INFO] [stderr] Compiling blake2b_simd v0.5.10 [INFO] [stderr] Compiling blake2s_simd v0.5.10 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling get_if_addrs v0.5.3 [INFO] [stderr] Compiling filetime v0.2.12 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling snow v0.7.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling block-cipher v0.8.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling dirs v3.0.1 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling tracing v0.1.21 [INFO] [stderr] Compiling prost-build v0.6.1 [INFO] [stderr] Compiling sha2 v0.9.1 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.9.1 [INFO] [stderr] Compiling stream-cipher v0.7.1 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling polyval v0.4.1 [INFO] [stderr] Compiling poly1305 v0.6.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling domain v0.5.3 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling aes-soft v0.5.0 [INFO] [stderr] Compiling blake2 v0.9.0 [INFO] [stderr] Compiling dns-parser v0.8.0 [INFO] [stderr] Compiling uint v0.8.5 [INFO] [stderr] Compiling quick-protobuf v0.7.0 [INFO] [stderr] Compiling multihash v0.11.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling ghash v0.3.0 [INFO] [stderr] Compiling cuckoofilter v0.3.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Compiling aes v0.5.0 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling aes-gcm v0.7.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling prost-derive v0.6.1 [INFO] [stderr] Compiling futures-macro v0.3.6 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling asn1_der_derive v0.1.2 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.8 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Compiling libp2p-core-derive v0.20.2 [INFO] [stderr] Compiling async-trait v0.1.41 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling zeroize v1.1.1 [INFO] [stderr] Compiling asn1_der v0.6.3 [INFO] [stderr] Compiling data-encoding-macro v0.1.8 [INFO] [stderr] Compiling multibase v0.8.0 [INFO] [stderr] Compiling curve25519-dalek v3.0.0 [INFO] [stderr] Compiling chacha20 v0.5.0 [INFO] [stderr] Compiling curve25519-dalek v2.1.0 [INFO] [stderr] Compiling async-stream v0.3.0 [INFO] [stderr] Compiling chacha20poly1305 v0.6.0 [INFO] [stderr] Compiling cid v0.5.1 [INFO] [stderr] Compiling x25519-dalek v0.6.0 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling x25519-dalek v1.1.0 [INFO] [stderr] Compiling pin-project v0.4.26 [INFO] [stderr] Compiling futures-util v0.3.6 [INFO] [stderr] Compiling prost v0.6.1 [INFO] [stderr] Compiling prost-types v0.6.1 [INFO] [stderr] Compiling libp2p-core v0.22.1 [INFO] [stderr] Compiling libp2p-floodsub v0.22.0 [INFO] [stderr] Compiling libp2p-noise v0.24.0 [INFO] [stderr] Compiling libp2p-kad v0.23.0 [INFO] [stderr] Compiling libp2p-identify v0.22.0 [INFO] [stderr] Compiling ipfs-bitswap v0.1.0 (/opt/rustwide/workdir/bitswap) [INFO] [stderr] Compiling ipfs v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures-executor v0.3.6 [INFO] [stderr] Compiling futures v0.3.6 [INFO] [stderr] Compiling futures_codec v0.4.1 [INFO] [stderr] Compiling rw-stream-sink v0.2.1 [INFO] [stderr] Compiling wasm-timer v0.2.5 [INFO] [stderr] Compiling yamux v0.8.0 [INFO] [stderr] Compiling domain-resolv v0.5.1 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling unsigned-varint v0.4.0 [INFO] [stderr] Compiling multistream-select v0.8.2 [INFO] [stderr] Compiling parity-multiaddr v0.9.2 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling multihash-derive v0.7.0 [INFO] [stderr] Compiling libp2p-swarm v0.22.0 [INFO] [stderr] Compiling libp2p-dns v0.22.0 [INFO] [stderr] Compiling libp2p-tcp v0.22.0 [INFO] [stderr] Compiling libp2p-mplex v0.22.0 [INFO] [stderr] Compiling libp2p-yamux v0.25.0 [INFO] [stderr] Compiling libp2p-ping v0.22.0 [INFO] [stderr] Compiling libp2p-mdns v0.22.0 [INFO] [stderr] Compiling multihash v0.13.1 [INFO] [stderr] Compiling cid v0.6.0 [INFO] [stderr] Compiling ipfs-unixfs v0.2.0 (/opt/rustwide/workdir/unixfs) [INFO] [stdout] warning: unused import: `Sha256` [INFO] [stdout] --> unixfs/src/file/adder.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use sha2::{Digest, Sha256}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha256` [INFO] [stdout] --> unixfs/src/dir/builder/iter.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | use sha2::{Digest, Sha256}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> unixfs/src/file/adder.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use sha2::{Digest, Sha256}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> unixfs/src/dir/builder/iter.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | use sha2::{Digest, Sha256}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libp2p v0.28.1 [INFO] [stdout] warning: field is never read: `hidden` [INFO] [stdout] --> unixfs/src/lib.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | hidden: (), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `InvalidCidInLink` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> unixfs/src/lib.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dag.rs:325:50 [INFO] [stdout] | [INFO] [stdout] 325 | let block = self.ipfs.repo.get_block(next).await?; [INFO] [stdout] | ^^^^ expected struct `CidGeneric`, found struct `cid::cid::Cid` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&CidGeneric` [INFO] [stdout] found reference `&cid::cid::Cid, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dag.rs:329:41 [INFO] [stdout] | [INFO] [stdout] 329 | Found(cid) => return Ok(cid), [INFO] [stdout] | ^^^ expected struct `CidGeneric`, found struct `cid::cid::Cid` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `CidGeneric` [INFO] [stdout] found struct `cid::cid::Cid, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/unixfs/cat.rs:92:62 [INFO] [stdout] | [INFO] [stdout] 92 | let Block { cid, data } = match borrow.get_block(&next).await { [INFO] [stdout] | ^^^^^ expected struct `CidGeneric`, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&CidGeneric` [INFO] [stdout] found reference `&&cid::cid::Cid, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>>` [INFO] [stdout] note: return type inferred to be `&CidGeneric` here [INFO] [stdout] --> src/unixfs/cat.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | None => return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/unixfs/cat.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | Ok(stream! { [INFO] [stdout] | ________^ [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | if let Some(bytes) = bytes { [INFO] [stdout] 75 | | yield Ok(bytes); [INFO] [stdout] ... | [INFO] [stdout] 117 | | } [INFO] [stdout] 118 | | }) [INFO] [stdout] | |_____^ expected struct `CidGeneric`, found struct `cid::cid::Cid` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `CidGeneric` [INFO] [stdout] found struct `cid::cid::Cid, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>>` [INFO] [stdout] note: return type inferred to be `CidGeneric` here [INFO] [stdout] --> src/unixfs/cat.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | None => return, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: this error originates in the macro `stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dag.rs:478:67 [INFO] [stdout] | [INFO] [stdout] 478 | Ok((LocallyResolved::Complete(ResolvedNode::Link(cid, dest)), 1)) [INFO] [stdout] | ^^^^ expected struct `CidGeneric`, found struct `cid::cid::Cid` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `CidGeneric` [INFO] [stdout] found struct `cid::cid::Cid, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ipfs` due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "9cd599f9c0788a4259ab62c01e619240807f350211af389096ffa7254a2b0008", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cd599f9c0788a4259ab62c01e619240807f350211af389096ffa7254a2b0008", kill_on_drop: false }` [INFO] [stdout] 9cd599f9c0788a4259ab62c01e619240807f350211af389096ffa7254a2b0008