[INFO] cloning repository https://github.com/rustvu/homework1-template
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rustvu/homework1-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustvu%2Fhomework1-template", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustvu%2Fhomework1-template'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 784feceb47445aa7916164f507da6fec998ced39
[INFO] testing rustvu/homework1-template against beta-2026-03-05 for beta-1.95-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustvu%2Fhomework1-template" "/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/rustvu/homework1-template
[INFO] finished tweaking git repo https://github.com/rustvu/homework1-template
[INFO] tweaked toml for git repo https://github.com/rustvu/homework1-template written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rustvu/homework1-template on toolchain beta-2026-03-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-03-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rustvu/homework1-template 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" "+beta-2026-03-05" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num-traits v0.2.16
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7c19475a0086d66313e93b53a312310dab9f05289ebe45036add5a9cd3287332
[INFO] running `Command { std: "docker" "start" "-a" "7c19475a0086d66313e93b53a312310dab9f05289ebe45036add5a9cd3287332", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7c19475a0086d66313e93b53a312310dab9f05289ebe45036add5a9cd3287332", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7c19475a0086d66313e93b53a312310dab9f05289ebe45036add5a9cd3287332", kill_on_drop: false }`
[INFO] [stdout] 7c19475a0086d66313e93b53a312310dab9f05289ebe45036add5a9cd3287332
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c470d181c425e04fd48de6c6a31a32f970434d3b4d2a6bc78079ea81bafc5d33
[INFO] running `Command { std: "docker" "start" "-a" "c470d181c425e04fd48de6c6a31a32f970434d3b4d2a6bc78079ea81bafc5d33", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling homework1 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: unexpected closing delimiter: `}`
[INFO] [stdout]   --> src/basic_types.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn chars() {
[INFO] [stdout]    |            - this delimiter might not be properly closed...
[INFO] [stdout] ...
[INFO] [stdout] 28 |     } else {
[INFO] [stdout]    |     - ...as it matches this but it has different indentation
[INFO] [stdout] ...
[INFO] [stdout] 31 | }
[INFO] [stdout]    | ^ unexpected closing delimiter
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/euler.rs:5:34
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn euler_series(n_terms: u32) -> f64 {
[INFO] [stdout]   |    ------------                  ^^^ expected `f64`, found `()`
[INFO] [stdout]   |    |
[INFO] [stdout]   |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/euler.rs:11:33
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn euler_limit(n_limit: u32) -> f64 {
[INFO] [stdout]    |    -----------                  ^^^ expected `f64`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ownership.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut values = squares(14);
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `values`
[INFO] [stdout]   --> src/ownership.rs:27:42
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut values = squares(14);
[INFO] [stdout]    |         ---------- move occurs because `values` has type `Vec<f64>`, which does not implement the `Copy` trait
[INFO] [stdout] 23 |     let median_value = median(values);
[INFO] [stdout]    |                               ------ value moved here
[INFO] [stdout] ...
[INFO] [stdout] 27 |     println!("The median of {:?} is {}", values, median_value);
[INFO] [stdout]    |                                          ^^^^^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `median` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/ownership.rs:11:19
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn median(values: Vec<f64>) -> f64 {
[INFO] [stdout]    |    ------         ^^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]    |    |
[INFO] [stdout]    |    in this function
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let median_value = median(values.clone());
[INFO] [stdout]    |                                     ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `x` in this scope
[INFO] [stdout]   --> src/variables.rs:21:43
[INFO] [stdout]    |
[INFO] [stdout] 21 |     println!("My favorite number is: {}", x);
[INFO] [stdout]    |                                           ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/variables.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let x = 5;
[INFO] [stdout]   |             - expected due to this value
[INFO] [stdout] ...
[INFO] [stdout] 7 |     x = "seven";
[INFO] [stdout]   |         ^^^^^^^ expected integer, found `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0384]: cannot assign twice to immutable variable `x`
[INFO] [stdout]   --> src/variables.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let x = 5;
[INFO] [stdout]    |         - first assignment to `x`
[INFO] [stdout] 14 |     println!("Before change {}", x);
[INFO] [stdout] 15 |     x += 8;
[INFO] [stdout]    |     ^^^^^^ cannot assign twice to immutable variable
[INFO] [stdout]    |
[INFO] [stdout] help: consider making this binding mutable
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut x = 5;
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `homework1` (bin "basic_types") due to 1 previous error
[INFO] [stdout] Some errors have detailed explanations: E0308, E0384, E0425.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `homework1` (bin "ownership") due to 1 previous error; 1 warning emitted
[INFO] [stderr] error: could not compile `homework1` (bin "euler") due to 2 previous errors
[INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)`
[INFO] [stdout]  --> src/functions.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn is_prime(n) {
[INFO] [stdout]   |              ^ expected one of `:`, `@`, or `|`
[INFO] [stdout]   |
[INFO] [stdout] help: if this is a parameter name, give it a type
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn is_prime(n: TypeName) {
[INFO] [stdout]   |              ++++++++++
[INFO] [stdout] help: if this is a type, explicitly ignore the parameter name
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn is_prime(_: n) {
[INFO] [stdout]   |             ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `homework1` (bin "functions") due to 6 previous errors
[INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)`
[INFO] [stdout]   --> src/functions.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn factorial(n) {
[INFO] [stdout]    |               ^ expected one of `:`, `@`, or `|`
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a parameter name, give it a type
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn factorial(n: TypeName) {
[INFO] [stdout]    |               ++++++++++
[INFO] [stdout] help: if this is a type, explicitly ignore the parameter name
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn factorial(_: n) {
[INFO] [stdout]    |              ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `homework1` (bin "variables") due to 3 previous errors
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/functions.rs:6:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn is_prime(n) {
[INFO] [stdout]   |               - help: try adding a return type: `-> bool`
[INFO] [stdout] 5 |     if n < 2 {
[INFO] [stdout] 6 |         return false;
[INFO] [stdout]   |                ^^^^^ expected `()`, found `bool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot multiply-assign `{float}` by `{integer}`
[INFO] [stdout]   --> src/functions.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 |         product *= i;
[INFO] [stdout]    |                 ^^ no implementation for `{float} *= {integer}`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `MulAssign<{integer}>` is not implemented for `{float}`
[INFO] [stdout]    = help: the following other types implement trait `MulAssign<Rhs>`:
[INFO] [stdout]              `f128` implements `MulAssign<&f128>`
[INFO] [stdout]              `f128` implements `MulAssign`
[INFO] [stdout]              `f16` implements `MulAssign<&f16>`
[INFO] [stdout]              `f16` implements `MulAssign`
[INFO] [stdout]              `f32` implements `MulAssign<&f32>`
[INFO] [stdout]              `f32` implements `MulAssign`
[INFO] [stdout]              `f64` implements `MulAssign<&f64>`
[INFO] [stdout]              `f64` implements `MulAssign`
[INFO] [stdout]            and 24 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `()` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/functions.rs:27:35
[INFO] [stdout]    |
[INFO] [stdout] 27 |     println!("factorial(6) = {}", factorial(6));
[INFO] [stdout]    |                              --   ^^^^^^^^^^^^ `()` cannot be formatted with the default formatter
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              required by this formatting parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `()`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `()` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/functions.rs:28:35
[INFO] [stdout]    |
[INFO] [stdout] 28 |     println!("is_primt(42) = {}", is_prime(42));
[INFO] [stdout]    |                              --   ^^^^^^^^^^^^ `()` cannot be formatted with the default formatter
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              required by this formatting parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::fmt::Display` is not implemented for `()`
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "c470d181c425e04fd48de6c6a31a32f970434d3b4d2a6bc78079ea81bafc5d33", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c470d181c425e04fd48de6c6a31a32f970434d3b4d2a6bc78079ea81bafc5d33", kill_on_drop: false }`
[INFO] [stdout] c470d181c425e04fd48de6c6a31a32f970434d3b4d2a6bc78079ea81bafc5d33
