[INFO] fetching crate someip_derive 0.1.0... [INFO] checking someip_derive-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate someip_derive 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate someip_derive 0.1.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate someip_derive 0.1.0 [INFO] finished tweaking crates.io crate someip_derive 0.1.0 [INFO] tweaked toml for crates.io crate someip_derive 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding derive-syn-parse v0.1.5 (latest: v0.2.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e0e013b74bce75dd213e6a67785cdaced1755aebc812cd1a13c813e20fec7e4 [INFO] running `Command { std: "docker" "start" "-a" "0e0e013b74bce75dd213e6a67785cdaced1755aebc812cd1a13c813e20fec7e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e0e013b74bce75dd213e6a67785cdaced1755aebc812cd1a13c813e20fec7e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e0e013b74bce75dd213e6a67785cdaced1755aebc812cd1a13c813e20fec7e4", kill_on_drop: false }` [INFO] [stdout] 0e0e013b74bce75dd213e6a67785cdaced1755aebc812cd1a13c813e20fec7e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c7db8cdfcd46ed096190cc5b10b82a936718c95ae22e05faf6039358eea5289 [INFO] running `Command { std: "docker" "start" "-a" "2c7db8cdfcd46ed096190cc5b10b82a936718c95ae22e05faf6039358eea5289", kill_on_drop: false }` [INFO] [stderr] Compiling derive-syn-parse v0.1.5 [INFO] [stderr] Checking someip_derive v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:920:13 [INFO] [stdout] | [INFO] [stdout] 920 | /// Now the output parameters [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 921 | / if let syn::ReturnType::Type(_, ty) = &m.sig.output { [INFO] [stdout] 922 | | match ty.as_ref() { [INFO] [stdout] 923 | | syn::Type::Path(_p) => { [INFO] [stdout] 924 | | //println!("Found type path"); [INFO] [stdout] ... | [INFO] [stdout] 928 | | //println!("Found type path"); [INFO] [stdout] 929 | | } [INFO] [stdout] | |_____________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:920:13 [INFO] [stdout] | [INFO] [stdout] 920 | /// Now the output parameters [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 921 | / if let syn::ReturnType::Type(_, ty) = &m.sig.output { [INFO] [stdout] 922 | | match ty.as_ref() { [INFO] [stdout] 923 | | syn::Type::Path(_p) => { [INFO] [stdout] 924 | | //println!("Found type path"); [INFO] [stdout] ... | [INFO] [stdout] 928 | | //println!("Found type path"); [INFO] [stdout] 929 | | } [INFO] [stdout] | |_____________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dispatch_method_call` is never used [INFO] [stdout] --> src/lib.rs:674:4 [INFO] [stdout] | [INFO] [stdout] 674 | fn dispatch_method_call(id: u32, service: &Service, _item_trait: &syn::ItemTrait) -> TokenStream2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_method_field`, `get_method_fields`, `get_field_fields`, `get_event_fields`, and `get_fields_by_type` are never used [INFO] [stdout] --> src/lib.rs:951:8 [INFO] [stdout] | [INFO] [stdout] 950 | impl Service { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 951 | fn get_method_field(&self, id: u32) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 976 | fn get_method_fields(&self) -> Vec<&Field> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 979 | fn get_field_fields(&self) -> Vec<&Field> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 982 | fn get_event_fields(&self) -> Vec<&Field> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 986 | fn get_fields_by_type(&self, ty: &str) -> Vec<&Field> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `arrow` and `group_id` are never read [INFO] [stdout] --> src/lib.rs:1019:5 [INFO] [stdout] | [INFO] [stdout] 1017 | struct Id { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 1018 | id: Option, [INFO] [stdout] 1019 | arrow: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1020 | #[parse_if(arrow.is_some())] [INFO] [stdout] 1021 | group_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Id` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `group_id` is never used [INFO] [stdout] --> src/lib.rs:1032:8 [INFO] [stdout] | [INFO] [stdout] 1024 | impl Id { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1032 | fn group_id(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `arg_paren` and `colon` are never read [INFO] [stdout] --> src/lib.rs:1046:5 [INFO] [stdout] | [INFO] [stdout] 1043 | struct Field { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1046 | arg_paren: token::Bracket, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1050 | colon: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/lib.rs:1056:8 [INFO] [stdout] | [INFO] [stdout] 1055 | impl Field { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 1056 | fn id(&self) -> u32 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Method` is never constructed [INFO] [stdout] --> src/lib.rs:1061:8 [INFO] [stdout] | [INFO] [stdout] 1061 | struct Method { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `arg_paren` is never read [INFO] [stdout] --> src/lib.rs:1127:5 [INFO] [stdout] | [INFO] [stdout] 1124 | struct ServiceEntry { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 1127 | arg_paren: token::Paren, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:743:28 [INFO] [stdout] | [INFO] [stdout] 743 | .map(|(i, _ident)| TokenStream2::from_str(&format!("{}", i)).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:761:28 [INFO] [stdout] | [INFO] [stdout] 761 | .map(|(i, _ident)| TokenStream2::from_str(&format!("{}", i + 0x8000)).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dispatch_method_call` is never used [INFO] [stdout] --> src/lib.rs:674:4 [INFO] [stdout] | [INFO] [stdout] 674 | fn dispatch_method_call(id: u32, service: &Service, _item_trait: &syn::ItemTrait) -> TokenStream2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_method_field`, `get_method_fields`, `get_field_fields`, `get_event_fields`, and `get_fields_by_type` are never used [INFO] [stdout] --> src/lib.rs:951:8 [INFO] [stdout] | [INFO] [stdout] 950 | impl Service { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 951 | fn get_method_field(&self, id: u32) -> Option<&Field> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 976 | fn get_method_fields(&self) -> Vec<&Field> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 979 | fn get_field_fields(&self) -> Vec<&Field> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 982 | fn get_event_fields(&self) -> Vec<&Field> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 986 | fn get_fields_by_type(&self, ty: &str) -> Vec<&Field> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `arrow` and `group_id` are never read [INFO] [stdout] --> src/lib.rs:1019:5 [INFO] [stdout] | [INFO] [stdout] 1017 | struct Id { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 1018 | id: Option, [INFO] [stdout] 1019 | arrow: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1020 | #[parse_if(arrow.is_some())] [INFO] [stdout] 1021 | group_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Id` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `group_id` is never used [INFO] [stdout] --> src/lib.rs:1032:8 [INFO] [stdout] | [INFO] [stdout] 1024 | impl Id { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1032 | fn group_id(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `arg_paren` and `colon` are never read [INFO] [stdout] --> src/lib.rs:1046:5 [INFO] [stdout] | [INFO] [stdout] 1043 | struct Field { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1046 | arg_paren: token::Bracket, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1050 | colon: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/lib.rs:1056:8 [INFO] [stdout] | [INFO] [stdout] 1055 | impl Field { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 1056 | fn id(&self) -> u32 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Method` is never constructed [INFO] [stdout] --> src/lib.rs:1061:8 [INFO] [stdout] | [INFO] [stdout] 1061 | struct Method { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `arg_paren` is never read [INFO] [stdout] --> src/lib.rs:1127:5 [INFO] [stdout] | [INFO] [stdout] 1124 | struct ServiceEntry { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 1127 | arg_paren: token::Paren, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:743:28 [INFO] [stdout] | [INFO] [stdout] 743 | .map(|(i, _ident)| TokenStream2::from_str(&format!("{}", i)).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:761:28 [INFO] [stdout] | [INFO] [stdout] 761 | .map(|(i, _ident)| TokenStream2::from_str(&format!("{}", i + 0x8000)).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `someip_derive` (lib) due to 3 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `someip_derive` (lib test) due to 3 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2c7db8cdfcd46ed096190cc5b10b82a936718c95ae22e05faf6039358eea5289", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c7db8cdfcd46ed096190cc5b10b82a936718c95ae22e05faf6039358eea5289", kill_on_drop: false }` [INFO] [stdout] 2c7db8cdfcd46ed096190cc5b10b82a936718c95ae22e05faf6039358eea5289