[INFO] cloning repository https://github.com/neopenguin-99/r_ini_parser
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/neopenguin-99/r_ini_parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneopenguin-99%2Fr_ini_parser", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneopenguin-99%2Fr_ini_parser'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 46926f7b34d2e49fb1c93a68d58735410bc49a7c
[INFO] checking neopenguin-99/r_ini_parser against f4dd856795debe636f2ba39a900f162f5abeb7e8 for pr-160904
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneopenguin-99%2Fr_ini_parser" "/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/neopenguin-99/r_ini_parser
[INFO] finished tweaking git repo https://github.com/neopenguin-99/r_ini_parser
[INFO] tweaked toml for git repo https://github.com/neopenguin-99/r_ini_parser written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/neopenguin-99/r_ini_parser on toolchain f4dd856795debe636f2ba39a900f162f5abeb7e8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f4dd856795debe636f2ba39a900f162f5abeb7e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/neopenguin-99/r_ini_parser 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" "+f4dd856795debe636f2ba39a900f162f5abeb7e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded once_cell v1.20.3
[INFO] [stderr]   Downloaded getrandom v0.3.1
[INFO] [stderr]   Downloaded tempfile v3.17.1
[INFO] [stderr]   Downloaded bitflags v2.8.0
[INFO] [stderr]   Downloaded clap v4.5.30
[INFO] [stderr]   Downloaded wit-bindgen-rt v0.33.0
[INFO] [stderr]   Downloaded quote v1.0.38
[INFO] [stderr]   Downloaded unicode-ident v1.0.17
[INFO] [stderr]   Downloaded proc-macro2 v1.0.93
[INFO] [stderr]   Downloaded wasi v0.13.3+wasi-0.2.2
[INFO] [stderr]   Downloaded clap_builder v4.5.30
[INFO] [stderr]   Downloaded syn v2.0.98
[INFO] [stderr]   Downloaded libc v0.2.170
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d243d86e52520a0e2e7b8524356bfce61b616f6d7609c6c6cedcd8f83334a353
[INFO] running `Command { std: "docker" "start" "d243d86e52520a0e2e7b8524356bfce61b616f6d7609c6c6cedcd8f83334a353", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d243d86e52520a0e2e7b8524356bfce61b616f6d7609c6c6cedcd8f83334a353", 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" "d243d86e52520a0e2e7b8524356bfce61b616f6d7609c6c6cedcd8f83334a353" "/opt/rustwide/cargo-home/bin/cargo" "+f4dd856795debe636f2ba39a900f162f5abeb7e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d243d86e52520a0e2e7b8524356bfce61b616f6d7609c6c6cedcd8f83334a353", 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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d243d86e52520a0e2e7b8524356bfce61b616f6d7609c6c6cedcd8f83334a353" "/opt/rustwide/cargo-home/bin/cargo" "+f4dd856795debe636f2ba39a900f162f5abeb7e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.17
[INFO] [stderr]    Compiling libc v0.2.170
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]     Checking anstyle-query v1.1.2
[INFO] [stderr]     Checking colorchoice v1.0.3
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]     Checking anstyle v1.0.10
[INFO] [stderr]     Checking linux-raw-sys v0.4.15
[INFO] [stderr]     Checking clap_lex v0.7.4
[INFO] [stderr]     Checking strsim v0.11.1
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]     Checking bitflags v2.8.0
[INFO] [stderr]     Checking once_cell v1.20.3
[INFO] [stderr]     Checking fastrand v2.3.0
[INFO] [stderr]     Checking anstyle-parse v0.2.6
[INFO] [stderr]     Checking anstream v0.6.18
[INFO] [stderr]     Checking clap_builder v4.5.30
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling syn v2.0.98
[INFO] [stderr]     Checking tempfile v3.17.1
[INFO] [stderr]    Compiling clap_derive v4.5.28
[INFO] [stderr]     Checking clap v4.5.30
[INFO] [stderr]     Checking r_ini_parser v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iter`
[INFO] [stdout]   --> src/main.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let iter = section.sub_sections.get_mut().into_iter();
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_iter`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `section_name`
[INFO] [stdout]   --> src/main.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |         for section_name in section_names {
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_section_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:86:21
[INFO] [stdout]    |
[INFO] [stdout] 86 | fn add_sections<'a>(mut section: &'a mut Section, section_names: Vec<&'a str>) -> &'a Section {
[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] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:96:23
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn add_sections_2<'a>(mut section: &Section, section_names: Vec<&'a str>) -> Section {
[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/main.rs:100:13
[INFO] [stdout]     |
[INFO] [stdout] 100 |         let mut c = section.sub_sections.get_mut().last().unwrap();
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `section.sub_sections` as mutable, as it is behind a `&` reference
[INFO] [stdout]   --> src/main.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |         section.sub_sections.get_mut().push(b);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ `section` is a `&` reference, so it cannot be borrowed as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn add_sections_2<'a>(mut section: &mut Section, section_names: Vec<&'a str>) -> Section {
[INFO] [stdout]    |                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `section.sub_sections` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/main.rs:100:21
[INFO] [stdout]     |
[INFO] [stdout] 100 |         let mut c = section.sub_sections.get_mut().last().unwrap();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^ `section` is a `&` reference, so it cannot be borrowed as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]     |
[INFO] [stdout]  96 | fn add_sections_2<'a>(mut section: &mut Section, section_names: Vec<&'a str>) -> Section {
[INFO] [stdout]     |                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `location_of_dot_separator`
[INFO] [stdout]    --> src/main.rs:124:25
[INFO] [stdout]     |
[INFO] [stdout] 124 | ...t Some(location_of_dot_separator) = file_contents_line_as_char_vec[seek_to_column_in_line.unwrap_or(0)..].iter().position(|x| *x...
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location_of_dot_separator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `r_ini_parser` (bin "r_ini_parser") due to 2 previous errors; 7 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/main.rs:397:9
[INFO] [stdout]     |
[INFO] [stdout] 395 |         panic!("a");
[INFO] [stdout]     |         ----------- any code following this expression is unreachable
[INFO] [stdout] 396 |         // Assert
[INFO] [stdout] 397 |         Ok(())
[INFO] [stdout]     |         ^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/main.rs:412:9
[INFO] [stdout]     |
[INFO] [stdout] 410 |         panic!("b");
[INFO] [stdout]     |         ----------- any code following this expression is unreachable
[INFO] [stdout] 411 |
[INFO] [stdout] 412 |         Ok(())
[INFO] [stdout]     |         ^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iter`
[INFO] [stdout]   --> src/main.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let iter = section.sub_sections.get_mut().into_iter();
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_iter`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `section_name`
[INFO] [stdout]   --> src/main.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |         for section_name in section_names {
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_section_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:86:21
[INFO] [stdout]    |
[INFO] [stdout] 86 | fn add_sections<'a>(mut section: &'a mut Section, section_names: Vec<&'a str>) -> &'a Section {
[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] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:96:23
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn add_sections_2<'a>(mut section: &Section, section_names: Vec<&'a str>) -> Section {
[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/main.rs:100:13
[INFO] [stdout]     |
[INFO] [stdout] 100 |         let mut c = section.sub_sections.get_mut().last().unwrap();
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `section.sub_sections` as mutable, as it is behind a `&` reference
[INFO] [stdout]   --> src/main.rs:99:9
[INFO] [stdout]    |
[INFO] [stdout] 99 |         section.sub_sections.get_mut().push(b);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^ `section` is a `&` reference, so it cannot be borrowed as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]    |
[INFO] [stdout] 96 | fn add_sections_2<'a>(mut section: &mut Section, section_names: Vec<&'a str>) -> Section {
[INFO] [stdout]    |                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `section.sub_sections` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/main.rs:100:21
[INFO] [stdout]     |
[INFO] [stdout] 100 |         let mut c = section.sub_sections.get_mut().last().unwrap();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^ `section` is a `&` reference, so it cannot be borrowed as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing this to be a mutable reference
[INFO] [stdout]     |
[INFO] [stdout]  96 | fn add_sections_2<'a>(mut section: &mut Section, section_names: Vec<&'a str>) -> Section {
[INFO] [stdout]     |                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `location_of_dot_separator`
[INFO] [stdout]    --> src/main.rs:124:25
[INFO] [stdout]     |
[INFO] [stdout] 124 | ...t Some(location_of_dot_separator) = file_contents_line_as_char_vec[seek_to_column_in_line.unwrap_or(0)..].iter().position(|x| *x...
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location_of_dot_separator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `r_ini_parser` (bin "r_ini_parser" test) due to 2 previous errors; 9 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d243d86e52520a0e2e7b8524356bfce61b616f6d7609c6c6cedcd8f83334a353", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d243d86e52520a0e2e7b8524356bfce61b616f6d7609c6c6cedcd8f83334a353", kill_on_drop: false }`
[INFO] [stdout] d243d86e52520a0e2e7b8524356bfce61b616f6d7609c6c6cedcd8f83334a353
