[INFO] cloning repository https://github.com/trdthg/pokedex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trdthg/pokedex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrdthg%2Fpokedex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrdthg%2Fpokedex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 986da3217a1e89ee768bfa29d57850d5c5bc816a [INFO] testing trdthg/pokedex against try#1b74e096b9bfb06f84a3007193dcd2f059cbdf6a for pr-96025 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrdthg%2Fpokedex" "/workspace/builds/worker-107/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-107/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/trdthg/pokedex on toolchain 1b74e096b9bfb06f84a3007193dcd2f059cbdf6a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/trdthg/pokedex [INFO] finished tweaking git repo https://github.com/trdthg/pokedex [INFO] tweaked toml for git repo https://github.com/trdthg/pokedex written to /workspace/builds/worker-107/source/Cargo.toml [INFO] crate git repo https://github.com/trdthg/pokedex already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "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-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9530f95e22b6d6965aa55f8a3a61d87d17d7c8f0e4f7b8c290a6f636672199fb [INFO] running `Command { std: "docker" "start" "-a" "9530f95e22b6d6965aa55f8a3a61d87d17d7c8f0e4f7b8c290a6f636672199fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9530f95e22b6d6965aa55f8a3a61d87d17d7c8f0e4f7b8c290a6f636672199fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9530f95e22b6d6965aa55f8a3a61d87d17d7c8f0e4f7b8c290a6f636672199fb", kill_on_drop: false }` [INFO] [stdout] 9530f95e22b6d6965aa55f8a3a61d87d17d7c8f0e4f7b8c290a6f636672199fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfef4d9c9afccb2c49444ddcf912a0f803cd782fe405fa1fb19a9af9cc4b9d8d [INFO] running `Command { std: "docker" "start" "-a" "dfef4d9c9afccb2c49444ddcf912a0f803cd782fe405fa1fb19a9af9cc4b9d8d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling chunked_transfer v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling num_threads v0.1.5 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling ascii v1.0.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling zeroize v1.5.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling gzip-header v0.3.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling libsqlite3-sys v0.24.2 [INFO] [stderr] Compiling deflate v0.9.1 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling brotli v3.3.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling dialoguer v0.10.0 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling webpki-roots v0.22.2 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling rusqlite v0.27.0 [INFO] [stderr] Compiling tiny_http v0.8.2 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Compiling clap v3.1.6 [INFO] [stderr] Compiling rouille v3.5.0 [INFO] [stderr] Compiling ureq v2.4.0 [INFO] [stderr] Compiling pokedex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/repositories/pokemon/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Args` [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use clap::{Args, Parser}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `workspace_id` [INFO] [stdout] --> src/repositories/pokemon/airtable.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn try_new(api_key: &str, workspace_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workspace_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `serve` [INFO] [stdout] --> src/api/fetch_pokemon.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn serve(repo: Arc, number: u16) -> rouille::Response { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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: `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/delete_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/delete_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/delete_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/delete_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/delete_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/delete_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: field is never read: `createdTime` [INFO] [stdout] --> src/repositories/pokemon/airtable.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | createdTime: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `createdTime` should have a snake case name [INFO] [stdout] --> src/repositories/pokemon/airtable.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | createdTime: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `created_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 00s [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dfef4d9c9afccb2c49444ddcf912a0f803cd782fe405fa1fb19a9af9cc4b9d8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfef4d9c9afccb2c49444ddcf912a0f803cd782fe405fa1fb19a9af9cc4b9d8d", kill_on_drop: false }` [INFO] [stdout] dfef4d9c9afccb2c49444ddcf912a0f803cd782fe405fa1fb19a9af9cc4b9d8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ad95d6536e74a71541357edb8e812ea725377182ef09de2ef73ae9a47894bb1 [INFO] running `Command { std: "docker" "start" "-a" "0ad95d6536e74a71541357edb8e812ea725377182ef09de2ef73ae9a47894bb1", kill_on_drop: false }` [INFO] [stderr] Compiling pokedex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/repositories/pokemon/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Args` [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use clap::{Args, Parser}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `number` [INFO] [stdout] --> src/domain/create_pokemon.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let number = 25; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `workspace_id` [INFO] [stdout] --> src/repositories/pokemon/airtable.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let workspace_id = "wsp7OQ4vUAFY6v9M5"; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workspace_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `workspace_id` [INFO] [stdout] --> src/repositories/pokemon/airtable.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn try_new(api_key: &str, workspace_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workspace_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/domain/create_pokemon.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let mut repo = Arc::new(InMemoryRepository::new()); [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: variable does not need to be mutable [INFO] [stdout] --> src/domain/create_pokemon.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut repo = Arc::new(InMemoryRepository::new()); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/domain/create_pokemon.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut repo = Arc::new(InMemoryRepository::new().with_error()); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `serve` [INFO] [stdout] --> src/api/fetch_pokemon.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn serve(repo: Arc, number: u16) -> rouille::Response { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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: `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/delete_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/delete_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/delete_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/delete_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/delete_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/delete_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: field is never read: `createdTime` [INFO] [stdout] --> src/repositories/pokemon/airtable.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | createdTime: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `createdTime` should have a snake case name [INFO] [stdout] --> src/repositories/pokemon/airtable.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | createdTime: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `created_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.57s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/pokedex-622f38018f0733f4) [INFO] running `Command { std: "docker" "inspect" "0ad95d6536e74a71541357edb8e812ea725377182ef09de2ef73ae9a47894bb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ad95d6536e74a71541357edb8e812ea725377182ef09de2ef73ae9a47894bb1", kill_on_drop: false }` [INFO] [stdout] 0ad95d6536e74a71541357edb8e812ea725377182ef09de2ef73ae9a47894bb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2a7414a1c4107f26aac20ab2b42b11b3049aeb3c7982d012fcfe173fd0d6c4eb [INFO] running `Command { std: "docker" "start" "-a" "2a7414a1c4107f26aac20ab2b42b11b3049aeb3c7982d012fcfe173fd0d6c4eb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `std::sync::Mutex` [INFO] [stderr] --> src/repositories/pokemon/mod.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::sync::Mutex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Args` [INFO] [stderr] --> src/main.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | use clap::{Args, Parser}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `number` [INFO] [stderr] --> src/domain/create_pokemon.rs:105:13 [INFO] [stderr] | [INFO] [stderr] 105 | let number = 25; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_number` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `workspace_id` [INFO] [stderr] --> src/repositories/pokemon/airtable.rs:168:9 [INFO] [stderr] | [INFO] [stderr] 168 | let workspace_id = "wsp7OQ4vUAFY6v9M5"; [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workspace_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `workspace_id` [INFO] [stderr] --> src/repositories/pokemon/airtable.rs:31:35 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn try_new(api_key: &str, workspace_id: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workspace_id` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/domain/create_pokemon.rs:64:13 [INFO] [stderr] | [INFO] [stderr] 64 | let mut repo = Arc::new(InMemoryRepository::new()); [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: variable does not need to be mutable [INFO] [stderr] --> src/domain/create_pokemon.rs:81:13 [INFO] [stderr] | [INFO] [stderr] 81 | let mut repo = Arc::new(InMemoryRepository::new()); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/domain/create_pokemon.rs:104:13 [INFO] [stderr] | [INFO] [stderr] 104 | let mut repo = Arc::new(InMemoryRepository::new().with_error()); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `serve` [INFO] [stderr] --> src/api/fetch_pokemon.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn serve(repo: Arc, number: u16) -> rouille::Response { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` 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: `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/delete_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/delete_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/delete_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/delete_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/delete_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/delete_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: field is never read: `createdTime` [INFO] [stderr] --> src/repositories/pokemon/airtable.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | createdTime: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: structure field `createdTime` should have a snake case name [INFO] [stderr] --> src/repositories/pokemon/airtable.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | createdTime: String, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `created_time` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `pokedex` (bin "pokedex" test) generated 23 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pokedex-622f38018f0733f4) [INFO] [stdout] [INFO] [stdout] running 15 tests [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::create_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_bad_request_error_when_request_is_invalid ... ok [INFO] [stdout] test domain::delete_pokemon::tests::it_should_return_an_unknown_error_when_an_unexpected_error_happens ... ok [INFO] [stdout] test domain::fetch_all_pokemons::test::it_should_return_all_pokemons_ordered_by_number_otherwise ... 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::create_pokemon::tests::it_should_return_an_error_when_an_unexpected_error_happens ... 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::fetch_all_pokemons::test::it_should_return_an_unknown_error_when_an_unexpected_error_happens ... 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_a_bad_request_error_when_request_is_invalid ... ok [INFO] [stdout] test domain::delete_pokemon::tests::it_should_return_ok_otherwise ... ok [INFO] [stdout] test domain::fetch_pokemon::tests::it_should_return_the_pokemon_otherwise ... ok [INFO] [stdout] test repositories::pokemon::airtable::test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2a7414a1c4107f26aac20ab2b42b11b3049aeb3c7982d012fcfe173fd0d6c4eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a7414a1c4107f26aac20ab2b42b11b3049aeb3c7982d012fcfe173fd0d6c4eb", kill_on_drop: false }` [INFO] [stdout] 2a7414a1c4107f26aac20ab2b42b11b3049aeb3c7982d012fcfe173fd0d6c4eb