[INFO] cloning repository https://github.com/afmiguel/option_jogo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/afmiguel/option_jogo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafmiguel%2Foption_jogo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafmiguel%2Foption_jogo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3641bcabdec954c6fc14dce68e61d4d89834b7bf
[INFO] checking afmiguel/option_jogo against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6+rustflags=-Znext-solver=coherence for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafmiguel%2Foption_jogo" "/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/afmiguel/option_jogo
[INFO] finished tweaking git repo https://github.com/afmiguel/option_jogo
[INFO] tweaked toml for git repo https://github.com/afmiguel/option_jogo written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/afmiguel/option_jogo on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/afmiguel/option_jogo 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1321898b1a18a73037cb199bad6adfd27d4053ac065feaee9d70f120e4668aa7
[INFO] running `Command { std: "docker" "start" "1321898b1a18a73037cb199bad6adfd27d4053ac065feaee9d70f120e4668aa7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1321898b1a18a73037cb199bad6adfd27d4053ac065feaee9d70f120e4668aa7", 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" "1321898b1a18a73037cb199bad6adfd27d4053ac065feaee9d70f120e4668aa7" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1321898b1a18a73037cb199bad6adfd27d4053ac065feaee9d70f120e4668aa7", 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 -Znext-solver=coherence" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1321898b1a18a73037cb199bad6adfd27d4053ac065feaee9d70f120e4668aa7" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking option_jogo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |   fn quantidade(mochila: &Vec<(&str, i32)>, item: &str) -> Option<i32> {
[INFO] [stdout]   |                                                            ----------- expected `Option<i32>` because of return type
[INFO] [stdout] 4 | /     for (nome, qtd) in mochila {
[INFO] [stdout] 5 | |         // se achou, devolve Some(...)
[INFO] [stdout] 6 | |     }
[INFO] [stdout]   | |_____^ expected `Option<i32>`, found `()`
[INFO] [stdout]   |
[INFO] [stdout]   = note:   expected enum `Option<i32>`
[INFO] [stdout]           found unit type `()`
[INFO] [stdout]   = note: `for` loops evaluate to unit type `()`
[INFO] [stdout] help: try adding an expression at the end of the block
[INFO] [stdout]   |
[INFO] [stdout] 6 ~     }
[INFO] [stdout] 7 +     None
[INFO] [stdout]   |
[INFO] [stdout] 6 ~     }
[INFO] [stdout] 7 +     Some(())
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |   fn quantidade(mochila: &Vec<(&str, i32)>, item: &str) -> Option<i32> {
[INFO] [stdout]   |                                                            ----------- expected `Option<i32>` because of return type
[INFO] [stdout] 4 | /     for (nome, qtd) in mochila {
[INFO] [stdout] 5 | |         // se achou, devolve Some(...)
[INFO] [stdout] 6 | |     }
[INFO] [stdout]   | |_____^ expected `Option<i32>`, found `()`
[INFO] [stdout]   |
[INFO] [stdout]   = note:   expected enum `Option<i32>`
[INFO] [stdout]           found unit type `()`
[INFO] [stdout]   = note: `for` loops evaluate to unit type `()`
[INFO] [stdout] help: try adding an expression at the end of the block
[INFO] [stdout]   |
[INFO] [stdout] 6 ~     }
[INFO] [stdout] 7 +     None
[INFO] [stdout]   |
[INFO] [stdout] 6 ~     }
[INFO] [stdout] 7 +     Some(())
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `option_jogo` (bin "option_jogo") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `option_jogo` (bin "option_jogo" test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "1321898b1a18a73037cb199bad6adfd27d4053ac065feaee9d70f120e4668aa7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1321898b1a18a73037cb199bad6adfd27d4053ac065feaee9d70f120e4668aa7", kill_on_drop: false }`
[INFO] [stdout] 1321898b1a18a73037cb199bad6adfd27d4053ac065feaee9d70f120e4668aa7
