[INFO] cloning repository https://github.com/androettop/pokemon-game-rust
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/androettop/pokemon-game-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandroettop%2Fpokemon-game-rust"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandroettop%2Fpokemon-game-rust'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] b5b32ac6f24703ec6d8218646d5af634a91d1a6c
[INFO] testing androettop/pokemon-game-rust against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandroettop%2Fpokemon-game-rust" "/workspace/builds/worker-6-tc1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/androettop/pokemon-game-rust
[INFO] finished tweaking git repo https://github.com/androettop/pokemon-game-rust
[INFO] tweaked toml for git repo https://github.com/androettop/pokemon-game-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/androettop/pokemon-game-rust on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/androettop/pokemon-game-rust already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde v1.0.135
[INFO] [stderr]   Downloaded getrandom v0.2.4
[INFO] [stderr]   Downloaded serde_json v1.0.78
[INFO] [stderr]   Downloaded libc v0.2.113
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 94ad2c372732a7e7c28429eaf4854452f4ee496d23280f98dfb15187011a5ce2
[INFO] running `"docker" "start" "94ad2c372732a7e7c28429eaf4854452f4ee496d23280f98dfb15187011a5ce2"`
[INFO] running `"docker" "inspect" "94ad2c372732a7e7c28429eaf4854452f4ee496d23280f98dfb15187011a5ce2"`
[INFO] running `"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" "94ad2c372732a7e7c28429eaf4854452f4ee496d23280f98dfb15187011a5ce2" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "94ad2c372732a7e7c28429eaf4854452f4ee496d23280f98dfb15187011a5ce2"`
[INFO] running `"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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "94ad2c372732a7e7c28429eaf4854452f4ee496d23280f98dfb15187011a5ce2" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling libc v0.2.113
[INFO] [stderr]    Compiling serde v1.0.135
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling serde_json v1.0.78
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling getrandom v0.2.4
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]    Compiling pokemon-game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `v`
[INFO] [stdout]   --> src/pokemon.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         Ok(v["pokemon_list"].as_array().unwrap())
[INFO] [stdout]    |         ^^^-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |  |
[INFO] [stdout]    |         |  `v` is borrowed here
[INFO] [stdout]    |         returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `exp_needed` is never read
[INFO] [stdout]   --> src/pokemon.rs:77:34
[INFO] [stdout]    |
[INFO] [stdout] 77 |             let mut exp_needed = 0;
[INFO] [stdout]    |                                  ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 81 |                 exp_needed = EXP_LEVEL[self.level as usize - 1];
[INFO] [stdout]    |                 ----------------------------------------------- `exp_needed` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0515`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pokemon-game` (bin "pokemon-game") due to 1 previous error; 1 warning emitted
[INFO] running `"docker" "inspect" "94ad2c372732a7e7c28429eaf4854452f4ee496d23280f98dfb15187011a5ce2"`
[INFO] running `"docker" "rm" "-f" "94ad2c372732a7e7c28429eaf4854452f4ee496d23280f98dfb15187011a5ce2"`
[INFO] [stdout] 94ad2c372732a7e7c28429eaf4854452f4ee496d23280f98dfb15187011a5ce2
