[INFO] fetching crate pb-jelly 0.0.7... [INFO] checking pb-jelly-0.0.7 against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] extracting crate pb-jelly 0.0.7 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate pb-jelly 0.0.7 on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24c5cce4795dbad353804f1fff868416e8ada7c6c1ae04c0ade8bf24157d29c8 [INFO] running `Command { std: "docker" "start" "-a" "24c5cce4795dbad353804f1fff868416e8ada7c6c1ae04c0ade8bf24157d29c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24c5cce4795dbad353804f1fff868416e8ada7c6c1ae04c0ade8bf24157d29c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24c5cce4795dbad353804f1fff868416e8ada7c6c1ae04c0ade8bf24157d29c8", kill_on_drop: false }` [INFO] [stdout] 24c5cce4795dbad353804f1fff868416e8ada7c6c1ae04c0ade8bf24157d29c8 [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=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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d65b89aec2afef5ee4ac2676041afe36185ea297bb2f606b16318471a2a1c95 [INFO] running `Command { std: "docker" "start" "-a" "1d65b89aec2afef5ee4ac2676041afe36185ea297bb2f606b16318471a2a1c95", kill_on_drop: false }` [INFO] [stderr] Checking serde v1.0.126 [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "1d65b89aec2afef5ee4ac2676041afe36185ea297bb2f606b16318471a2a1c95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d65b89aec2afef5ee4ac2676041afe36185ea297bb2f606b16318471a2a1c95", kill_on_drop: false }` [INFO] [stdout] 1d65b89aec2afef5ee4ac2676041afe36185ea297bb2f606b16318471a2a1c95