[INFO] cloning repository https://github.com/0x7266/rustdex
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0x7266/rustdex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x7266%2Frustdex", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x7266%2Frustdex'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 838143ff61471f011bac6aec3b52fa7a4740bd45
[INFO] checking 0x7266/rustdex against master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x7266%2Frustdex" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/0x7266/rustdex
[INFO] finished tweaking git repo https://github.com/0x7266/rustdex
[INFO] tweaked toml for git repo https://github.com/0x7266/rustdex written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0x7266/rustdex on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/0x7266/rustdex 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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c1f435be32bfe2e9627050c452fbbfe70ed3266b2c6999d3a19a9814f2389220
[INFO] running `Command { std: "docker" "start" "-a" "c1f435be32bfe2e9627050c452fbbfe70ed3266b2c6999d3a19a9814f2389220", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c1f435be32bfe2e9627050c452fbbfe70ed3266b2c6999d3a19a9814f2389220", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c1f435be32bfe2e9627050c452fbbfe70ed3266b2c6999d3a19a9814f2389220", kill_on_drop: false }`
[INFO] [stdout] c1f435be32bfe2e9627050c452fbbfe70ed3266b2c6999d3a19a9814f2389220
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f019c968e98a97743e90084d4bb27b4f9bcdbcf9dbd35991d8bea833f596f7e1
[INFO] running `Command { std: "docker" "start" "-a" "f019c968e98a97743e90084d4bb27b4f9bcdbcf9dbd35991d8bea833f596f7e1", kill_on_drop: false }`
[INFO] [stderr]     Checking rustdex v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Request` is never constructed
[INFO] [stdout]  --> src/domain/create_pokemon.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Request {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Response` is never used
[INFO] [stdout]   --> src/domain/create_pokemon.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | enum Response {
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `execute` is never used
[INFO] [stdout]   --> src/domain/create_pokemon.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | 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:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct PokemonName(String);
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PokemonType` is never used
[INFO] [stdout]   --> src/domain/entities.rs:54:6
[INFO] [stdout]    |
[INFO] [stdout] 54 | enum PokemonType {
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PokemonTypes` is never constructed
[INFO] [stdout]   --> src/domain/entities.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub struct PokemonTypes(Vec<PokemonType>);
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InMemoryRepository` is never constructed
[INFO] [stdout]  --> src/repositories/pokemon.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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:9:12
[INFO] [stdout]    |
[INFO] [stdout] 8  | impl InMemoryRepository {
[INFO] [stdout]    | ----------------------- associated items in this implementation
[INFO] [stdout] 9  |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn with_error(self) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Repository` is never used
[INFO] [stdout]   --> src/repositories/pokemon.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub trait Repository {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Insert` is never used
[INFO] [stdout]   --> src/repositories/pokemon.rs:45:10
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub enum Insert {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `types` are never read
[INFO] [stdout]  --> src/domain/entities.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Pokemon {
[INFO] [stdout]   |            ------- fields in this struct
[INFO] [stdout] 4 |     name: PokemonName,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 5 |     pub number: PokemonNumber,
[INFO] [stdout] 6 |     types: PokemonTypes,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/domain/entities.rs:40:24
[INFO] [stdout]    |
[INFO] [stdout] 40 | 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] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/domain/entities.rs:71:25
[INFO] [stdout]    |
[INFO] [stdout] 71 | 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] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s
[INFO] running `Command { std: "docker" "inspect" "f019c968e98a97743e90084d4bb27b4f9bcdbcf9dbd35991d8bea833f596f7e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f019c968e98a97743e90084d4bb27b4f9bcdbcf9dbd35991d8bea833f596f7e1", kill_on_drop: false }`
[INFO] [stdout] f019c968e98a97743e90084d4bb27b4f9bcdbcf9dbd35991d8bea833f596f7e1
