[INFO] cloning repository https://github.com/Miaxos/Asbru [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Miaxos/Asbru" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMiaxos%2FAsbru", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMiaxos%2FAsbru'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f9894cf90756a6cca2dd8d72423fa0f0e21e5aa4 [INFO] checking Miaxos/Asbru/f9894cf90756a6cca2dd8d72423fa0f0e21e5aa4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMiaxos%2FAsbru" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Miaxos/Asbru 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] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Miaxos/Asbru [INFO] finished tweaking git repo https://github.com/Miaxos/Asbru [INFO] tweaked toml for git repo https://github.com/Miaxos/Asbru written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Miaxos/Asbru already has a lockfile, it will not be regenerated [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] [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] 69f8963307707ab1c7c2e8b7e249c0a7378f9878c7c458fe0b693950e4b2b14e [INFO] running `Command { std: "docker" "start" "-a" "69f8963307707ab1c7c2e8b7e249c0a7378f9878c7c458fe0b693950e4b2b14e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69f8963307707ab1c7c2e8b7e249c0a7378f9878c7c458fe0b693950e4b2b14e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69f8963307707ab1c7c2e8b7e249c0a7378f9878c7c458fe0b693950e4b2b14e", kill_on_drop: false }` [INFO] [stdout] 69f8963307707ab1c7c2e8b7e249c0a7378f9878c7c458fe0b693950e4b2b14e [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] 557a4fd9cf2ad5c60f051dccb7e19baa6849ac28f3464986e518c52e33a9632c [INFO] running `Command { std: "docker" "start" "-a" "557a4fd9cf2ad5c60f051dccb7e19baa6849ac28f3464986e518c52e33a9632c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling serde_derive v1.0.129 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking codegen v0.1.3 (https://github.com/Miaxos/codegen.git?branch=master#24dfeb04) [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking similar v1.3.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking convert_case v0.4.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking serde_yaml v0.8.19 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking async-graphql-value v2.10.2 [INFO] [stderr] Checking insta v1.7.2 [INFO] [stderr] Checking async-graphql-parser v2.10.2 [INFO] [stderr] Checking asbru v0.0.14 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Case` and `Casing` [INFO] [stdout] --> src/codegen/context/mod.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use convert_case::{Case, Casing}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/codegen/context/mod.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/codegen/context/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InterfaceType` [INFO] [stdout] --> src/codegen/context/mod.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | DirectiveDefinition, InterfaceType, SchemaDefinition, ServiceDocument, TypeDefinition, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::codegen::render::graphql::field::FieldDefinitionExt` [INFO] [stdout] --> src/codegen/render/graphql/enum.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::codegen::render::graphql::field::FieldDefinitionExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Enum` and `Impl` [INFO] [stdout] --> src/codegen/render/graphql/enum.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use codegen::{Enum, Impl, Scope}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::codegen::render::graphql::field::FieldDefinitionExt` [INFO] [stdout] --> src/codegen/render/graphql/object.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::codegen::render::graphql::field::FieldDefinitionExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/codegen/config/mod.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Case` and `Casing` [INFO] [stdout] --> src/codegen/context/mod.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use convert_case::{Case, Casing}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/codegen/context/mod.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/codegen/context/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InterfaceType` [INFO] [stdout] --> src/codegen/context/mod.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | DirectiveDefinition, InterfaceType, SchemaDefinition, ServiceDocument, TypeDefinition, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::codegen::render::graphql::field::FieldDefinitionExt` [INFO] [stdout] --> src/codegen/render/graphql/enum.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::codegen::render::graphql::field::FieldDefinitionExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Enum` and `Impl` [INFO] [stdout] --> src/codegen/render/graphql/enum.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use codegen::{Enum, Impl, Scope}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::codegen::render::graphql::field::FieldDefinitionExt` [INFO] [stdout] --> src/codegen/render/graphql/object.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::codegen::render::graphql::field::FieldDefinitionExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/codegen/context/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codegen/config/mod.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut args = "".to_string(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/codegen/context/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/codegen/config/mod.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut args = "".to_string(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_api_call` is never used [INFO] [stdout] --> src/codegen/config/mod.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl MethodHTTP { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn generate_api_call(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_a_service` is never used [INFO] [stdout] --> src/codegen/config/mod.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 287 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 288 | /// Get a service if this service exist or return an Error. [INFO] [stdout] 289 | pub fn get_a_service(&self, name: &str) -> Result<&Service, GenericErrors> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_path`, `directive_definition`, `schema_definition`, `scalar_types`, and `input_types` are never used [INFO] [stdout] --> src/codegen/context/mod.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'a> Context<'a> { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn get_path>(&self, name: S) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn directive_definition(&self) -> Vec<&DirectiveDefinition> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn schema_definition(&self) -> Vec<&SchemaDefinition> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn scalar_types(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn input_types(&'a self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `auto_import` is never used [INFO] [stdout] --> src/codegen/context/auto_import.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait AutoImport { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 7 | fn auto_import_path(&self) -> Option<(String, String)>; [INFO] [stdout] 8 | fn auto_import<'a>(&self, scope: &mut Scope) -> (); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnknownError` is never constructed [INFO] [stdout] --> src/codegen/render/graphql/fie/asbru_type.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AsbruFieldExtErrors { [INFO] [stdout] | ------------------- variant in this enum [INFO] [stdout] 12 | #[error("Unkown error {0} not found")] [INFO] [stdout] 13 | UnknownError(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AsbruFieldExtErrors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `from_number` and `is_native_gql_type` are never used [INFO] [stdout] --> src/codegen/render/graphql/field.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait FieldDefinitionExt { [INFO] [stdout] | ------------------ methods in this trait [INFO] [stdout] 8 | fn service_backed_query(&self) -> Option; [INFO] [stdout] 9 | fn from_number(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | // fn key_directive(&self) -> Option; [INFO] [stdout] 11 | fn is_native_gql_type<'a>(&self, context: &'a Context) -> Result; [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/codegen/config/mod.rs:241:10 [INFO] [stdout] | [INFO] [stdout] 241 | #[derive(Deserialize, Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/codegen/context/mod.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn get_path>(&self, name: S) -> Option { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | / self.hashpath [INFO] [stdout] 75 | | .borrow() [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: unused return value of `collect` that must be used [INFO] [stdout] --> src/codegen/context/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | / self.type_definition() [INFO] [stdout] 121 | | .iter() [INFO] [stdout] 122 | | .map(|type_def| match type_def.kind { [INFO] [stdout] 123 | | TypeKind::Scalar => { [INFO] [stdout] ... | [INFO] [stdout] 127 | | }) [INFO] [stdout] 128 | | .collect::>(); [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 120 | let _ = self.type_definition() [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/codegen/context/mod.rs:327:20 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn get_service_by_name>(&self, name: S) -> Result<&Service, GenericErrors> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 327 | .ok_or(GenericErrors::ServiceNotFoundError( [INFO] [stdout] | ____________________^ [INFO] [stdout] 328 | | name.as_ref().to_string(), [INFO] [stdout] 329 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/generate/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | fn open>(path: P) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | fs::read_to_string(path).map_err(GenericErrors::NotFoundError) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/generate/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | fn parse>(schema: S) -> Result { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | parse_schema(&schema).map_err(GenericErrors::ParserError) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/render/graphql/scal/asbru_type.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 229 | let edges_additional_fields = connection_fields [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 244 | let node_additional_fields = edge_fields [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 255 | Ok(ConnectionData { [INFO] [stdout] | ________^ [INFO] [stdout] 256 | | node_field: (*node_type).to_owned(), [INFO] [stdout] 257 | | addition_field_for_edge: edges_additional_fields, [INFO] [stdout] 258 | | addition_field_for_node: node_additional_fields, [INFO] [stdout] 259 | | }) [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 6 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `asbru` (bin "asbru" test) due to 7 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `generate_api_call` is never used [INFO] [stdout] --> src/codegen/config/mod.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl MethodHTTP { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn generate_api_call(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_a_service` is never used [INFO] [stdout] --> src/codegen/config/mod.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 287 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 288 | /// Get a service if this service exist or return an Error. [INFO] [stdout] 289 | pub fn get_a_service(&self, name: &str) -> Result<&Service, GenericErrors> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_path`, `directive_definition`, `schema_definition`, `scalar_types`, and `input_types` are never used [INFO] [stdout] --> src/codegen/context/mod.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'a> Context<'a> { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn get_path>(&self, name: S) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn directive_definition(&self) -> Vec<&DirectiveDefinition> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn schema_definition(&self) -> Vec<&SchemaDefinition> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn scalar_types(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn input_types(&'a self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `auto_import` is never used [INFO] [stdout] --> src/codegen/context/auto_import.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait AutoImport { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 7 | fn auto_import_path(&self) -> Option<(String, String)>; [INFO] [stdout] 8 | fn auto_import<'a>(&self, scope: &mut Scope) -> (); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnknownError` is never constructed [INFO] [stdout] --> src/codegen/render/graphql/fie/asbru_type.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum AsbruFieldExtErrors { [INFO] [stdout] | ------------------- variant in this enum [INFO] [stdout] 12 | #[error("Unkown error {0} not found")] [INFO] [stdout] 13 | UnknownError(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AsbruFieldExtErrors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `from_number` and `is_native_gql_type` are never used [INFO] [stdout] --> src/codegen/render/graphql/field.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait FieldDefinitionExt { [INFO] [stdout] | ------------------ methods in this trait [INFO] [stdout] 8 | fn service_backed_query(&self) -> Option; [INFO] [stdout] 9 | fn from_number(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | // fn key_directive(&self) -> Option; [INFO] [stdout] 11 | fn is_native_gql_type<'a>(&self, context: &'a Context) -> Result; [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/codegen/config/mod.rs:241:10 [INFO] [stdout] | [INFO] [stdout] 241 | #[derive(Deserialize, Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/codegen/context/mod.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn get_path>(&self, name: S) -> Option { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | / self.hashpath [INFO] [stdout] 75 | | .borrow() [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: unused return value of `collect` that must be used [INFO] [stdout] --> src/codegen/context/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | / self.type_definition() [INFO] [stdout] 121 | | .iter() [INFO] [stdout] 122 | | .map(|type_def| match type_def.kind { [INFO] [stdout] 123 | | TypeKind::Scalar => { [INFO] [stdout] ... | [INFO] [stdout] 127 | | }) [INFO] [stdout] 128 | | .collect::>(); [INFO] [stdout] | |________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 120 | let _ = self.type_definition() [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/codegen/context/mod.rs:327:20 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn get_service_by_name>(&self, name: S) -> Result<&Service, GenericErrors> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 327 | .ok_or(GenericErrors::ServiceNotFoundError( [INFO] [stdout] | ____________________^ [INFO] [stdout] 328 | | name.as_ref().to_string(), [INFO] [stdout] 329 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/generate/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | fn open>(path: P) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | fs::read_to_string(path).map_err(GenericErrors::NotFoundError) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/generate/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | fn parse>(schema: S) -> Result { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | parse_schema(&schema).map_err(GenericErrors::ParserError) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/render/graphql/scal/asbru_type.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 229 | let edges_additional_fields = connection_fields [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 244 | let node_additional_fields = edge_fields [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 255 | Ok(ConnectionData { [INFO] [stdout] | ________^ [INFO] [stdout] 256 | | node_field: (*node_type).to_owned(), [INFO] [stdout] 257 | | addition_field_for_edge: edges_additional_fields, [INFO] [stdout] 258 | | addition_field_for_node: node_additional_fields, [INFO] [stdout] 259 | | }) [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 6 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `asbru` (bin "asbru") due to 7 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "557a4fd9cf2ad5c60f051dccb7e19baa6849ac28f3464986e518c52e33a9632c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "557a4fd9cf2ad5c60f051dccb7e19baa6849ac28f3464986e518c52e33a9632c", kill_on_drop: false }` [INFO] [stdout] 557a4fd9cf2ad5c60f051dccb7e19baa6849ac28f3464986e518c52e33a9632c