[INFO] fetching crate structmeta-derive 0.1.4... [INFO] testing structmeta-derive-0.1.4 against 1.60.0 for beta-1.61-1 [INFO] extracting crate structmeta-derive 0.1.4 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate structmeta-derive 0.1.4 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate structmeta-derive 0.1.4 [INFO] finished tweaking crates.io crate structmeta-derive 0.1.4 [INFO] tweaked toml for crates.io crate structmeta-derive 0.1.4 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8fce6781fc06e89cc1eb39c734288fc1cfb191420447e1794c2dd587dc15680 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b8fce6781fc06e89cc1eb39c734288fc1cfb191420447e1794c2dd587dc15680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8fce6781fc06e89cc1eb39c734288fc1cfb191420447e1794c2dd587dc15680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8fce6781fc06e89cc1eb39c734288fc1cfb191420447e1794c2dd587dc15680", kill_on_drop: false }` [INFO] [stdout] b8fce6781fc06e89cc1eb39c734288fc1cfb191420447e1794c2dd587dc15680 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 78be25ab83f9ffc98d1da60094171f480f73eea2e0d30d5d8d6e6d139a0e6dc3 [INFO] running `Command { std: "docker" "start" "-a" "78be25ab83f9ffc98d1da60094171f480f73eea2e0d30d5d8d6e6d139a0e6dc3", kill_on_drop: false }` [INFO] [stderr] Compiling structmeta-derive v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/syn_utils.rs:7:74 [INFO] [stdout] | [INFO] [stdout] 7 | return std::result::Result::Err(syn::Error::new($span, $message)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/parse.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | bail!("Not supported for union.") [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 `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (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/syn_utils.rs:7:74 [INFO] [stdout] | [INFO] [stdout] 7 | return std::result::Result::Err(syn::Error::new($span, $message)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/parse.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | _ => bail!(peek.span, "more than three `#[parse(peek)]` was specified."), [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: this warning originates in the macro `bail` (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/syn_utils.rs:7:74 [INFO] [stdout] | [INFO] [stdout] 7 | return std::result::Result::Err(syn::Error::new($span, $message)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/struct_meta.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | / bail!( [INFO] [stdout] 45 | | input.span(), [INFO] [stdout] 46 | | "`#[derive(StructMeta)]` supports only struct." [INFO] [stdout] 47 | | ) [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 `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (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/syn_utils.rs:7:74 [INFO] [stdout] | [INFO] [stdout] 7 | return std::result::Result::Err(syn::Error::new($span, $message)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/struct_meta.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | / bail!( [INFO] [stdout] 71 | | span, [INFO] [stdout] 72 | | "cannot use unnamed parameter after variadic parameter." [INFO] [stdout] 73 | | ) [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 `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (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/syn_utils.rs:7:74 [INFO] [stdout] | [INFO] [stdout] 7 | return std::result::Result::Err(syn::Error::new($span, $message)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/struct_meta.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | / ... bail!( [INFO] [stdout] 82 | | ... span, [INFO] [stdout] 83 | | ... "cannot use non optional parameter after variadic parameter." [INFO] [stdout] 84 | | ... ) [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 `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (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/syn_utils.rs:7:74 [INFO] [stdout] | [INFO] [stdout] 7 | return std::result::Result::Err(syn::Error::new($span, $message)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/struct_meta.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | bail!(span, "cannot use rest parameter twice.") [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 `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (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/syn_utils.rs:7:74 [INFO] [stdout] | [INFO] [stdout] 7 | return std::result::Result::Err(syn::Error::new($span, $message)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/struct_meta.rs:330:13 [INFO] [stdout] | [INFO] [stdout] 330 | / bail!( [INFO] [stdout] 331 | | info.span(), [INFO] [stdout] 332 | | "this field type cannot be used as unnamed parameter." [INFO] [stdout] 333 | | ) [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 `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (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/syn_utils.rs:7:74 [INFO] [stdout] | [INFO] [stdout] 7 | return std::result::Result::Err(syn::Error::new($span, $message)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/to_tokens.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | bail!("Not supported for union.") [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 `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (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/syn_utils.rs:13:94 [INFO] [stdout] | [INFO] [stdout] 13 | return std::result::Result::Err(syn::Error::new($span, std::format!($fmt, $($arg)*))); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/to_tokens.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | / bail!( [INFO] [stdout] 142 | | span, [INFO] [stdout] 143 | | "mismatched closing delimiter expected `{}`, found `{}`.", [INFO] [stdout] 144 | | close_char_of(s.delimiter), [INFO] [stdout] 145 | | close_char_of(delimiter), [INFO] [stdout] 146 | | ) [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 `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.71s [INFO] running `Command { std: "docker" "inspect" "78be25ab83f9ffc98d1da60094171f480f73eea2e0d30d5d8d6e6d139a0e6dc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78be25ab83f9ffc98d1da60094171f480f73eea2e0d30d5d8d6e6d139a0e6dc3", kill_on_drop: false }` [INFO] [stdout] 78be25ab83f9ffc98d1da60094171f480f73eea2e0d30d5d8d6e6d139a0e6dc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d35ba4b03b00c6f7059ceaa8e9c8c58c54a96145e1c7e5ad1d68f705340ce408 [INFO] running `Command { std: "docker" "start" "-a" "d35ba4b03b00c6f7059ceaa8e9c8c58c54a96145e1c7e5ad1d68f705340ce408", kill_on_drop: false }` [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/syn_utils.rs:7:74 [INFO] [stdout] | [INFO] [stdout] 7 | return std::result::Result::Err(syn::Error::new($span, $message)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/parse.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | bail!("Not supported for union.") [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 `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (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/syn_utils.rs:7:74 [INFO] [stdout] | [INFO] [stdout] 7 | return std::result::Result::Err(syn::Error::new($span, $message)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/parse.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | _ => bail!(peek.span, "more than three `#[parse(peek)]` was specified."), [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: this warning originates in the macro `bail` (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/syn_utils.rs:7:74 [INFO] [stdout] | [INFO] [stdout] 7 | return std::result::Result::Err(syn::Error::new($span, $message)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/struct_meta.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | / bail!( [INFO] [stdout] 45 | | input.span(), [INFO] [stdout] 46 | | "`#[derive(StructMeta)]` supports only struct." [INFO] [stdout] 47 | | ) [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 `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (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/syn_utils.rs:7:74 [INFO] [stdout] | [INFO] [stdout] 7 | return std::result::Result::Err(syn::Error::new($span, $message)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/struct_meta.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | / bail!( [INFO] [stdout] 71 | | span, [INFO] [stdout] 72 | | "cannot use unnamed parameter after variadic parameter." [INFO] [stdout] 73 | | ) [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 `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (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/syn_utils.rs:7:74 [INFO] [stdout] | [INFO] [stdout] 7 | return std::result::Result::Err(syn::Error::new($span, $message)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/struct_meta.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | / ... bail!( [INFO] [stdout] 82 | | ... span, [INFO] [stdout] 83 | | ... "cannot use non optional parameter after variadic parameter." [INFO] [stdout] 84 | | ... ) [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 `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling structmeta-derive v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/syn_utils.rs:7:74 [INFO] [stdout] | [INFO] [stdout] 7 | return std::result::Result::Err(syn::Error::new($span, $message)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/struct_meta.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | bail!(span, "cannot use rest parameter twice.") [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 `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (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/syn_utils.rs:7:74 [INFO] [stdout] | [INFO] [stdout] 7 | return std::result::Result::Err(syn::Error::new($span, $message)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/struct_meta.rs:330:13 [INFO] [stdout] | [INFO] [stdout] 330 | / bail!( [INFO] [stdout] 331 | | info.span(), [INFO] [stdout] 332 | | "this field type cannot be used as unnamed parameter." [INFO] [stdout] 333 | | ) [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 `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (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/syn_utils.rs:7:74 [INFO] [stdout] | [INFO] [stdout] 7 | return std::result::Result::Err(syn::Error::new($span, $message)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/to_tokens.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | bail!("Not supported for union.") [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 `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (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/syn_utils.rs:13:94 [INFO] [stdout] | [INFO] [stdout] 13 | return std::result::Result::Err(syn::Error::new($span, std::format!($fmt, $($arg)*))); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/to_tokens.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | / bail!( [INFO] [stdout] 142 | | span, [INFO] [stdout] 143 | | "mismatched closing delimiter expected `{}`, found `{}`.", [INFO] [stdout] 144 | | close_char_of(s.delimiter), [INFO] [stdout] 145 | | close_char_of(delimiter), [INFO] [stdout] 146 | | ) [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 `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/syn_utils.rs:7:74 [INFO] [stdout] | [INFO] [stdout] 7 | return std::result::Result::Err(syn::Error::new($span, $message)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/parse.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | bail!("Not supported for union.") [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 `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (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/syn_utils.rs:7:74 [INFO] [stdout] | [INFO] [stdout] 7 | return std::result::Result::Err(syn::Error::new($span, $message)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/parse.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | _ => bail!(peek.span, "more than three `#[parse(peek)]` was specified."), [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: this warning originates in the macro `bail` (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/syn_utils.rs:7:74 [INFO] [stdout] | [INFO] [stdout] 7 | return std::result::Result::Err(syn::Error::new($span, $message)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/struct_meta.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | / bail!( [INFO] [stdout] 45 | | input.span(), [INFO] [stdout] 46 | | "`#[derive(StructMeta)]` supports only struct." [INFO] [stdout] 47 | | ) [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 `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (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/syn_utils.rs:7:74 [INFO] [stdout] | [INFO] [stdout] 7 | return std::result::Result::Err(syn::Error::new($span, $message)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/struct_meta.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | / bail!( [INFO] [stdout] 71 | | span, [INFO] [stdout] 72 | | "cannot use unnamed parameter after variadic parameter." [INFO] [stdout] 73 | | ) [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 `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (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/syn_utils.rs:7:74 [INFO] [stdout] | [INFO] [stdout] 7 | return std::result::Result::Err(syn::Error::new($span, $message)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/struct_meta.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | / ... bail!( [INFO] [stdout] 82 | | ... span, [INFO] [stdout] 83 | | ... "cannot use non optional parameter after variadic parameter." [INFO] [stdout] 84 | | ... ) [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 `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (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/syn_utils.rs:7:74 [INFO] [stdout] | [INFO] [stdout] 7 | return std::result::Result::Err(syn::Error::new($span, $message)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/struct_meta.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | bail!(span, "cannot use rest parameter twice.") [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 `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (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/syn_utils.rs:7:74 [INFO] [stdout] | [INFO] [stdout] 7 | return std::result::Result::Err(syn::Error::new($span, $message)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/struct_meta.rs:330:13 [INFO] [stdout] | [INFO] [stdout] 330 | / bail!( [INFO] [stdout] 331 | | info.span(), [INFO] [stdout] 332 | | "this field type cannot be used as unnamed parameter." [INFO] [stdout] 333 | | ) [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 `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (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/syn_utils.rs:7:74 [INFO] [stdout] | [INFO] [stdout] 7 | return std::result::Result::Err(syn::Error::new($span, $message)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/to_tokens.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | bail!("Not supported for union.") [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 `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (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/syn_utils.rs:13:94 [INFO] [stdout] | [INFO] [stdout] 13 | return std::result::Result::Err(syn::Error::new($span, std::format!($fmt, $($arg)*))); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/to_tokens.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | / bail!( [INFO] [stdout] 142 | | span, [INFO] [stdout] 143 | | "mismatched closing delimiter expected `{}`, found `{}`.", [INFO] [stdout] 144 | | close_char_of(s.delimiter), [INFO] [stdout] 145 | | close_char_of(delimiter), [INFO] [stdout] 146 | | ) [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 `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option<&syn::Type>` [INFO] [stdout] --> src/struct_meta.rs:829:9 [INFO] [stdout] | [INFO] [stdout] 829 | assert_eq!( [INFO] [stdout] | _________^ [INFO] [stdout] | |_________| [INFO] [stdout] | | [INFO] [stdout] 830 | | get_option_element(&parse_quote!(Option)), [INFO] [stdout] 831 | | Some(&parse_quote!(u8)) [INFO] [stdout] 832 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | |_________| [INFO] [stdout] | |_________Option<&syn::Type> [INFO] [stdout] | Option<&syn::Type> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::Type` doesn't implement `Debug` [INFO] [stdout] --> src/struct_meta.rs:829:9 [INFO] [stdout] | [INFO] [stdout] 829 | / assert_eq!( [INFO] [stdout] 830 | | get_option_element(&parse_quote!(Option)), [INFO] [stdout] 831 | | Some(&parse_quote!(u8)) [INFO] [stdout] 832 | | ); [INFO] [stdout] | |_________^ `syn::Type` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `syn::Type` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option<&syn::Type>` [INFO] [stdout] --> src/struct_meta.rs:836:9 [INFO] [stdout] | [INFO] [stdout] 836 | assert_eq!( [INFO] [stdout] | _________^ [INFO] [stdout] | |_________| [INFO] [stdout] | | [INFO] [stdout] 837 | | get_option_element(&parse_quote!(option::Option)), [INFO] [stdout] 838 | | Some(&parse_quote!(u8)) [INFO] [stdout] 839 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | |_________| [INFO] [stdout] | |_________Option<&syn::Type> [INFO] [stdout] | Option<&syn::Type> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::Type` doesn't implement `Debug` [INFO] [stdout] --> src/struct_meta.rs:836:9 [INFO] [stdout] | [INFO] [stdout] 836 | / assert_eq!( [INFO] [stdout] 837 | | get_option_element(&parse_quote!(option::Option)), [INFO] [stdout] 838 | | Some(&parse_quote!(u8)) [INFO] [stdout] 839 | | ); [INFO] [stdout] | |_________^ `syn::Type` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `syn::Type` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option<&syn::Type>` [INFO] [stdout] --> src/struct_meta.rs:843:9 [INFO] [stdout] | [INFO] [stdout] 843 | assert_eq!( [INFO] [stdout] | _________^ [INFO] [stdout] | |_________| [INFO] [stdout] | | [INFO] [stdout] 844 | | get_option_element(&parse_quote!(core::option::Option)), [INFO] [stdout] 845 | | Some(&parse_quote!(u8)) [INFO] [stdout] 846 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | |_________| [INFO] [stdout] | |_________Option<&syn::Type> [INFO] [stdout] | Option<&syn::Type> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::Type` doesn't implement `Debug` [INFO] [stdout] --> src/struct_meta.rs:843:9 [INFO] [stdout] | [INFO] [stdout] 843 | / assert_eq!( [INFO] [stdout] 844 | | get_option_element(&parse_quote!(core::option::Option)), [INFO] [stdout] 845 | | Some(&parse_quote!(u8)) [INFO] [stdout] 846 | | ); [INFO] [stdout] | |_________^ `syn::Type` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `syn::Type` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option<&syn::Type>` [INFO] [stdout] --> src/struct_meta.rs:850:9 [INFO] [stdout] | [INFO] [stdout] 850 | assert_eq!( [INFO] [stdout] | _________^ [INFO] [stdout] | |_________| [INFO] [stdout] | | [INFO] [stdout] 851 | | get_option_element(&parse_quote!(std::option::Option)), [INFO] [stdout] 852 | | Some(&parse_quote!(u8)) [INFO] [stdout] 853 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | |_________| [INFO] [stdout] | |_________Option<&syn::Type> [INFO] [stdout] | Option<&syn::Type> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `syn::Type` doesn't implement `Debug` [INFO] [stdout] --> src/struct_meta.rs:850:9 [INFO] [stdout] | [INFO] [stdout] 850 | / assert_eq!( [INFO] [stdout] 851 | | get_option_element(&parse_quote!(std::option::Option)), [INFO] [stdout] 852 | | Some(&parse_quote!(u8)) [INFO] [stdout] 853 | | ); [INFO] [stdout] | |_________^ `syn::Type` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `syn::Type` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `structmeta-derive` due to 9 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d35ba4b03b00c6f7059ceaa8e9c8c58c54a96145e1c7e5ad1d68f705340ce408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d35ba4b03b00c6f7059ceaa8e9c8c58c54a96145e1c7e5ad1d68f705340ce408", kill_on_drop: false }` [INFO] [stdout] d35ba4b03b00c6f7059ceaa8e9c8c58c54a96145e1c7e5ad1d68f705340ce408