[INFO] cloning repository https://github.com/freneza/pokedex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/freneza/pokedex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffreneza%2Fpokedex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffreneza%2Fpokedex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 818d14d5315718c4a4d9883cf08542ed6ec9dcc3 [INFO] testing freneza/pokedex against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffreneza%2Fpokedex" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/freneza/pokedex [INFO] finished tweaking git repo https://github.com/freneza/pokedex [INFO] tweaked toml for git repo https://github.com/freneza/pokedex written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/freneza/pokedex on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/freneza/pokedex already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.3.2 [INFO] [stderr] Downloaded clap_builder v4.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47544349f874839efcb02add3d9adf5e22d0573dad65f726f3d40031c207bc63 [INFO] running `Command { std: "docker" "start" "-a" "47544349f874839efcb02add3d9adf5e22d0573dad65f726f3d40031c207bc63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47544349f874839efcb02add3d9adf5e22d0573dad65f726f3d40031c207bc63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47544349f874839efcb02add3d9adf5e22d0573dad65f726f3d40031c207bc63", kill_on_drop: false }` [INFO] [stdout] 47544349f874839efcb02add3d9adf5e22d0573dad65f726f3d40031c207bc63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4178ee22274f32e908aa59e7702eb182d36d68c5ca55136512df70520c231569 [INFO] running `Command { std: "docker" "start" "-a" "4178ee22274f32e908aa59e7702eb182d36d68c5ca55136512df70520c231569", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rustix v0.37.19 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tempfile v3.6.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling anstyle-parse v0.2.0 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling anstyle v1.0.0 [INFO] [stderr] Compiling gzip-header v1.0.0 [INFO] [stderr] Compiling brotli-decompressor v2.3.4 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling chunked_transfer v1.4.1 [INFO] [stderr] Compiling clap_lex v0.5.0 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling zeroize v1.6.0 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling tiny_http v0.12.0 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling filetime v0.2.21 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling time v0.3.22 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling is-terminal v0.4.7 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling dialoguer v0.10.4 [INFO] [stderr] Compiling clap_builder v4.3.1 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling clap_derive v4.3.2 [INFO] [stderr] Compiling clap v4.3.2 [INFO] [stderr] Compiling rouille v3.6.2 [INFO] [stderr] Compiling pokedex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Arg` [INFO] [stdout] --> src/main.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use clap::{Command, Arg}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `number`, `name`, and `types` are never read [INFO] [stdout] --> src/cli/create_pokemon.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 9 | number: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | 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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `number`, `name`, and `types` are never read [INFO] [stdout] --> src/cli/fetch_all_pokemons.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 7 | number: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | name: String, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `number`, `name`, and `types` are never read [INFO] [stdout] --> src/cli/fetch_pokemon.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 8 | number: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | name: String, [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] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.65s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "4178ee22274f32e908aa59e7702eb182d36d68c5ca55136512df70520c231569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4178ee22274f32e908aa59e7702eb182d36d68c5ca55136512df70520c231569", kill_on_drop: false }` [INFO] [stdout] 4178ee22274f32e908aa59e7702eb182d36d68c5ca55136512df70520c231569 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83964a12bf0f96d98b56e31deb732caec1c15e8688ec5cbd03ed4a16e8a95e9f [INFO] running `Command { std: "docker" "start" "-a" "83964a12bf0f96d98b56e31deb732caec1c15e8688ec5cbd03ed4a16e8a95e9f", kill_on_drop: false }` [INFO] [stderr] Compiling pokedex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Arg` [INFO] [stdout] --> src/main.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use clap::{Command, Arg}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `number`, `name`, and `types` are never read [INFO] [stdout] --> src/cli/create_pokemon.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 9 | number: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | 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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `number`, `name`, and `types` are never read [INFO] [stdout] --> src/cli/fetch_all_pokemons.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 7 | number: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | name: String, [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] [INFO] [stdout] [INFO] [stdout] warning: fields `number`, `name`, and `types` are never read [INFO] [stdout] --> src/cli/fetch_pokemon.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 8 | number: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | name: String, [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] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/domain/create_pokemon.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | / repo.insert( [INFO] [stdout] 83 | | PokemonNumber::pikachu(), [INFO] [stdout] 84 | | PokemonName::pikachu(), [INFO] [stdout] 85 | | PokemonTypes::pikachu()); [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 82 | let _ = repo.insert( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "83964a12bf0f96d98b56e31deb732caec1c15e8688ec5cbd03ed4a16e8a95e9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83964a12bf0f96d98b56e31deb732caec1c15e8688ec5cbd03ed4a16e8a95e9f", kill_on_drop: false }` [INFO] [stdout] 83964a12bf0f96d98b56e31deb732caec1c15e8688ec5cbd03ed4a16e8a95e9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b2e7dad9363680b24ded8e7e1ec039aa02b18fee5fb88122d2eae78afd0e9c48 [INFO] running `Command { std: "docker" "start" "-a" "b2e7dad9363680b24ded8e7e1ec039aa02b18fee5fb88122d2eae78afd0e9c48", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Arg` [INFO] [stderr] --> src/main.rs:11:21 [INFO] [stderr] | [INFO] [stderr] 11 | use clap::{Command, Arg}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `number`, `name`, and `types` are never read [INFO] [stderr] --> src/cli/create_pokemon.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 8 | struct Response { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 9 | number: u16, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 10 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 11 | 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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `number`, `name`, and `types` are never read [INFO] [stderr] --> src/cli/fetch_all_pokemons.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 6 | struct Response { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 7 | number: u16, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 8 | name: String, [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] [INFO] [stderr] warning: fields `number`, `name`, and `types` are never read [INFO] [stderr] --> src/cli/fetch_pokemon.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 7 | struct Response { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 8 | number: u16, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 9 | name: String, [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] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/domain/create_pokemon.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | / repo.insert( [INFO] [stderr] 83 | | PokemonNumber::pikachu(), [INFO] [stderr] 84 | | PokemonName::pikachu(), [INFO] [stderr] 85 | | PokemonTypes::pikachu()); [INFO] [stderr] | |____________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 82 | let _ = repo.insert( [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `pokedex` (bin "pokedex" test) generated 5 warnings (run `cargo fix --bin "pokedex" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pokedex-30023051867a57b4) [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_the_pokemon_number_otherwise ... 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_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_the_pokemon_otherwise ... ok [INFO] [stdout] test domain::fetch_pokemon::tests::it_should_return_an_unknown_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] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b2e7dad9363680b24ded8e7e1ec039aa02b18fee5fb88122d2eae78afd0e9c48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2e7dad9363680b24ded8e7e1ec039aa02b18fee5fb88122d2eae78afd0e9c48", kill_on_drop: false }` [INFO] [stdout] b2e7dad9363680b24ded8e7e1ec039aa02b18fee5fb88122d2eae78afd0e9c48