[INFO] fetching crate asbru 0.0.12... [INFO] testing asbru-0.0.12 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate asbru 0.0.12 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate asbru 0.0.12 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] 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-2/source/Cargo.toml [INFO] crate crates.io crate asbru 0.0.12 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] Downloading crates ... [INFO] [stderr] Downloaded similar v1.3.0 [INFO] [stderr] Downloaded serde_derive v1.0.127 [INFO] [stderr] Downloaded async-graphql-value v2.9.10 [INFO] [stderr] Downloaded async-graphql-parser v2.9.10 [INFO] [stderr] Downloaded serde_yaml v0.8.17 [INFO] [stderr] Downloaded insta v1.7.1 [INFO] [stderr] Downloaded serde v1.0.127 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 9bfe854b8f374ffb37c2632c268fed86a70317e1de6e837fa8080217ec9d8c17 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9bfe854b8f374ffb37c2632c268fed86a70317e1de6e837fa8080217ec9d8c17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bfe854b8f374ffb37c2632c268fed86a70317e1de6e837fa8080217ec9d8c17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bfe854b8f374ffb37c2632c268fed86a70317e1de6e837fa8080217ec9d8c17", kill_on_drop: false }` [INFO] [stdout] 9bfe854b8f374ffb37c2632c268fed86a70317e1de6e837fa8080217ec9d8c17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 26f2e3d1b574f5fc269e5309907e3841106121374a80cd8420d7f25e8d0e75c2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "26f2e3d1b574f5fc269e5309907e3841106121374a80cd8420d7f25e8d0e75c2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [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 ucd-trie v0.1.3 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling codegen v0.1.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling 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] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling bytes v1.0.1 [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.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`, `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`, `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: 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: `directive_definition` [INFO] [stdout] --> src/codegen/context/mod.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | 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:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | 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:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn scalar_types(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `interface_types` [INFO] [stdout] --> src/codegen/context/mod.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn interface_types(&self) -> Vec { [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: `#[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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 39s [INFO] running `Command { std: "docker" "inspect" "26f2e3d1b574f5fc269e5309907e3841106121374a80cd8420d7f25e8d0e75c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26f2e3d1b574f5fc269e5309907e3841106121374a80cd8420d7f25e8d0e75c2", kill_on_drop: false }` [INFO] [stdout] 26f2e3d1b574f5fc269e5309907e3841106121374a80cd8420d7f25e8d0e75c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] fa8eb21dee09b5592015fc151f2156f78584b6b0e8d26ef75bf3d1d48ba4b23c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fa8eb21dee09b5592015fc151f2156f78584b6b0e8d26ef75bf3d1d48ba4b23c", kill_on_drop: false }` [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling similar v1.3.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling console v0.14.1 [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`, `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`, `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: 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: `directive_definition` [INFO] [stdout] --> src/codegen/context/mod.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | 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:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | 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:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn scalar_types(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `interface_types` [INFO] [stdout] --> src/codegen/context/mod.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn interface_types(&self) -> Vec { [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: `#[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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 20.89s [INFO] running `Command { std: "docker" "inspect" "fa8eb21dee09b5592015fc151f2156f78584b6b0e8d26ef75bf3d1d48ba4b23c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa8eb21dee09b5592015fc151f2156f78584b6b0e8d26ef75bf3d1d48ba4b23c", kill_on_drop: false }` [INFO] [stdout] fa8eb21dee09b5592015fc151f2156f78584b6b0e8d26ef75bf3d1d48ba4b23c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 61342ba722511b99e03f861ca421311d3602d8632d823fd0b538d58c77620459 [INFO] running `Command { std: "docker" "start" "-a" "61342ba722511b99e03f861ca421311d3602d8632d823fd0b538d58c77620459", 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: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`, `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: 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: `directive_definition` [INFO] [stderr] --> src/codegen/context/mod.rs:62:8 [INFO] [stderr] | [INFO] [stderr] 62 | 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:73:8 [INFO] [stderr] | [INFO] [stderr] 73 | 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:84:12 [INFO] [stderr] | [INFO] [stderr] 84 | pub fn scalar_types(&self) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `interface_types` [INFO] [stderr] --> src/codegen/context/mod.rs:97:12 [INFO] [stderr] | [INFO] [stderr] 97 | pub fn interface_types(&self) -> Vec { [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: `#[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 14 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/asbru-614aa9b5a81c75db) [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" "61342ba722511b99e03f861ca421311d3602d8632d823fd0b538d58c77620459", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61342ba722511b99e03f861ca421311d3602d8632d823fd0b538d58c77620459", kill_on_drop: false }` [INFO] [stdout] 61342ba722511b99e03f861ca421311d3602d8632d823fd0b538d58c77620459