[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] testing Miaxos/Asbru against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMiaxos%2FAsbru" "/workspace/builds/worker-46/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-46/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Miaxos/Asbru on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-46/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-46/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: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/Miaxos/codegen.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_yaml v0.8.19 [INFO] [stderr] Downloaded insta v1.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0fcd6ed7453317a0b05a1216687eccc4a8e5010017154c8dcbd0363f0ff0959e [INFO] running `Command { std: "docker" "start" "-a" "0fcd6ed7453317a0b05a1216687eccc4a8e5010017154c8dcbd0363f0ff0959e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0fcd6ed7453317a0b05a1216687eccc4a8e5010017154c8dcbd0363f0ff0959e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fcd6ed7453317a0b05a1216687eccc4a8e5010017154c8dcbd0363f0ff0959e", kill_on_drop: false }` [INFO] [stdout] 0fcd6ed7453317a0b05a1216687eccc4a8e5010017154c8dcbd0363f0ff0959e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b72b58442319428586d48146ce177401cae7ef9688f102eb751acff8eebe146 [INFO] running `Command { std: "docker" "start" "-a" "5b72b58442319428586d48146ce177401cae7ef9688f102eb751acff8eebe146", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.6.25 [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 tinyvec v1.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling codegen v0.1.3 (https://github.com/Miaxos/codegen.git?branch=master#24dfeb04) [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling serde_derive v1.0.129 [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.1.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling async-graphql-value v2.10.2 [INFO] [stderr] Compiling async-graphql-parser v2.10.2 [INFO] [stderr] Compiling asbru v0.0.14 (/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`, `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`, `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: associated function is never used: `generate_api_call` [INFO] [stdout] --> src/codegen/config/mod.rs:224:12 [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: associated function is never used: `get_a_service` [INFO] [stdout] --> src/codegen/config/mod.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn get_a_service(&self, name: &str) -> Result<&Service, GenericErrors> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_path` [INFO] [stdout] --> src/codegen/context/mod.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn get_path>(&self, name: S) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `directive_definition` [INFO] [stdout] --> src/codegen/context/mod.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | fn directive_definition(&self) -> Vec<&DirectiveDefinition> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `schema_definition` [INFO] [stdout] --> src/codegen/context/mod.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn schema_definition(&self) -> Vec<&SchemaDefinition> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scalar_types` [INFO] [stdout] --> src/codegen/context/mod.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn scalar_types(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `input_types` [INFO] [stdout] --> src/codegen/context/mod.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn input_types(&'a self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnknownError` [INFO] [stdout] --> src/codegen/render/graphql/fie/asbru_type.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | UnknownError(String), [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: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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 35.61s [INFO] running `Command { std: "docker" "inspect" "5b72b58442319428586d48146ce177401cae7ef9688f102eb751acff8eebe146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b72b58442319428586d48146ce177401cae7ef9688f102eb751acff8eebe146", kill_on_drop: false }` [INFO] [stdout] 5b72b58442319428586d48146ce177401cae7ef9688f102eb751acff8eebe146 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] befb67cf16e0f2bfedf8215ee55ead10573fd40f46136fec0d41376d66e8cbc2 [INFO] running `Command { std: "docker" "start" "-a" "befb67cf16e0f2bfedf8215ee55ead10573fd40f46136fec0d41376d66e8cbc2", kill_on_drop: false }` [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling similar v1.3.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling serde_yaml v0.8.19 [INFO] [stderr] Compiling insta v1.7.2 [INFO] [stderr] Compiling asbru v0.0.14 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Case`, `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`, `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: associated function is never used: `generate_api_call` [INFO] [stdout] --> src/codegen/config/mod.rs:224:12 [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: associated function is never used: `get_a_service` [INFO] [stdout] --> src/codegen/config/mod.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn get_a_service(&self, name: &str) -> Result<&Service, GenericErrors> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_path` [INFO] [stdout] --> src/codegen/context/mod.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn get_path>(&self, name: S) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `directive_definition` [INFO] [stdout] --> src/codegen/context/mod.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | fn directive_definition(&self) -> Vec<&DirectiveDefinition> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `schema_definition` [INFO] [stdout] --> src/codegen/context/mod.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn schema_definition(&self) -> Vec<&SchemaDefinition> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scalar_types` [INFO] [stdout] --> src/codegen/context/mod.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn scalar_types(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `input_types` [INFO] [stdout] --> src/codegen/context/mod.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn input_types(&'a self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnknownError` [INFO] [stdout] --> src/codegen/render/graphql/fie/asbru_type.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | UnknownError(String), [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: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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 12.44s [INFO] running `Command { std: "docker" "inspect" "befb67cf16e0f2bfedf8215ee55ead10573fd40f46136fec0d41376d66e8cbc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "befb67cf16e0f2bfedf8215ee55ead10573fd40f46136fec0d41376d66e8cbc2", kill_on_drop: false }` [INFO] [stdout] befb67cf16e0f2bfedf8215ee55ead10573fd40f46136fec0d41376d66e8cbc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0e84e2a4cb3d50c9d32ceb340c59a443b7676ee6bb86085a62faa9fb6eac437c [INFO] running `Command { std: "docker" "start" "-a" "0e84e2a4cb3d50c9d32ceb340c59a443b7676ee6bb86085a62faa9fb6eac437c", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Case`, `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:8:15 [INFO] [stderr] | [INFO] [stderr] 8 | use std::io::{Read, Write}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::rc::Rc` [INFO] [stderr] --> src/codegen/context/mod.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::rc::Rc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `InterfaceType` [INFO] [stderr] --> src/codegen/context/mod.rs:15:26 [INFO] [stderr] | [INFO] [stderr] 15 | 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`, `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: `crate::codegen::render::graphql::field::FieldDefinitionExt` [INFO] [stderr] --> src/codegen/render/graphql/object.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::codegen::render::graphql::field::FieldDefinitionExt; [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: associated function is never used: `generate_api_call` [INFO] [stderr] --> src/codegen/config/mod.rs:224:12 [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: associated function is never used: `get_a_service` [INFO] [stderr] --> src/codegen/config/mod.rs:289:12 [INFO] [stderr] | [INFO] [stderr] 289 | pub fn get_a_service(&self, name: &str) -> Result<&Service, GenericErrors> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_path` [INFO] [stderr] --> src/codegen/context/mod.rs:73:12 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn get_path>(&self, name: S) -> Option { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `directive_definition` [INFO] [stderr] --> src/codegen/context/mod.rs:97:8 [INFO] [stderr] | [INFO] [stderr] 97 | fn directive_definition(&self) -> Vec<&DirectiveDefinition> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `schema_definition` [INFO] [stderr] --> src/codegen/context/mod.rs:108:8 [INFO] [stderr] | [INFO] [stderr] 108 | fn schema_definition(&self) -> Vec<&SchemaDefinition> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `scalar_types` [INFO] [stderr] --> src/codegen/context/mod.rs:119:12 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn scalar_types(&self) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `input_types` [INFO] [stderr] --> src/codegen/context/mod.rs:146:12 [INFO] [stderr] | [INFO] [stderr] 146 | pub fn input_types(&'a self) -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `UnknownError` [INFO] [stderr] --> src/codegen/render/graphql/fie/asbru_type.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | UnknownError(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `collect` that must be used [INFO] [stderr] --> src/codegen/context/mod.rs:120:9 [INFO] [stderr] | [INFO] [stderr] 120 | / self.type_definition() [INFO] [stderr] 121 | | .iter() [INFO] [stderr] 122 | | .map(|type_def| match type_def.kind { [INFO] [stderr] 123 | | TypeKind::Scalar => { [INFO] [stderr] ... | [INFO] [stderr] 127 | | }) [INFO] [stderr] 128 | | .collect::>(); [INFO] [stderr] | |_________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stderr] [INFO] [stderr] warning: `asbru` (bin "asbru" test) generated 18 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/asbru-4bf237621e9310d6) [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" "0e84e2a4cb3d50c9d32ceb340c59a443b7676ee6bb86085a62faa9fb6eac437c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e84e2a4cb3d50c9d32ceb340c59a443b7676ee6bb86085a62faa9fb6eac437c", kill_on_drop: false }` [INFO] [stdout] 0e84e2a4cb3d50c9d32ceb340c59a443b7676ee6bb86085a62faa9fb6eac437c