[INFO] fetching crate pb-jelly 0.0.7... [INFO] testing pb-jelly-0.0.7 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate pb-jelly 0.0.7 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate pb-jelly 0.0.7 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 crates.io crate pb-jelly 0.0.7 [INFO] finished tweaking crates.io crate pb-jelly 0.0.7 [INFO] tweaked toml for crates.io crate pb-jelly 0.0.7 written to /workspace/builds/worker-15/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] b342bd65cae58a363e7acf2be3170df09ee0f33bb3f3017452099bcfd7116a9d [INFO] running `Command { std: "docker" "start" "-a" "b342bd65cae58a363e7acf2be3170df09ee0f33bb3f3017452099bcfd7116a9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b342bd65cae58a363e7acf2be3170df09ee0f33bb3f3017452099bcfd7116a9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b342bd65cae58a363e7acf2be3170df09ee0f33bb3f3017452099bcfd7116a9d", kill_on_drop: false }` [INFO] [stdout] b342bd65cae58a363e7acf2be3170df09ee0f33bb3f3017452099bcfd7116a9d [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] 84816f0bb7d79dd0006951897a7a8da9a3fc1c49ff5467e9bc80868317caf023 [INFO] running `Command { std: "docker" "start" "-a" "84816f0bb7d79dd0006951897a7a8da9a3fc1c49ff5467e9bc80868317caf023", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling pb-jelly v0.0.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.10s [INFO] running `Command { std: "docker" "inspect" "84816f0bb7d79dd0006951897a7a8da9a3fc1c49ff5467e9bc80868317caf023", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84816f0bb7d79dd0006951897a7a8da9a3fc1c49ff5467e9bc80868317caf023", kill_on_drop: false }` [INFO] [stdout] 84816f0bb7d79dd0006951897a7a8da9a3fc1c49ff5467e9bc80868317caf023 [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] 106898fc9722da4f204999cfc49ba455915be1e9ed4e816b61e7312d227e610b [INFO] running `Command { std: "docker" "start" "-a" "106898fc9722da4f204999cfc49ba455915be1e9ed4e816b61e7312d227e610b", kill_on_drop: false }` [INFO] [stderr] Compiling pb-jelly v0.0.7 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `bytes::buf::ext` [INFO] [stdout] --> src/varint.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | use bytes::buf::ext::BufExt; [INFO] [stdout] | ^^^ could not find `ext` in `buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `bytes` is not a member of trait `Buf` [INFO] [stdout] --> src/tests/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | / fn bytes(&self) -> &[u8] { [INFO] [stdout] 62 | | &self.contents[self.position..self.end] [INFO] [stdout] 63 | | } [INFO] [stdout] | |_____^ not a member of trait `Buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `chunk` [INFO] [stdout] --> src/tests/mod.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | impl Buf for VecReader { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ missing `chunk` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn chunk(&self) -> &[u8] { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bytes` found for reference `&VecReader` in the current scope [INFO] [stdout] --> src/tests/mod.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 100 | for b in content.bytes() { [INFO] [stdout] | ^^^^^ method not found in `&VecReader` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `bytes`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bytes` found for struct `VecReader` in the current scope [INFO] [stdout] --> src/tests/mod.rs:219:44 [INFO] [stdout] | [INFO] [stdout] 29 | struct VecReader { [INFO] [stdout] | ---------------- method `bytes` not found for this [INFO] [stdout] ... [INFO] [stdout] 219 | deserialized.payload.into_buffer().bytes(), [INFO] [stdout] | ^^^^^ method not found in `VecReader` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `bytes`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bytes` found for struct `VecReader` in the current scope [INFO] [stdout] --> src/tests/mod.rs:220:39 [INFO] [stdout] | [INFO] [stdout] 29 | struct VecReader { [INFO] [stdout] | ---------------- method `bytes` not found for this [INFO] [stdout] ... [INFO] [stdout] 220 | message.payload.into_buffer().bytes() [INFO] [stdout] | ^^^^^ method not found in `VecReader` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `bytes`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bytes` found for struct `VecReader` in the current scope [INFO] [stdout] --> src/tests/mod.rs:250:44 [INFO] [stdout] | [INFO] [stdout] 29 | struct VecReader { [INFO] [stdout] | ---------------- method `bytes` not found for this [INFO] [stdout] ... [INFO] [stdout] 250 | deserialized.payload.into_buffer().bytes(), [INFO] [stdout] | ^^^^^ method not found in `VecReader` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `bytes`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bytes` found for struct `VecReader` in the current scope [INFO] [stdout] --> src/tests/mod.rs:251:39 [INFO] [stdout] | [INFO] [stdout] 29 | struct VecReader { [INFO] [stdout] | ---------------- method `bytes` not found for this [INFO] [stdout] ... [INFO] [stdout] 251 | message.payload.into_buffer().bytes() [INFO] [stdout] | ^^^^^ method not found in `VecReader` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `bytes`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pb-jelly` [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0046, E0407, E0432, E0599. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "106898fc9722da4f204999cfc49ba455915be1e9ed4e816b61e7312d227e610b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "106898fc9722da4f204999cfc49ba455915be1e9ed4e816b61e7312d227e610b", kill_on_drop: false }` [INFO] [stdout] 106898fc9722da4f204999cfc49ba455915be1e9ed4e816b61e7312d227e610b