[INFO] fetching crate repr_offset 0.2.1... [INFO] checking repr_offset-0.2.1 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate repr_offset 0.2.1 into /workspace/builds/worker-64/source [INFO] validating manifest of crates.io crate repr_offset 0.2.1 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-64/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ef3e80987f3754af8c15ffb72ad64b42c339e1c72c57491a4edafe4ff53ad17 [INFO] running `Command { std: "docker" "start" "-a" "5ef3e80987f3754af8c15ffb72ad64b42c339e1c72c57491a4edafe4ff53ad17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ef3e80987f3754af8c15ffb72ad64b42c339e1c72c57491a4edafe4ff53ad17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ef3e80987f3754af8c15ffb72ad64b42c339e1c72c57491a4edafe4ff53ad17", kill_on_drop: false }` [INFO] [stdout] 5ef3e80987f3754af8c15ffb72ad64b42c339e1c72c57491a4edafe4ff53ad17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2487ca4079c835c7d9a921a4a846c973b86219702f6cb1143da5e666d80231c4 [INFO] running `Command { std: "docker" "start" "-a" "2487ca4079c835c7d9a921a4a846c973b86219702f6cb1143da5e666d80231c4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling tstr_proc_macros v0.2.1 [INFO] [stderr] Compiling core_extensions v0.1.20 [INFO] [stderr] Checking tstr v0.2.1 [INFO] [stderr] Checking 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] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.75 [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] running `Command { std: "docker" "inspect" "2487ca4079c835c7d9a921a4a846c973b86219702f6cb1143da5e666d80231c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2487ca4079c835c7d9a921a4a846c973b86219702f6cb1143da5e666d80231c4", kill_on_drop: false }` [INFO] [stdout] 2487ca4079c835c7d9a921a4a846c973b86219702f6cb1143da5e666d80231c4