[INFO] fetching crate pb-jelly 0.0.7... [INFO] checking pb-jelly-0.0.7 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate pb-jelly 0.0.7 into /workspace/builds/worker-54/source [INFO] validating manifest of crates.io crate pb-jelly 0.0.7 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-54/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b8f1e2312b6cd6e29513f1dd3cb5ea8ef3aac505e1c86440760f7ae8ac8e4f2 [INFO] running `Command { std: "docker" "start" "-a" "3b8f1e2312b6cd6e29513f1dd3cb5ea8ef3aac505e1c86440760f7ae8ac8e4f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b8f1e2312b6cd6e29513f1dd3cb5ea8ef3aac505e1c86440760f7ae8ac8e4f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b8f1e2312b6cd6e29513f1dd3cb5ea8ef3aac505e1c86440760f7ae8ac8e4f2", kill_on_drop: false }` [INFO] [stdout] 3b8f1e2312b6cd6e29513f1dd3cb5ea8ef3aac505e1c86440760f7ae8ac8e4f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ac50edc171d3f415f2d538b18a013c9b087819911e598acdb36bbcf9346cc5d [INFO] running `Command { std: "docker" "start" "-a" "0ac50edc171d3f415f2d538b18a013c9b087819911e598acdb36bbcf9346cc5d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Checking serde v1.0.128 [INFO] [stderr] Checking pb-jelly v0.0.7 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [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] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "0ac50edc171d3f415f2d538b18a013c9b087819911e598acdb36bbcf9346cc5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ac50edc171d3f415f2d538b18a013c9b087819911e598acdb36bbcf9346cc5d", kill_on_drop: false }` [INFO] [stdout] 0ac50edc171d3f415f2d538b18a013c9b087819911e598acdb36bbcf9346cc5d