[INFO] fetching crate pb-jelly 0.0.7... [INFO] checking pb-jelly-0.0.7 against master#8007b506ac5da629f223b755f5a5391edd5f6d01 for pr-88041 [INFO] extracting crate pb-jelly 0.0.7 into /workspace/builds/worker-31/source [INFO] validating manifest of crates.io crate pb-jelly 0.0.7 on toolchain 8007b506ac5da629f223b755f5a5391edd5f6d01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "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-31/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "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" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9f09932fed74ef95bf4799919fbc168b49513ffd004d52d18c51509b1713846 [INFO] running `Command { std: "docker" "start" "-a" "f9f09932fed74ef95bf4799919fbc168b49513ffd004d52d18c51509b1713846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9f09932fed74ef95bf4799919fbc168b49513ffd004d52d18c51509b1713846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9f09932fed74ef95bf4799919fbc168b49513ffd004d52d18c51509b1713846", kill_on_drop: false }` [INFO] [stdout] f9f09932fed74ef95bf4799919fbc168b49513ffd004d52d18c51509b1713846 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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" "+8007b506ac5da629f223b755f5a5391edd5f6d01" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6614e17b003bd7a7eb14987fb36620806c73809344e94876a2eba4ec083e9f5b [INFO] running `Command { std: "docker" "start" "-a" "6614e17b003bd7a7eb14987fb36620806c73809344e94876a2eba4ec083e9f5b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Checking serde v1.0.127 [INFO] [stderr] Checking 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] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0407, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pb-jelly` due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "6614e17b003bd7a7eb14987fb36620806c73809344e94876a2eba4ec083e9f5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6614e17b003bd7a7eb14987fb36620806c73809344e94876a2eba4ec083e9f5b", kill_on_drop: false }` [INFO] [stdout] 6614e17b003bd7a7eb14987fb36620806c73809344e94876a2eba4ec083e9f5b