[INFO] cloning repository https://github.com/vksmgr/Learn_Rust_Programming
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vksmgr/Learn_Rust_Programming" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvksmgr%2FLearn_Rust_Programming", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvksmgr%2FLearn_Rust_Programming'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 04d108e88a5217d3c603f557fb411b91f3036bb5
[INFO] checking vksmgr/Learn_Rust_Programming against try#d12484522bcab8d07e325c6570f226a2faace3f7 for pr-128425-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvksmgr%2FLearn_Rust_Programming" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/vksmgr/Learn_Rust_Programming on toolchain d12484522bcab8d07e325c6570f226a2faace3f7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d12484522bcab8d07e325c6570f226a2faace3f7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/vksmgr/Learn_Rust_Programming
[INFO] finished tweaking git repo https://github.com/vksmgr/Learn_Rust_Programming
[INFO] tweaked toml for git repo https://github.com/vksmgr/Learn_Rust_Programming written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/vksmgr/Learn_Rust_Programming 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" "+d12484522bcab8d07e325c6570f226a2faace3f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d12484522bcab8d07e325c6570f226a2faace3f7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bf18422d7aa10976e92426be26cbd183f6dc0cb0f610ff6c70562476668ff425
[INFO] running `Command { std: "docker" "start" "-a" "bf18422d7aa10976e92426be26cbd183f6dc0cb0f610ff6c70562476668ff425", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bf18422d7aa10976e92426be26cbd183f6dc0cb0f610ff6c70562476668ff425", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf18422d7aa10976e92426be26cbd183f6dc0cb0f610ff6c70562476668ff425", kill_on_drop: false }`
[INFO] [stdout] bf18422d7aa10976e92426be26cbd183f6dc0cb0f610ff6c70562476668ff425
[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=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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d12484522bcab8d07e325c6570f226a2faace3f7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d326a0b768308173ab7809a35111de168d309924b46d3586ac74bdcce62b7529
[INFO] running `Command { std: "docker" "start" "-a" "d326a0b768308173ab7809a35111de168d309924b46d3586ac74bdcce62b7529", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking algorithms v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/life_time.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let x = &mut a;     //==> borrower
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `y` is assigned to, but never used
[INFO] [stdout]   --> src/life_time.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let y: &Foo;
[INFO] [stdout]    |         ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_y` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `y` is never read
[INFO] [stdout]   --> src/life_time.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 69 |        y = x;
[INFO] [stdout]    |        ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/life_time.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let mut a = Foo {f: Box::new(0)};
[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] warning: function `printArray` is never used
[INFO] [stdout]   --> src/main.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn printArray(arr: &[i32]){
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `getInput` is never used
[INFO] [stdout]   --> src/main.rs:54:4
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn getInput() ->String{
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `readInt` is never used
[INFO] [stdout]   --> src/main.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn readInt() -> i32{
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `f` is never read
[INFO] [stdout]   --> src/life_time.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Foo{
[INFO] [stdout]    |        --- field in this struct
[INFO] [stdout] 11 |     f: Box<i32>,
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `not_access_resource_mutable_borrow` is never used
[INFO] [stdout]   --> src/life_time.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn not_access_resource_mutable_borrow(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrower_can_move_mut_borrow` is never used
[INFO] [stdout]   --> src/life_time.rs:34:4
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn borrower_can_move_mut_borrow(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow_formula` is never used
[INFO] [stdout]   --> src/life_time.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn borrow_formula(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `max` is never used
[INFO] [stdout]   --> src/life_time.rs:88:4
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn max<'a>(x: &'a Foo, y: &'a Foo) -> &'a Foo{
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `printArray` should have a snake case name
[INFO] [stdout]   --> src/main.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn printArray(arr: &[i32]){
[INFO] [stdout]    |    ^^^^^^^^^^ help: convert the identifier to snake case: `print_array`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `getInput` should have a snake case name
[INFO] [stdout]   --> src/main.rs:54:4
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn getInput() ->String{
[INFO] [stdout]    |    ^^^^^^^^ help: convert the identifier to snake case: `get_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `readInt` should have a snake case name
[INFO] [stdout]   --> src/main.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn readInt() -> i32{
[INFO] [stdout]    |    ^^^^^^^ help: convert the identifier to snake case: `read_int`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `intNumber` should have a snake case name
[INFO] [stdout]   --> src/main.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let intNumber =  match  trimmed.parse::<i32>() {
[INFO] [stdout]    |         ^^^^^^^^^ help: convert the identifier to snake case: `int_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/life_time.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let x = &mut a;     //==> borrower
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `y` is assigned to, but never used
[INFO] [stdout]   --> src/life_time.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |     let y: &Foo;
[INFO] [stdout]    |         ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_y` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `y` is never read
[INFO] [stdout]   --> src/life_time.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 69 |        y = x;
[INFO] [stdout]    |        ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/life_time.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 61 |     let mut a = Foo {f: Box::new(0)};
[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] warning: function `printArray` is never used
[INFO] [stdout]   --> src/main.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn printArray(arr: &[i32]){
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `getInput` is never used
[INFO] [stdout]   --> src/main.rs:54:4
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn getInput() ->String{
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `readInt` is never used
[INFO] [stdout]   --> src/main.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn readInt() -> i32{
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `f` is never read
[INFO] [stdout]   --> src/life_time.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Foo{
[INFO] [stdout]    |        --- field in this struct
[INFO] [stdout] 11 |     f: Box<i32>,
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `not_access_resource_mutable_borrow` is never used
[INFO] [stdout]   --> src/life_time.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn not_access_resource_mutable_borrow(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrower_can_move_mut_borrow` is never used
[INFO] [stdout]   --> src/life_time.rs:34:4
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn borrower_can_move_mut_borrow(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow_formula` is never used
[INFO] [stdout]   --> src/life_time.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn borrow_formula(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `max` is never used
[INFO] [stdout]   --> src/life_time.rs:88:4
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn max<'a>(x: &'a Foo, y: &'a Foo) -> &'a Foo{
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `printArray` should have a snake case name
[INFO] [stdout]   --> src/main.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn printArray(arr: &[i32]){
[INFO] [stdout]    |    ^^^^^^^^^^ help: convert the identifier to snake case: `print_array`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `getInput` should have a snake case name
[INFO] [stdout]   --> src/main.rs:54:4
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn getInput() ->String{
[INFO] [stdout]    |    ^^^^^^^^ help: convert the identifier to snake case: `get_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `readInt` should have a snake case name
[INFO] [stdout]   --> src/main.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn readInt() -> i32{
[INFO] [stdout]    |    ^^^^^^^ help: convert the identifier to snake case: `read_int`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `intNumber` should have a snake case name
[INFO] [stdout]   --> src/main.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let intNumber =  match  trimmed.parse::<i32>() {
[INFO] [stdout]    |         ^^^^^^^^^ help: convert the identifier to snake case: `int_number`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s
[INFO] running `Command { std: "docker" "inspect" "d326a0b768308173ab7809a35111de168d309924b46d3586ac74bdcce62b7529", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d326a0b768308173ab7809a35111de168d309924b46d3586ac74bdcce62b7529", kill_on_drop: false }`
[INFO] [stdout] d326a0b768308173ab7809a35111de168d309924b46d3586ac74bdcce62b7529
