[INFO] cloning repository https://github.com/ariel3259/temperature_app
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ariel3259/temperature_app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fariel3259%2Ftemperature_app", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fariel3259%2Ftemperature_app'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8fa48d9a83159122f6d95fd6109471d930da929c
[INFO] testing ariel3259/temperature_app against 1.98.0-beta.1 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fariel3259%2Ftemperature_app" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ariel3259/temperature_app
[INFO] finished tweaking git repo https://github.com/ariel3259/temperature_app
[INFO] tweaked toml for git repo https://github.com/ariel3259/temperature_app written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ariel3259/temperature_app on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ariel3259/temperature_app 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" "+1.98.0-beta.1" "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
[ERROR] error running command: no output for 300 seconds
[INFO] testing ariel3259/temperature_app against 1.98.0-beta.1 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fariel3259%2Ftemperature_app" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ariel3259/temperature_app
[INFO] finished tweaking git repo https://github.com/ariel3259/temperature_app
[INFO] tweaked toml for git repo https://github.com/ariel3259/temperature_app written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ariel3259/temperature_app on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ariel3259/temperature_app 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" "+1.98.0-beta.1" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ab308ed595d410d4790f6bb4382532963d359aa0f59522f837c3cc67eacb60e6
[INFO] running `Command { std: "docker" "start" "ab308ed595d410d4790f6bb4382532963d359aa0f59522f837c3cc67eacb60e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ab308ed595d410d4790f6bb4382532963d359aa0f59522f837c3cc67eacb60e6", 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" "ab308ed595d410d4790f6bb4382532963d359aa0f59522f837c3cc67eacb60e6" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ab308ed595d410d4790f6bb4382532963d359aa0f59522f837c3cc67eacb60e6", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ab308ed595d410d4790f6bb4382532963d359aa0f59522f837c3cc67eacb60e6" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling temp-app v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0382]: borrow of moved value: `temperatures`
[INFO] [stdout]   --> src/main.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut temperatures: Vec<Temperature> = vec![];
[INFO] [stdout]    |         ---------------- move occurs because `temperatures` has type `Vec<Temperature>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 14 |     for _ in 0..6 {
[INFO] [stdout]    |     ------------- inside of this loop
[INFO] [stdout] ...
[INFO] [stdout] 21 |         temperatures.push(temperature);
[INFO] [stdout]    |         ^^^^^^^^^^^^ value borrowed here after move
[INFO] [stdout] ...
[INFO] [stdout] 29 |         let average_weather: AverageWeather = AverageWeather::new(temperatures);
[INFO] [stdout]    |                                                                   ------------ value moved here, in previous iteration of loop
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in method `new` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/services/average_weather.rs:12:30
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn new(temperatures: Vec<Temperature>) -> AverageWeather {
[INFO] [stdout]    |            ---               ^^^^^^^^^^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]    |            |
[INFO] [stdout]    |            in this method
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let average_weather: AverageWeather = AverageWeather::new(temperatures.clone());
[INFO] [stdout]    |                                                                               ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `average`
[INFO] [stdout]   --> src/main.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let average: i32 = average_weather.get_average();
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_average`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `temp-app` (bin "temp-app") due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "ab308ed595d410d4790f6bb4382532963d359aa0f59522f837c3cc67eacb60e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ab308ed595d410d4790f6bb4382532963d359aa0f59522f837c3cc67eacb60e6", kill_on_drop: false }`
[INFO] [stdout] ab308ed595d410d4790f6bb4382532963d359aa0f59522f837c3cc67eacb60e6
