[INFO] cloning repository https://github.com/billmal071/rust_practice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/billmal071/rust_practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbillmal071%2Frust_practice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbillmal071%2Frust_practice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a1ad623e4c82d6ee52a5b674b62d31ee53be83b [INFO] testing billmal071/rust_practice against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbillmal071%2Frust_practice" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/billmal071/rust_practice [INFO] finished tweaking git repo https://github.com/billmal071/rust_practice [INFO] tweaked toml for git repo https://github.com/billmal071/rust_practice written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/billmal071/rust_practice on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/billmal071/rust_practice 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "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 billmal071/rust_practice against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbillmal071%2Frust_practice" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/billmal071/rust_practice [INFO] finished tweaking git repo https://github.com/billmal071/rust_practice [INFO] tweaked toml for git repo https://github.com/billmal071/rust_practice written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/billmal071/rust_practice on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/billmal071/rust_practice 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf1006e4a6a93f6806f6ec682815efa7a6310ee7e8fb70e62273dc5a01dbde33 [INFO] running `Command { std: "docker" "start" "-a" "bf1006e4a6a93f6806f6ec682815efa7a6310ee7e8fb70e62273dc5a01dbde33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf1006e4a6a93f6806f6ec682815efa7a6310ee7e8fb70e62273dc5a01dbde33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf1006e4a6a93f6806f6ec682815efa7a6310ee7e8fb70e62273dc5a01dbde33", kill_on_drop: false }` [INFO] [stdout] bf1006e4a6a93f6806f6ec682815efa7a6310ee7e8fb70e62273dc5a01dbde33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4be32b18169e73bf5c26884b3a8266d51593cc950318d69d7849c2b00b180c80 [INFO] running `Command { std: "docker" "start" "-a" "4be32b18169e73bf5c26884b3a8266d51593cc950318d69d7849c2b00b180c80", kill_on_drop: false }` [INFO] [stderr] Compiling rust_practice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `create_palindrome` [INFO] [stdout] --> src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | mod create_palindrome; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `create_palindrome`, create file "src/create_palindrome.rs" or "src/create_palindrome/mod.rs" [INFO] [stdout] = note: if there is a `mod create_palindrome` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `prin` in this scope [INFO] [stdout] --> src/main.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | prin [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/score.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | let average: i32 = classPoints.iter().sum() / classPoints.len() as i32; [INFO] [stdout] | ^^^ cannot infer type of the type parameter `S` declared on the method `sum` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Sum<&i32>` [INFO] [stdout] = help: the following types implement trait `Sum`: [INFO] [stdout] `Duration` implements `Sum<&'a Duration>` [INFO] [stdout] `Duration` implements `Sum` [INFO] [stdout] `Option` implements `Sum>` [INFO] [stdout] `Result` implements `Sum>` [INFO] [stdout] `Simd` implements `Sum<&'a Simd>` [INFO] [stdout] `Simd` implements `Sum` [INFO] [stdout] `Simd` implements `Sum<&'a Simd>` [INFO] [stdout] `Simd` implements `Sum` [INFO] [stdout] and 72 others [INFO] [stdout] note: required by a bound in `std::iter::Iterator::sum` [INFO] [stdout] --> /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/iter/traits/iterator.rs:3576:5 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 2 | let average: i32 = classPoints.iter().sum::() / classPoints.len() as i32; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/product_triple.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let mut nums = nums; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*nums` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/product_triple.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | nums.sort(); [INFO] [stdout] | ^^^^ `nums` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider specifying this binding's type [INFO] [stdout] | [INFO] [stdout] 2 | let mut nums: &mut Vec = nums; [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/spin_words.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | let mut result = String::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spin_words.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut spun_words: Vec<&str> = words.split(' ').collect(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spin_words.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut result = String::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0425, E0583, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_practice` (bin "rust_practice") due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4be32b18169e73bf5c26884b3a8266d51593cc950318d69d7849c2b00b180c80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4be32b18169e73bf5c26884b3a8266d51593cc950318d69d7849c2b00b180c80", kill_on_drop: false }` [INFO] [stdout] 4be32b18169e73bf5c26884b3a8266d51593cc950318d69d7849c2b00b180c80