[INFO] fetching crate repr_offset 0.2.1... [INFO] testing repr_offset-0.2.1 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate repr_offset 0.2.1 into /workspace/builds/worker-42/source [INFO] validating manifest of crates.io crate repr_offset 0.2.1 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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-42/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bcfbe0cb9ad2efcb4aa76fb1cf47d12131cc16981a4b5fb88168f7f890ddc85e [INFO] running `Command { std: "docker" "start" "-a" "bcfbe0cb9ad2efcb4aa76fb1cf47d12131cc16981a4b5fb88168f7f890ddc85e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcfbe0cb9ad2efcb4aa76fb1cf47d12131cc16981a4b5fb88168f7f890ddc85e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcfbe0cb9ad2efcb4aa76fb1cf47d12131cc16981a4b5fb88168f7f890ddc85e", kill_on_drop: false }` [INFO] [stdout] bcfbe0cb9ad2efcb4aa76fb1cf47d12131cc16981a4b5fb88168f7f890ddc85e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a409502c4fa0707f6fc8521eae63921848a925a81cf0dd95d89011b302fb3e8 [INFO] running `Command { std: "docker" "start" "-a" "7a409502c4fa0707f6fc8521eae63921848a925a81cf0dd95d89011b302fb3e8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling tstr_proc_macros v0.2.2 [INFO] [stderr] Compiling tstr v0.2.2 [INFO] [stderr] Compiling repr_offset v0.2.1 (/opt/rustwide/workdir) [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] Finished dev [unoptimized + debuginfo] target(s) in 25.02s [INFO] running `Command { std: "docker" "inspect" "7a409502c4fa0707f6fc8521eae63921848a925a81cf0dd95d89011b302fb3e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a409502c4fa0707f6fc8521eae63921848a925a81cf0dd95d89011b302fb3e8", kill_on_drop: false }` [INFO] [stdout] 7a409502c4fa0707f6fc8521eae63921848a925a81cf0dd95d89011b302fb3e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-42/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a59c2533e9bc65da849fddadae38578375a42e7ba92d93109b73a8cea87893a [INFO] running `Command { std: "docker" "start" "-a" "7a59c2533e9bc65da849fddadae38578375a42e7ba92d93109b73a8cea87893a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v1.0.82 [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 semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [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] [stderr] Compiling repr_offset v0.2.1 (/opt/rustwide/workdir) [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] running `Command { std: "docker" "inspect" "7a59c2533e9bc65da849fddadae38578375a42e7ba92d93109b73a8cea87893a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a59c2533e9bc65da849fddadae38578375a42e7ba92d93109b73a8cea87893a", kill_on_drop: false }` [INFO] [stdout] 7a59c2533e9bc65da849fddadae38578375a42e7ba92d93109b73a8cea87893a