[INFO] cloning repository https://github.com/victormasson/HexagonalArchitecturePokemon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/victormasson/HexagonalArchitecturePokemon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvictormasson%2FHexagonalArchitecturePokemon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvictormasson%2FHexagonalArchitecturePokemon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf2c6562ecfa3b819f45ce7e6250c69547dd1a73 [INFO] testing victormasson/HexagonalArchitecturePokemon against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvictormasson%2FHexagonalArchitecturePokemon" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/victormasson/HexagonalArchitecturePokemon on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/victormasson/HexagonalArchitecturePokemon [INFO] finished tweaking git repo https://github.com/victormasson/HexagonalArchitecturePokemon [INFO] tweaked toml for git repo https://github.com/victormasson/HexagonalArchitecturePokemon written to /workspace/builds/worker-21/source/Cargo.toml [INFO] crate git repo https://github.com/victormasson/HexagonalArchitecturePokemon already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35cb41285cbfd2bce4e1e6d81c90f7d441232e0f2e0e4f0e56c5833f8dad689b [INFO] running `Command { std: "docker" "start" "-a" "35cb41285cbfd2bce4e1e6d81c90f7d441232e0f2e0e4f0e56c5833f8dad689b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35cb41285cbfd2bce4e1e6d81c90f7d441232e0f2e0e4f0e56c5833f8dad689b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35cb41285cbfd2bce4e1e6d81c90f7d441232e0f2e0e4f0e56c5833f8dad689b", kill_on_drop: false }` [INFO] [stdout] 35cb41285cbfd2bce4e1e6d81c90f7d441232e0f2e0e4f0e56c5833f8dad689b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e8701b2890bc979b3a4eec1bb4fa9dec34ceaa8283539f80eec84295e35f9dc [INFO] running `Command { std: "docker" "start" "-a" "2e8701b2890bc979b3a4eec1bb4fa9dec34ceaa8283539f80eec84295e35f9dc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling crc32fast v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling num_threads v0.1.3 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling ascii v1.0.0 [INFO] [stderr] Compiling chunked_transfer v1.4.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling zeroize v1.5.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling libsqlite3-sys v0.23.2 [INFO] [stderr] Compiling gzip-header v0.3.0 [INFO] [stderr] Compiling deflate v0.9.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling brotli v3.3.3 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling dialoguer v0.8.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling tiny_http v0.8.2 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling rusqlite v0.26.3 [INFO] [stderr] Compiling rouille v3.5.0 [INFO] [stderr] Compiling HexagonalArchitecturePokemon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Insert` [INFO] [stdout] --> src/domain/create_pokemon.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::repositories::pokemon::{Insert, InsertError, Repository}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/repositories/pokemon.rs:255:39 [INFO] [stdout] | [INFO] [stdout] 255 | Err(SqliteFailure(_, Some(message))) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `number` [INFO] [stdout] --> src/cli/create_pokemon.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | number: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cli/create_pokemon.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/cli/create_pokemon.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cli/create_pokemon.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `types` [INFO] [stdout] --> src/cli/create_pokemon.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | types: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cli/create_pokemon.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `number` [INFO] [stdout] --> src/cli/fetch_all_pokemons.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | number: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cli/fetch_all_pokemons.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/cli/fetch_all_pokemons.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cli/fetch_all_pokemons.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `types` [INFO] [stdout] --> src/cli/fetch_all_pokemons.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | types: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cli/fetch_all_pokemons.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `number` [INFO] [stdout] --> src/cli/fetch_pokemon.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | number: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cli/fetch_pokemon.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/cli/fetch_pokemon.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cli/fetch_pokemon.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `types` [INFO] [stdout] --> src/cli/fetch_pokemon.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | types: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cli/fetch_pokemon.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Insert` [INFO] [stdout] --> src/repositories/pokemon.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Insert { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `HexagonalArchitecturePokemon` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `hexagonal_architecture_pokemon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.29s [INFO] running `Command { std: "docker" "inspect" "2e8701b2890bc979b3a4eec1bb4fa9dec34ceaa8283539f80eec84295e35f9dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e8701b2890bc979b3a4eec1bb4fa9dec34ceaa8283539f80eec84295e35f9dc", kill_on_drop: false }` [INFO] [stdout] 2e8701b2890bc979b3a4eec1bb4fa9dec34ceaa8283539f80eec84295e35f9dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10d83069ba03c3bafc1af16bd1a04c17b4d588c711b277810b1cebe3d6549fb0 [INFO] running `Command { std: "docker" "start" "-a" "10d83069ba03c3bafc1af16bd1a04c17b4d588c711b277810b1cebe3d6549fb0", kill_on_drop: false }` [INFO] [stderr] Compiling HexagonalArchitecturePokemon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Insert` [INFO] [stdout] --> src/domain/create_pokemon.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::repositories::pokemon::{Insert, InsertError, Repository}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/repositories/pokemon.rs:255:39 [INFO] [stdout] | [INFO] [stdout] 255 | Err(SqliteFailure(_, Some(message))) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `number` [INFO] [stdout] --> src/cli/create_pokemon.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | number: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cli/create_pokemon.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/cli/create_pokemon.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cli/create_pokemon.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `types` [INFO] [stdout] --> src/cli/create_pokemon.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | types: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cli/create_pokemon.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `number` [INFO] [stdout] --> src/cli/fetch_all_pokemons.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | number: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cli/fetch_all_pokemons.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/cli/fetch_all_pokemons.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cli/fetch_all_pokemons.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `types` [INFO] [stdout] --> src/cli/fetch_all_pokemons.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | types: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cli/fetch_all_pokemons.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `number` [INFO] [stdout] --> src/cli/fetch_pokemon.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | number: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cli/fetch_pokemon.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/cli/fetch_pokemon.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cli/fetch_pokemon.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `types` [INFO] [stdout] --> src/cli/fetch_pokemon.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | types: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cli/fetch_pokemon.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Insert` [INFO] [stdout] --> src/repositories/pokemon.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Insert { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `HexagonalArchitecturePokemon` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `hexagonal_architecture_pokemon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/domain/create_pokemon.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | / repo.insert( [INFO] [stdout] 88 | | PokemonNumber::pikachu(), [INFO] [stdout] 89 | | PokemonName::pikachu(), [INFO] [stdout] 90 | | PokemonTypes::pikachu(), [INFO] [stdout] 91 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.26s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/HexagonalArchitecturePokemon-9fe5843db1bc0475) [INFO] running `Command { std: "docker" "inspect" "10d83069ba03c3bafc1af16bd1a04c17b4d588c711b277810b1cebe3d6549fb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10d83069ba03c3bafc1af16bd1a04c17b4d588c711b277810b1cebe3d6549fb0", kill_on_drop: false }` [INFO] [stdout] 10d83069ba03c3bafc1af16bd1a04c17b4d588c711b277810b1cebe3d6549fb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 948ef14cbcd21e36ea81b1411225723367903f1b3c2757d6cee9e6d0b43030b5 [INFO] running `Command { std: "docker" "start" "-a" "948ef14cbcd21e36ea81b1411225723367903f1b3c2757d6cee9e6d0b43030b5", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Insert` [INFO] [stderr] --> src/domain/create_pokemon.rs:2:36 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::repositories::pokemon::{Insert, InsertError, Repository}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `message` [INFO] [stderr] --> src/repositories/pokemon.rs:255:39 [INFO] [stderr] | [INFO] [stderr] 255 | Err(SqliteFailure(_, Some(message))) => { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `number` [INFO] [stderr] --> src/cli/create_pokemon.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | number: u16, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cli/create_pokemon.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/cli/create_pokemon.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cli/create_pokemon.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `types` [INFO] [stderr] --> src/cli/create_pokemon.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | types: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cli/create_pokemon.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `number` [INFO] [stderr] --> src/cli/fetch_all_pokemons.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | number: u16, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cli/fetch_all_pokemons.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/cli/fetch_all_pokemons.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cli/fetch_all_pokemons.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `types` [INFO] [stderr] --> src/cli/fetch_all_pokemons.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | types: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cli/fetch_all_pokemons.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `number` [INFO] [stderr] --> src/cli/fetch_pokemon.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | number: u16, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cli/fetch_pokemon.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/cli/fetch_pokemon.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cli/fetch_pokemon.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `types` [INFO] [stderr] --> src/cli/fetch_pokemon.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | types: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cli/fetch_pokemon.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `Insert` [INFO] [stderr] --> src/repositories/pokemon.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | pub enum Insert { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: crate `HexagonalArchitecturePokemon` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `hexagonal_architecture_pokemon` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/domain/create_pokemon.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 87 | / repo.insert( [INFO] [stderr] 88 | | PokemonNumber::pikachu(), [INFO] [stderr] 89 | | PokemonName::pikachu(), [INFO] [stderr] 90 | | PokemonTypes::pikachu(), [INFO] [stderr] 91 | | ); [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `HexagonalArchitecturePokemon` (bin "HexagonalArchitecturePokemon" test) generated 14 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/HexagonalArchitecturePokemon-9fe5843db1bc0475) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test domain::create_pokemon::tests::it_should_return_a_bad_request_error_when_request_is_invalid ... ok [INFO] [stdout] test domain::create_pokemon::tests::it_should_return_an_error_when_an_unexpected_error_happens ... ok [INFO] [stdout] test domain::create_pokemon::tests::it_should_return_a_conflict_error_when_pokemon_number_already_exists ... ok [INFO] [stdout] test domain::create_pokemon::tests::it_should_return_the_pokemon_number_otherwise ... ok [INFO] [stdout] test domain::delete_pokemon::tests::it_should_return_a_bad_request_error_when_request_is_invalid ... ok [INFO] [stdout] test domain::delete_pokemon::tests::it_should_return_a_not_found_error_when_the_repo_does_not_contain_the_pokemon ... ok [INFO] [stdout] test domain::delete_pokemon::tests::it_should_return_an_unknown_error_when_an_unexpected_error_happens ... ok [INFO] [stdout] test domain::delete_pokemon::tests::it_should_return_ok_otherwise ... ok [INFO] [stdout] test domain::fetch_all_pokemons::tests::it_should_return_all_the_pokemons_ordered_by_increasing_number_otherwise ... ok [INFO] [stdout] test domain::fetch_all_pokemons::tests::it_should_return_an_unknown_error_when_an_unexpected_error_happens ... ok [INFO] [stdout] test domain::fetch_pokemon::tests::it_should_return_a_bad_request_error_when_request_is_invalid ... ok [INFO] [stdout] test domain::fetch_pokemon::tests::it_should_return_a_not_found_error_when_the_repo_does_not_contain_the_pokemon ... ok [INFO] [stdout] test domain::fetch_pokemon::tests::it_should_return_an_unknown_error_when_an_unexpected_error_happens ... ok [INFO] [stdout] test domain::fetch_pokemon::tests::it_should_return_the_pokemon_otherwise ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "948ef14cbcd21e36ea81b1411225723367903f1b3c2757d6cee9e6d0b43030b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "948ef14cbcd21e36ea81b1411225723367903f1b3c2757d6cee9e6d0b43030b5", kill_on_drop: false }` [INFO] [stdout] 948ef14cbcd21e36ea81b1411225723367903f1b3c2757d6cee9e6d0b43030b5