[INFO] fetching crate repr_offset 0.2.1... [INFO] checking repr_offset-0.2.1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate repr_offset 0.2.1 into /workspace/builds/worker-116/source [INFO] validating manifest of crates.io crate repr_offset 0.2.1 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 repr_offset 0.2.1 [INFO] finished tweaking crates.io crate repr_offset 0.2.1 [INFO] tweaked toml for crates.io crate repr_offset 0.2.1 written to /workspace/builds/worker-116/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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded repr_offset_derive v0.2.0 [INFO] [stderr] Downloaded tstr_proc_macros v0.2.1 [INFO] [stderr] Downloaded tstr v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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] 4a39eea739b54f0c2065a91338546d933eabb17b1b3b1e577957edb9cb328f0e [INFO] running `Command { std: "docker" "start" "-a" "4a39eea739b54f0c2065a91338546d933eabb17b1b3b1e577957edb9cb328f0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a39eea739b54f0c2065a91338546d933eabb17b1b3b1e577957edb9cb328f0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a39eea739b54f0c2065a91338546d933eabb17b1b3b1e577957edb9cb328f0e", kill_on_drop: false }` [INFO] [stdout] 4a39eea739b54f0c2065a91338546d933eabb17b1b3b1e577957edb9cb328f0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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] 602200bcf9d3e3836c35279985775f50a46037c2007154fceeb8a4ea608a0223 [INFO] running `Command { std: "docker" "start" "-a" "602200bcf9d3e3836c35279985775f50a46037c2007154fceeb8a4ea608a0223", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling tstr_proc_macros v0.2.1 [INFO] [stderr] Checking tstr v0.2.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking repr_offset v0.2.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/struct_field_offset/impl_fieldoffset_methods.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | ); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/struct_field_offset/repr_offset_ext_impls.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | impl_ROExtRawMut! {*mut} [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `if_aligned` [INFO] [stdout] = note: this warning originates in the macro `impl_fo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/struct_field_offset/impl_fieldoffset_methods.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | ); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/struct_field_offset/repr_offset_ext_impls.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | impl_ROExtRawMut! {*mut} [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `if_aligned` [INFO] [stdout] = note: this warning originates in the macro `impl_fo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/struct_field_offset/impl_fieldoffset_methods.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | ); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/struct_field_offset.rs:1593:9 [INFO] [stdout] | [INFO] [stdout] 1593 | impl_fo!(fn copy(self, source, destination)) [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `if_aligned` [INFO] [stdout] = note: this warning originates in the macro `impl_fo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/struct_field_offset/impl_fieldoffset_methods.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | ); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/struct_field_offset.rs:1634:9 [INFO] [stdout] | [INFO] [stdout] 1634 | impl_fo!(fn copy_nonoverlapping(self, source, destination)) [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `if_aligned` [INFO] [stdout] = note: this warning originates in the macro `impl_fo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling core_extensions v0.1.20 [INFO] [stderr] Compiling as_derive_utils v0.8.3 [INFO] [stderr] Compiling repr_offset_derive v0.2.0 [INFO] [stdout] error: tests must be run with the "testing" feature [INFO] [stdout] --> src/lib.rs:269:1 [INFO] [stdout] | [INFO] [stdout] 269 | compile_error! { "tests must be run with the \"testing\" feature" } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::types_for_tests` [INFO] [stdout] --> src/struct_field_offset.rs:1814:16 [INFO] [stdout] | [INFO] [stdout] 1814 | use crate::types_for_tests::StructPacked; [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `types_for_tests` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/struct_field_offset/impl_fieldoffset_methods.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | ); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/struct_field_offset/repr_offset_ext_impls.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | impl_ROExtRawMut! {*mut} [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `if_aligned` [INFO] [stdout] = note: this warning originates in the macro `impl_fo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/struct_field_offset/impl_fieldoffset_methods.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | ); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/struct_field_offset/repr_offset_ext_impls.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | impl_ROExtRawMut! {*mut} [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `if_aligned` [INFO] [stdout] = note: this warning originates in the macro `impl_fo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/struct_field_offset/impl_fieldoffset_methods.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | ); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/struct_field_offset.rs:1593:9 [INFO] [stdout] | [INFO] [stdout] 1593 | impl_fo!(fn copy(self, source, destination)) [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `if_aligned` [INFO] [stdout] = note: this warning originates in the macro `impl_fo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/struct_field_offset/impl_fieldoffset_methods.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | ); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/struct_field_offset.rs:1634:9 [INFO] [stdout] | [INFO] [stdout] 1634 | impl_fo!(fn copy_nonoverlapping(self, source, destination)) [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `if_aligned` [INFO] [stdout] = note: this warning originates in the macro `impl_fo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `repr_offset` due to 3 previous errors; 4 warnings emitted [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" "602200bcf9d3e3836c35279985775f50a46037c2007154fceeb8a4ea608a0223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "602200bcf9d3e3836c35279985775f50a46037c2007154fceeb8a4ea608a0223", kill_on_drop: false }` [INFO] [stdout] 602200bcf9d3e3836c35279985775f50a46037c2007154fceeb8a4ea608a0223