[INFO] fetching crate to_bytes_derive 0.1.0... [INFO] checking to_bytes_derive-0.1.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate to_bytes_derive 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate to_bytes_derive 0.1.0 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 to_bytes_derive 0.1.0 [INFO] finished tweaking crates.io crate to_bytes_derive 0.1.0 [INFO] tweaked toml for crates.io crate to_bytes_derive 0.1.0 written to /workspace/builds/worker-4/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] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] 66174706e548f687b08621c420c7c98298175758e2dcb83bc898a975ab452f8b [INFO] running `Command { std: "docker" "start" "-a" "66174706e548f687b08621c420c7c98298175758e2dcb83bc898a975ab452f8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66174706e548f687b08621c420c7c98298175758e2dcb83bc898a975ab452f8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66174706e548f687b08621c420c7c98298175758e2dcb83bc898a975ab452f8b", kill_on_drop: false }` [INFO] [stdout] 66174706e548f687b08621c420c7c98298175758e2dcb83bc898a975ab452f8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] f71259cbeb00d4746efee599da14459b4d925af001319d18df2f6bb4e7897241 [INFO] running `Command { std: "docker" "start" "-a" "f71259cbeb00d4746efee599da14459b4d925af001319d18df2f6bb4e7897241", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking proc-macro2 v1.0.28 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking to_bytes_derive v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/test.rs from 2018 edition to 2021 [INFO] [stdout] error[E0432]: unresolved import `to_bytes` [INFO] [stdout] --> tests/test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use to_bytes::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `to_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `to_bytes` in this scope [INFO] [stdout] --> tests/test.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[to_bytes] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] to_bytes_derive::to_bytes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `to_bytes` in this scope [INFO] [stdout] --> tests/test.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[to_bytes] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] to_bytes_derive::to_bytes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `to_bytes` in this scope [INFO] [stdout] --> tests/test.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[to_bytes] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] to_bytes_derive::to_bytes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `to_bytes` in this scope [INFO] [stdout] --> tests/test.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | #[to_bytes(asis)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] to_bytes_derive::to_bytes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `to_bytes` in this scope [INFO] [stdout] --> tests/test.rs:75:3 [INFO] [stdout] | [INFO] [stdout] 75 | #[to_bytes(asis)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] to_bytes_derive::to_bytes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `to_bytes` in this scope [INFO] [stdout] --> tests/test.rs:92:3 [INFO] [stdout] | [INFO] [stdout] 92 | #[to_bytes(asis)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] to_bytes_derive::to_bytes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `to_bytes` in this scope [INFO] [stdout] --> tests/test.rs:128:3 [INFO] [stdout] | [INFO] [stdout] 128 | #[to_bytes(asis copy)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] to_bytes_derive::to_bytes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `to_bytes` in this scope [INFO] [stdout] --> tests/test.rs:152:3 [INFO] [stdout] | [INFO] [stdout] 152 | #[to_bytes(asis copy)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] to_bytes_derive::to_bytes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `to_bytes` in this scope [INFO] [stdout] --> tests/test.rs:172:3 [INFO] [stdout] | [INFO] [stdout] 172 | #[to_bytes(asis copy)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] to_bytes_derive::to_bytes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for struct `A` in the current scope [INFO] [stdout] --> tests/test.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 5 | struct A { [INFO] [stdout] | -------- method `to_bytes` not found for this [INFO] [stdout] ... [INFO] [stdout] 14 | let ua = dbg!(a.to_bytes()); [INFO] [stdout] | ^^^^^^^^ method not found in `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for struct `A2` in the current scope [INFO] [stdout] --> tests/test.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 21 | struct A2(u8, u16, u32); [INFO] [stdout] | ------------------------ method `to_bytes` not found for this [INFO] [stdout] ... [INFO] [stdout] 26 | let ua = dbg!(a.to_bytes()); [INFO] [stdout] | ^^^^^^^^ method not found in `A2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for enum `AE` in the current scope [INFO] [stdout] --> tests/test.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 33 | enum AE { [INFO] [stdout] | ------- method `to_bytes` not found for this [INFO] [stdout] ... [INFO] [stdout] 41 | let ua = dbg!(a.to_bytes()); [INFO] [stdout] | ^^^^^^^^ method not found in `AE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for enum `AE` in the current scope [INFO] [stdout] --> tests/test.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 33 | enum AE { [INFO] [stdout] | ------- method `to_bytes` not found for this [INFO] [stdout] ... [INFO] [stdout] 49 | let ua = dbg!(a.to_bytes()); [INFO] [stdout] | ^^^^^^^^ method not found in `AE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for struct `B` in the current scope [INFO] [stdout] --> tests/test.rs:70:29 [INFO] [stdout] | [INFO] [stdout] 56 | struct B { [INFO] [stdout] | -------- method `to_bytes` not found for this [INFO] [stdout] ... [INFO] [stdout] 70 | let ua = dbg!(a.clone().to_bytes()); [INFO] [stdout] | ^^^^^^^^ method not found in `B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for struct `B2` in the current scope [INFO] [stdout] --> tests/test.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 77 | struct B2(u8, u16, u32); [INFO] [stdout] | ------------------------ method `to_bytes` not found for this [INFO] [stdout] ... [INFO] [stdout] 87 | let ua = dbg!(a.clone().to_bytes()); [INFO] [stdout] | ^^^^^^^^ method not found in `B2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for enum `BE` in the current scope [INFO] [stdout] --> tests/test.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 94 | enum BE { [INFO] [stdout] | ------- method `to_bytes` not found for this [INFO] [stdout] ... [INFO] [stdout] 115 | let ua = dbg!(a.clone().to_bytes()); [INFO] [stdout] | ^^^^^^^^ method not found in `BE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for enum `BE` in the current scope [INFO] [stdout] --> tests/test.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 94 | enum BE { [INFO] [stdout] | ------- method `to_bytes` not found for this [INFO] [stdout] ... [INFO] [stdout] 123 | let ua = dbg!(a.clone().to_bytes()); [INFO] [stdout] | ^^^^^^^^ method not found in `BE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for struct `C` in the current scope [INFO] [stdout] --> tests/test.rs:139:29 [INFO] [stdout] | [INFO] [stdout] 130 | struct C { [INFO] [stdout] | -------- method `to_bytes` not found for this [INFO] [stdout] ... [INFO] [stdout] 139 | let ua = dbg!(a.clone().to_bytes()); [INFO] [stdout] | ^^^^^^^^ method not found in `C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for struct `C` in the current scope [INFO] [stdout] --> tests/test.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 130 | struct C { [INFO] [stdout] | -------- method `to_bytes` not found for this [INFO] [stdout] ... [INFO] [stdout] 147 | let ua = dbg!(a.clone().to_bytes()); [INFO] [stdout] | ^^^^^^^^ method not found in `C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for struct `C2` in the current scope [INFO] [stdout] --> tests/test.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 154 | struct C2(u8, u16, u32); [INFO] [stdout] | ------------------------ method `to_bytes` not found for this [INFO] [stdout] ... [INFO] [stdout] 159 | let ua = dbg!(a.clone().to_bytes()); [INFO] [stdout] | ^^^^^^^^ method not found in `C2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for struct `C2` in the current scope [INFO] [stdout] --> tests/test.rs:167:29 [INFO] [stdout] | [INFO] [stdout] 154 | struct C2(u8, u16, u32); [INFO] [stdout] | ------------------------ method `to_bytes` not found for this [INFO] [stdout] ... [INFO] [stdout] 167 | let ua = dbg!(a.clone().to_bytes()); [INFO] [stdout] | ^^^^^^^^ method not found in `C2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for enum `CE` in the current scope [INFO] [stdout] --> tests/test.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 174 | enum CE { [INFO] [stdout] | ------- method `to_bytes` not found for this [INFO] [stdout] ... [INFO] [stdout] 187 | let ua = dbg!(a.to_bytes()); [INFO] [stdout] | ^^^^^^^^ method not found in `CE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for enum `CE` in the current scope [INFO] [stdout] --> tests/test.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 174 | enum CE { [INFO] [stdout] | ------- method `to_bytes` not found for this [INFO] [stdout] ... [INFO] [stdout] 195 | let ua = dbg!(a.to_bytes()); [INFO] [stdout] | ^^^^^^^^ method not found in `CE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for enum `CE` in the current scope [INFO] [stdout] --> tests/test.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 174 | enum CE { [INFO] [stdout] | ------- method `to_bytes` not found for this [INFO] [stdout] ... [INFO] [stdout] 203 | let ua = dbg!(a.to_bytes()); [INFO] [stdout] | ^^^^^^^^ method not found in `CE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for enum `CE` in the current scope [INFO] [stdout] --> tests/test.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 174 | enum CE { [INFO] [stdout] | ------- method `to_bytes` not found for this [INFO] [stdout] ... [INFO] [stdout] 211 | let ua = dbg!(a.to_bytes()); [INFO] [stdout] | ^^^^^^^^ method not found in `CE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `to_bytes_derive` due to 27 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" "f71259cbeb00d4746efee599da14459b4d925af001319d18df2f6bb4e7897241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f71259cbeb00d4746efee599da14459b4d925af001319d18df2f6bb4e7897241", kill_on_drop: false }` [INFO] [stdout] f71259cbeb00d4746efee599da14459b4d925af001319d18df2f6bb4e7897241