[INFO] fetching crate asbru 0.0.12... [INFO] testing asbru-0.0.12 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate asbru 0.0.12 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate asbru 0.0.12 [INFO] finished tweaking crates.io crate asbru 0.0.12 [INFO] tweaked toml for crates.io crate asbru 0.0.12 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate asbru 0.0.12 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate asbru 0.0.12 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded codegen v0.1.3 [INFO] [stderr] Downloaded anyhow v1.0.42 [INFO] [stderr] Downloaded async-graphql-parser v2.9.10 [INFO] [stderr] Downloaded async-graphql-value v2.9.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b97a4c42535dfb2483c8c8971b7bedf2f58e2c3545668ef5cd9acd35b4484eb [INFO] running `Command { std: "docker" "start" "-a" "0b97a4c42535dfb2483c8c8971b7bedf2f58e2c3545668ef5cd9acd35b4484eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b97a4c42535dfb2483c8c8971b7bedf2f58e2c3545668ef5cd9acd35b4484eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b97a4c42535dfb2483c8c8971b7bedf2f58e2c3545668ef5cd9acd35b4484eb", kill_on_drop: false }` [INFO] [stdout] 0b97a4c42535dfb2483c8c8971b7bedf2f58e2c3545668ef5cd9acd35b4484eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2cef96cbfb1dacea733fe7e0b341fc56c6927541d46c4247c4a71d65eb41fd5f [INFO] running `Command { std: "docker" "start" "-a" "2cef96cbfb1dacea733fe7e0b341fc56c6927541d46c4247c4a71d65eb41fd5f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling serde v1.0.127 [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 maplit v1.0.2 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling codegen v0.1.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling regex v1.5.4 [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] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling async-graphql-value v2.9.10 [INFO] [stderr] Compiling async-graphql-parser v2.9.10 [INFO] [stderr] Compiling asbru v0.0.12 (/opt/rustwide/workdir) [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:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InterfaceType` [INFO] [stdout] --> src/codegen/context/mod.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | 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: `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 `directive_definition`, `schema_definition`, `scalar_types`, and `interface_types` are never used [INFO] [stdout] --> src/codegen/context/mod.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl<'a> Context<'a> { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | fn directive_definition(&self) -> Vec<&DirectiveDefinition> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn schema_definition(&self) -> Vec<&SchemaDefinition> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn scalar_types(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn interface_types(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_native_gql_type` is never used [INFO] [stdout] --> src/codegen/render/graphql/field.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait FieldDefinitionExt { [INFO] [stdout] | ------------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 17 | fn is_native_gql_type<'a>(&self, context: &'a Context) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/codegen/context/mod.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | / self.type_definition() [INFO] [stdout] 86 | | .iter() [INFO] [stdout] 87 | | .map(|type_def| match type_def.kind { [INFO] [stdout] 88 | | TypeKind::Scalar => { [INFO] [stdout] ... | [INFO] [stdout] 92 | | }) [INFO] [stdout] 93 | | .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] 85 | let _ = self.type_definition() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/context/mod.rs:111:25 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn object_types(&self) -> Vec { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn object_types(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/context/mod.rs:128:23 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn enum_types(&self) -> Vec { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 128 | pub fn enum_types(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.55s [INFO] running `Command { std: "docker" "inspect" "2cef96cbfb1dacea733fe7e0b341fc56c6927541d46c4247c4a71d65eb41fd5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cef96cbfb1dacea733fe7e0b341fc56c6927541d46c4247c4a71d65eb41fd5f", kill_on_drop: false }` [INFO] [stdout] 2cef96cbfb1dacea733fe7e0b341fc56c6927541d46c4247c4a71d65eb41fd5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4337093bc3125950d2313a48fe653aa973ad25b0ce66b79f7697a599328aa9f9 [INFO] running `Command { std: "docker" "start" "-a" "4337093bc3125950d2313a48fe653aa973ad25b0ce66b79f7697a599328aa9f9", kill_on_drop: false }` [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling similar v1.3.0 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling insta v1.7.1 [INFO] [stderr] Compiling asbru v0.0.12 (/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:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InterfaceType` [INFO] [stdout] --> src/codegen/context/mod.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | 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: `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 `directive_definition`, `schema_definition`, `scalar_types`, and `interface_types` are never used [INFO] [stdout] --> src/codegen/context/mod.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl<'a> Context<'a> { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | fn directive_definition(&self) -> Vec<&DirectiveDefinition> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn schema_definition(&self) -> Vec<&SchemaDefinition> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn scalar_types(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn interface_types(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_native_gql_type` is never used [INFO] [stdout] --> src/codegen/render/graphql/field.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait FieldDefinitionExt { [INFO] [stdout] | ------------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 17 | fn is_native_gql_type<'a>(&self, context: &'a Context) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/codegen/context/mod.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | / self.type_definition() [INFO] [stdout] 86 | | .iter() [INFO] [stdout] 87 | | .map(|type_def| match type_def.kind { [INFO] [stdout] 88 | | TypeKind::Scalar => { [INFO] [stdout] ... | [INFO] [stdout] 92 | | }) [INFO] [stdout] 93 | | .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] 85 | let _ = self.type_definition() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/context/mod.rs:111:25 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn object_types(&self) -> Vec { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn object_types(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/codegen/context/mod.rs:128:23 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn enum_types(&self) -> Vec { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 128 | pub fn enum_types(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.38s [INFO] running `Command { std: "docker" "inspect" "4337093bc3125950d2313a48fe653aa973ad25b0ce66b79f7697a599328aa9f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4337093bc3125950d2313a48fe653aa973ad25b0ce66b79f7697a599328aa9f9", kill_on_drop: false }` [INFO] [stdout] 4337093bc3125950d2313a48fe653aa973ad25b0ce66b79f7697a599328aa9f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 3fb00f631f61bc2680673f6236f1f98195c87d2613fd6a497240d60b4dafa81c [INFO] running `Command { std: "docker" "start" "-a" "3fb00f631f61bc2680673f6236f1f98195c87d2613fd6a497240d60b4dafa81c", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Case` and `Casing` [INFO] [stderr] --> src/codegen/context/mod.rs:1:20 [INFO] [stderr] | [INFO] [stderr] 1 | use convert_case::{Case, Casing}; [INFO] [stderr] | ^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Read` [INFO] [stderr] --> src/codegen/context/mod.rs:7:15 [INFO] [stderr] | [INFO] [stderr] 7 | use std::io::{Read, Write}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `InterfaceType` [INFO] [stderr] --> src/codegen/context/mod.rs:13:26 [INFO] [stderr] | [INFO] [stderr] 13 | DirectiveDefinition, InterfaceType, SchemaDefinition, ServiceDocument, TypeDefinition, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::codegen::render::graphql::field::FieldDefinitionExt` [INFO] [stderr] --> src/codegen/render/graphql/enum.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::codegen::render::graphql::field::FieldDefinitionExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Enum` and `Impl` [INFO] [stderr] --> src/codegen/render/graphql/enum.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | use codegen::{Enum, Impl, Scope}; [INFO] [stderr] | ^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::borrow::BorrowMut` [INFO] [stderr] --> src/codegen/context/mod.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::borrow::BorrowMut; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/codegen/config/mod.rs:35:13 [INFO] [stderr] | [INFO] [stderr] 35 | let mut args = "".to_string(); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `generate_api_call` is never used [INFO] [stderr] --> src/codegen/config/mod.rs:224:12 [INFO] [stderr] | [INFO] [stderr] 33 | impl MethodHTTP { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 224 | pub fn generate_api_call(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `get_a_service` is never used [INFO] [stderr] --> src/codegen/config/mod.rs:289:12 [INFO] [stderr] | [INFO] [stderr] 287 | impl Config { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] 288 | /// Get a service if this service exist or return an Error. [INFO] [stderr] 289 | pub fn get_a_service(&self, name: &str) -> Result<&Service, GenericErrors> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `directive_definition`, `schema_definition`, `scalar_types`, and `interface_types` are never used [INFO] [stderr] --> src/codegen/context/mod.rs:62:8 [INFO] [stderr] | [INFO] [stderr] 34 | impl<'a> Context<'a> { [INFO] [stderr] | -------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 62 | fn directive_definition(&self) -> Vec<&DirectiveDefinition> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 73 | fn schema_definition(&self) -> Vec<&SchemaDefinition> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 84 | pub fn scalar_types(&self) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 97 | pub fn interface_types(&self) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `is_native_gql_type` is never used [INFO] [stderr] --> src/codegen/render/graphql/field.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 13 | pub trait FieldDefinitionExt { [INFO] [stderr] | ------------------ method in this trait [INFO] [stderr] ... [INFO] [stderr] 17 | fn is_native_gql_type<'a>(&self, context: &'a Context) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `collect` that must be used [INFO] [stderr] --> src/codegen/context/mod.rs:85:9 [INFO] [stderr] | [INFO] [stderr] 85 | / self.type_definition() [INFO] [stderr] 86 | | .iter() [INFO] [stderr] 87 | | .map(|type_def| match type_def.kind { [INFO] [stderr] 88 | | TypeKind::Scalar => { [INFO] [stderr] ... | [INFO] [stderr] 92 | | }) [INFO] [stderr] 93 | | .collect::>(); [INFO] [stderr] | |________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 85 | let _ = self.type_definition() [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/codegen/context/mod.rs:111:25 [INFO] [stderr] | [INFO] [stderr] 111 | pub fn object_types(&self) -> Vec { [INFO] [stderr] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 111 | pub fn object_types(&self) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/codegen/context/mod.rs:128:23 [INFO] [stderr] | [INFO] [stderr] 128 | pub fn enum_types(&self) -> Vec { [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 128 | pub fn enum_types(&self) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `asbru` (bin "asbru" test) generated 14 warnings (run `cargo fix --bin "asbru" --tests` to apply 8 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/asbru-ebe0c1e1266098d1) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test codegen::config::test::test_config_format ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3fb00f631f61bc2680673f6236f1f98195c87d2613fd6a497240d60b4dafa81c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fb00f631f61bc2680673f6236f1f98195c87d2613fd6a497240d60b4dafa81c", kill_on_drop: false }` [INFO] [stdout] 3fb00f631f61bc2680673f6236f1f98195c87d2613fd6a497240d60b4dafa81c