[INFO] cloning repository https://github.com/n4to4/pokedex
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/n4to4/pokedex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn4to4%2Fpokedex", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn4to4%2Fpokedex'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dba2546baa8871ba3b3625f7978d69adc1759052
[INFO] checking n4to4/pokedex against dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8 for pr-133502-27
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn4to4%2Fpokedex" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/n4to4/pokedex
[INFO] finished tweaking git repo https://github.com/n4to4/pokedex
[INFO] tweaked toml for git repo https://github.com/n4to4/pokedex written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/n4to4/pokedex on toolchain dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/n4to4/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" "+dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c36f533e8924a726b63f9d01e781fa8c8c28c96d1d595403829afb31452ee0f5" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 318fdbc687235c2ce602b28f105ce7b870e5db3838805b0b2d533e1453e0465b
[INFO] running `Command { std: "docker" "start" "318fdbc687235c2ce602b28f105ce7b870e5db3838805b0b2d533e1453e0465b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "318fdbc687235c2ce602b28f105ce7b870e5db3838805b0b2d533e1453e0465b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "318fdbc687235c2ce602b28f105ce7b870e5db3838805b0b2d533e1453e0465b" "/opt/rustwide/cargo-home/bin/cargo" "+dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "318fdbc687235c2ce602b28f105ce7b870e5db3838805b0b2d533e1453e0465b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "318fdbc687235c2ce602b28f105ce7b870e5db3838805b0b2d533e1453e0465b" "/opt/rustwide/cargo-home/bin/cargo" "+dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking pokedex v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::repositories::pokemon::InMemoryRepository`
[INFO] [stdout]  --> src/domain/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::repositories::pokemon::InMemoryRepository;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Request` is never constructed
[INFO] [stdout]  --> src/domain/mod.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | struct Request {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Response` is never used
[INFO] [stdout]   --> src/domain/mod.rs:16:6
[INFO] [stdout]    |
[INFO] [stdout] 16 | enum Response {
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `execute` is never used
[INFO] [stdout]   --> src/domain/mod.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn execute(repo: &mut dyn Repository, req: Request) -> Response {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Pokemon` is never constructed
[INFO] [stdout]  --> src/domain/entities.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Pokemon {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/domain/entities.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Pokemon {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 10 |     pub fn new(number: PokemonNumber, name: PokemonName, types: PokemonTypes) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PokemonName` is never constructed
[INFO] [stdout]   --> src/domain/entities.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct PokemonName(String);
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PokemonTypes` is never constructed
[INFO] [stdout]   --> src/domain/entities.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct PokemonTypes(Vec<PokemonType>);
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PokemonType` is never used
[INFO] [stdout]   --> src/domain/entities.rs:29:6
[INFO] [stdout]    |
[INFO] [stdout] 29 | enum PokemonType {
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Insert` is never used
[INFO] [stdout]  --> src/repositories/pokemon.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum Insert {
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Repository` is never used
[INFO] [stdout]  --> src/repositories/pokemon.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub trait Repository {
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InMemoryRepository` is never constructed
[INFO] [stdout]   --> src/repositories/pokemon.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct InMemoryRepository {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `with_error` are never used
[INFO] [stdout]   --> src/repositories/pokemon.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl InMemoryRepository {
[INFO] [stdout]    | ----------------------- associated items in this implementation
[INFO] [stdout] 19 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn with_error(self) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `types` are never read
[INFO] [stdout]  --> src/domain/entities.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Pokemon {
[INFO] [stdout]   |            ------- fields in this struct
[INFO] [stdout] 4 |     pub number: PokemonNumber,
[INFO] [stdout] 5 |     name: PokemonName,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 6 |     types: PokemonTypes,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/domain/entities.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct PokemonName(String);
[INFO] [stdout]    |            ----------- ^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `PokemonName` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/domain/entities.rs:26:25
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct PokemonTypes(Vec<PokemonType>);
[INFO] [stdout]    |            ------------ ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `PokemonTypes` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s
[INFO] running `Command { std: "docker" "inspect" "318fdbc687235c2ce602b28f105ce7b870e5db3838805b0b2d533e1453e0465b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "318fdbc687235c2ce602b28f105ce7b870e5db3838805b0b2d533e1453e0465b", kill_on_drop: false }`
[INFO] [stdout] 318fdbc687235c2ce602b28f105ce7b870e5db3838805b0b2d533e1453e0465b
