[INFO] fetching crate repr_offset 0.2.1... [INFO] testing repr_offset-0.2.1 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate repr_offset 0.2.1 into /workspace/builds/worker-29/source [INFO] validating manifest of crates.io crate repr_offset 0.2.1 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-29/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tstr_proc_macros v0.2.2 [INFO] [stderr] Downloaded tstr v0.2.2 [INFO] [stderr] Downloaded repr_offset_derive v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86a09f8ef0aac4fc465935aa25888a433cd4609d81b2ce4f037bea11cd80c00b [INFO] running `Command { std: "docker" "start" "-a" "86a09f8ef0aac4fc465935aa25888a433cd4609d81b2ce4f037bea11cd80c00b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86a09f8ef0aac4fc465935aa25888a433cd4609d81b2ce4f037bea11cd80c00b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86a09f8ef0aac4fc465935aa25888a433cd4609d81b2ce4f037bea11cd80c00b", kill_on_drop: false }` [INFO] [stdout] 86a09f8ef0aac4fc465935aa25888a433cd4609d81b2ce4f037bea11cd80c00b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f500326a4be86fa8acd2d198f758b1a2533b825e18d2741ac63aa18d1ad7c57c [INFO] running `Command { std: "docker" "start" "-a" "f500326a4be86fa8acd2d198f758b1a2533b825e18d2741ac63aa18d1ad7c57c", kill_on_drop: false }` [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 0.88s [INFO] running `Command { std: "docker" "inspect" "f500326a4be86fa8acd2d198f758b1a2533b825e18d2741ac63aa18d1ad7c57c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f500326a4be86fa8acd2d198f758b1a2533b825e18d2741ac63aa18d1ad7c57c", kill_on_drop: false }` [INFO] [stdout] f500326a4be86fa8acd2d198f758b1a2533b825e18d2741ac63aa18d1ad7c57c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f68bdf6a64b9588424786b50cb652b39cd83e038c0f683e80bce34b81bd3470f [INFO] running `Command { std: "docker" "start" "-a" "f68bdf6a64b9588424786b50cb652b39cd83e038c0f683e80bce34b81bd3470f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling semver v0.9.0 [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 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" "f68bdf6a64b9588424786b50cb652b39cd83e038c0f683e80bce34b81bd3470f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f68bdf6a64b9588424786b50cb652b39cd83e038c0f683e80bce34b81bd3470f", kill_on_drop: false }` [INFO] [stdout] f68bdf6a64b9588424786b50cb652b39cd83e038c0f683e80bce34b81bd3470f