[INFO] fetching crate pb-jelly 0.0.7... [INFO] checking pb-jelly-0.0.7 against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] extracting crate pb-jelly 0.0.7 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate pb-jelly 0.0.7 on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e48c9bb0cee42d9030697d572ba8f861490ca4b7c82e3247a484a41d1751e328 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e48c9bb0cee42d9030697d572ba8f861490ca4b7c82e3247a484a41d1751e328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e48c9bb0cee42d9030697d572ba8f861490ca4b7c82e3247a484a41d1751e328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e48c9bb0cee42d9030697d572ba8f861490ca4b7c82e3247a484a41d1751e328", kill_on_drop: false }` [INFO] [stdout] e48c9bb0cee42d9030697d572ba8f861490ca4b7c82e3247a484a41d1751e328 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d74e080379c8e208cb23c41f7227b563be2e803017c7b93aa01f74fbd350153 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9d74e080379c8e208cb23c41f7227b563be2e803017c7b93aa01f74fbd350153", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.126 [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9d74e080379c8e208cb23c41f7227b563be2e803017c7b93aa01f74fbd350153", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d74e080379c8e208cb23c41f7227b563be2e803017c7b93aa01f74fbd350153", kill_on_drop: false }` [INFO] [stdout] 9d74e080379c8e208cb23c41f7227b563be2e803017c7b93aa01f74fbd350153