[INFO] cloning repository https://github.com/nifey/tutor
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nifey/tutor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnifey%2Ftutor", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnifey%2Ftutor'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c79140d29ead31abd85aefc621a8dcad731b7d3b
[INFO] testing nifey/tutor against beta-2025-09-21 for beta-1.91-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnifey%2Ftutor" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/nifey/tutor
[INFO] finished tweaking git repo https://github.com/nifey/tutor
[INFO] tweaked toml for git repo https://github.com/nifey/tutor written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nifey/tutor on toolchain beta-2025-09-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nifey/tutor 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-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d9709e87eaef0596ed83a63fcf4847b039dc6ec3c3f6040b66a4b06cbdf0c665
[INFO] running `Command { std: "docker" "start" "-a" "d9709e87eaef0596ed83a63fcf4847b039dc6ec3c3f6040b66a4b06cbdf0c665", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d9709e87eaef0596ed83a63fcf4847b039dc6ec3c3f6040b66a4b06cbdf0c665", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d9709e87eaef0596ed83a63fcf4847b039dc6ec3c3f6040b66a4b06cbdf0c665", kill_on_drop: false }`
[INFO] [stdout] d9709e87eaef0596ed83a63fcf4847b039dc6ec3c3f6040b66a4b06cbdf0c665
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 183da215e79660c8472e76398fc7ff84fd1528cc07a5ad9371919bf0ebcc5117
[INFO] running `Command { std: "docker" "start" "-a" "183da215e79660c8472e76398fc7ff84fd1528cc07a5ad9371919bf0ebcc5117", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling syn v1.0.35
[INFO] [stderr]    Compiling libc v0.2.72
[INFO] [stderr]    Compiling serde_derive v1.0.114
[INFO] [stderr]    Compiling serde v1.0.114
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.33.1
[INFO] [stderr]    Compiling toml v0.5.6
[INFO] [stderr]    Compiling tutor v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `section_str`
[INFO] [stdout]   --> src/main.rs:99:13
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let section_str = cmd_matches.value_of("section").unwrap_or("");
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_section_str`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmd_matches`
[INFO] [stdout]    --> src/main.rs:102:17
[INFO] [stdout]     |
[INFO] [stdout] 102 |     if let Some(cmd_matches) = matches.subcommand_matches("instruction") {
[INFO] [stdout]     |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cmd_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lesson_index`
[INFO] [stdout]    --> src/main.rs:132:13
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let lesson_index = cmd_matches.value_of("lesson_index").unwrap_or("");
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lesson_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lesson_index`
[INFO] [stdout]    --> src/main.rs:141:13
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let lesson_index = cmd_matches.value_of("lesson_index").unwrap_or("");
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lesson_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `next`
[INFO] [stdout]    --> src/main.rs:150:13
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let next = cmd_matches.value_of("section").is_some();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_next`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_string` is never used
[INFO] [stdout]  --> src/index.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl Index {
[INFO] [stdout]   | ---------- method in this implementation
[INFO] [stdout] 6 |     pub fn get_string(&self) -> String {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new` is never used
[INFO] [stdout]   --> src/index.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn new(section: u32, lesson: u32) -> Index {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `title` is never read
[INFO] [stdout]  --> src/info.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Lesson {
[INFO] [stdout]   |        ------ field in this struct
[INFO] [stdout] 9 |     title: String,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Lesson` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_title` is never used
[INFO] [stdout]   --> src/info.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Lesson {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 14 |     pub fn get_title(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `title` is never read
[INFO] [stdout]   --> src/info.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct Section {
[INFO] [stdout]    |        ------- field in this struct
[INFO] [stdout] 25 |     title: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Section` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_title` and `get_lesson_title` are never used
[INFO] [stdout]   --> src/info.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Section {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] 30 |     pub fn get_title(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn get_lesson_title(&self, lesson_index: u32) -> Result<String, String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `title` is never read
[INFO] [stdout]   --> src/info.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct Info {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 65 |     title: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Info` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_tutorial_version` and `get_hints_used` are never used
[INFO] [stdout]   --> src/stat.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Stat {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] 16 |     pub fn get_tutorial_version(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn get_hints_used(&self, lesson: String) -> Result<u32, String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/stat.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 68 |     stat_file.write_all(toml::to_string_pretty(&stat).unwrap().as_bytes());
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let _ = stat_file.write_all(toml::to_string_pretty(&stat).unwrap().as_bytes());
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.22s
[INFO] running `Command { std: "docker" "inspect" "183da215e79660c8472e76398fc7ff84fd1528cc07a5ad9371919bf0ebcc5117", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "183da215e79660c8472e76398fc7ff84fd1528cc07a5ad9371919bf0ebcc5117", kill_on_drop: false }`
[INFO] [stdout] 183da215e79660c8472e76398fc7ff84fd1528cc07a5ad9371919bf0ebcc5117
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3dc687c660c2636560fdc0c5777f768325de39130d46b4bced2cf859e86bd33b
[INFO] running `Command { std: "docker" "start" "-a" "3dc687c660c2636560fdc0c5777f768325de39130d46b4bced2cf859e86bd33b", kill_on_drop: false }`
[INFO] [stderr]    Compiling tutor v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `section_str`
[INFO] [stdout]   --> src/main.rs:99:13
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let section_str = cmd_matches.value_of("section").unwrap_or("");
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_section_str`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmd_matches`
[INFO] [stdout]    --> src/main.rs:102:17
[INFO] [stdout]     |
[INFO] [stdout] 102 |     if let Some(cmd_matches) = matches.subcommand_matches("instruction") {
[INFO] [stdout]     |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cmd_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lesson_index`
[INFO] [stdout]    --> src/main.rs:132:13
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let lesson_index = cmd_matches.value_of("lesson_index").unwrap_or("");
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lesson_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lesson_index`
[INFO] [stdout]    --> src/main.rs:141:13
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let lesson_index = cmd_matches.value_of("lesson_index").unwrap_or("");
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lesson_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `next`
[INFO] [stdout]    --> src/main.rs:150:13
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let next = cmd_matches.value_of("section").is_some();
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_next`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_string` is never used
[INFO] [stdout]  --> src/index.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | impl Index {
[INFO] [stdout]   | ---------- method in this implementation
[INFO] [stdout] 6 |     pub fn get_string(&self) -> String {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new` is never used
[INFO] [stdout]   --> src/index.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn new(section: u32, lesson: u32) -> Index {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `title` is never read
[INFO] [stdout]  --> src/info.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct Lesson {
[INFO] [stdout]   |        ------ field in this struct
[INFO] [stdout] 9 |     title: String,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Lesson` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_title` is never used
[INFO] [stdout]   --> src/info.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Lesson {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 14 |     pub fn get_title(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `title` is never read
[INFO] [stdout]   --> src/info.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct Section {
[INFO] [stdout]    |        ------- field in this struct
[INFO] [stdout] 25 |     title: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Section` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_title` and `get_lesson_title` are never used
[INFO] [stdout]   --> src/info.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Section {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] 30 |     pub fn get_title(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn get_lesson_title(&self, lesson_index: u32) -> Result<String, String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `title` is never read
[INFO] [stdout]   --> src/info.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct Info {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 65 |     title: String,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Info` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_tutorial_version` and `get_hints_used` are never used
[INFO] [stdout]   --> src/stat.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Stat {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] 16 |     pub fn get_tutorial_version(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn get_hints_used(&self, lesson: String) -> Result<u32, String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/stat.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 68 |     stat_file.write_all(toml::to_string_pretty(&stat).unwrap().as_bytes());
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let _ = stat_file.write_all(toml::to_string_pretty(&stat).unwrap().as_bytes());
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s
[INFO] running `Command { std: "docker" "inspect" "3dc687c660c2636560fdc0c5777f768325de39130d46b4bced2cf859e86bd33b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3dc687c660c2636560fdc0c5777f768325de39130d46b4bced2cf859e86bd33b", kill_on_drop: false }`
[INFO] [stdout] 3dc687c660c2636560fdc0c5777f768325de39130d46b4bced2cf859e86bd33b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c7e49b681dcaaaa8628929561d055ae6d313ea7a5a0741e9b579f7608350dd15
[INFO] running `Command { std: "docker" "start" "-a" "c7e49b681dcaaaa8628929561d055ae6d313ea7a5a0741e9b579f7608350dd15", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `section_str`
[INFO] [stderr]   --> src/main.rs:99:13
[INFO] [stderr]    |
[INFO] [stderr] 99 |         let section_str = cmd_matches.value_of("section").unwrap_or("");
[INFO] [stderr]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_section_str`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cmd_matches`
[INFO] [stderr]    --> src/main.rs:102:17
[INFO] [stderr]     |
[INFO] [stderr] 102 |     if let Some(cmd_matches) = matches.subcommand_matches("instruction") {
[INFO] [stderr]     |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cmd_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `lesson_index`
[INFO] [stderr]    --> src/main.rs:132:13
[INFO] [stderr]     |
[INFO] [stderr] 132 |         let lesson_index = cmd_matches.value_of("lesson_index").unwrap_or("");
[INFO] [stderr]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lesson_index`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `lesson_index`
[INFO] [stderr]    --> src/main.rs:141:13
[INFO] [stderr]     |
[INFO] [stderr] 141 |         let lesson_index = cmd_matches.value_of("lesson_index").unwrap_or("");
[INFO] [stderr]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lesson_index`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `next`
[INFO] [stderr]    --> src/main.rs:150:13
[INFO] [stderr]     |
[INFO] [stderr] 150 |         let next = cmd_matches.value_of("section").is_some();
[INFO] [stderr]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_next`
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_string` is never used
[INFO] [stderr]  --> src/index.rs:6:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | impl Index {
[INFO] [stderr]   | ---------- method in this implementation
[INFO] [stderr] 6 |     pub fn get_string(&self) -> String {
[INFO] [stderr]   |            ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `new` is never used
[INFO] [stderr]   --> src/index.rs:29:8
[INFO] [stderr]    |
[INFO] [stderr] 29 | pub fn new(section: u32, lesson: u32) -> Index {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `title` is never read
[INFO] [stderr]  --> src/info.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | struct Lesson {
[INFO] [stderr]   |        ------ field in this struct
[INFO] [stderr] 9 |     title: String,
[INFO] [stderr]   |     ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `Lesson` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_title` is never used
[INFO] [stderr]   --> src/info.rs:14:12
[INFO] [stderr]    |
[INFO] [stderr] 13 | impl Lesson {
[INFO] [stderr]    | ----------- method in this implementation
[INFO] [stderr] 14 |     pub fn get_title(&self) -> String {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `title` is never read
[INFO] [stderr]   --> src/info.rs:25:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | struct Section {
[INFO] [stderr]    |        ------- field in this struct
[INFO] [stderr] 25 |     title: String,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Section` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_title` and `get_lesson_title` are never used
[INFO] [stderr]   --> src/info.rs:30:12
[INFO] [stderr]    |
[INFO] [stderr] 29 | impl Section {
[INFO] [stderr]    | ------------ methods in this implementation
[INFO] [stderr] 30 |     pub fn get_title(&self) -> String {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 34 |     pub fn get_lesson_title(&self, lesson_index: u32) -> Result<String, String> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `title` is never read
[INFO] [stderr]   --> src/info.rs:65:5
[INFO] [stderr]    |
[INFO] [stderr] 64 | pub struct Info {
[INFO] [stderr]    |            ---- field in this struct
[INFO] [stderr] 65 |     title: String,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Info` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_tutorial_version` and `get_hints_used` are never used
[INFO] [stderr]   --> src/stat.rs:16:12
[INFO] [stderr]    |
[INFO] [stderr] 15 | impl Stat {
[INFO] [stderr]    | --------- methods in this implementation
[INFO] [stderr] 16 |     pub fn get_tutorial_version(&self) -> String {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 24 |     pub fn get_hints_used(&self, lesson: String) -> Result<u32, String> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/stat.rs:68:5
[INFO] [stderr]    |
[INFO] [stderr] 68 |     stat_file.write_all(toml::to_string_pretty(&stat).unwrap().as_bytes());
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 68 |     let _ = stat_file.write_all(toml::to_string_pretty(&stat).unwrap().as_bytes());
[INFO] [stderr]    |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `tutor` (bin "tutor" test) generated 14 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tutor-b4a90d8d5022179b)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "c7e49b681dcaaaa8628929561d055ae6d313ea7a5a0741e9b579f7608350dd15", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7e49b681dcaaaa8628929561d055ae6d313ea7a5a0741e9b579f7608350dd15", kill_on_drop: false }`
[INFO] [stdout] c7e49b681dcaaaa8628929561d055ae6d313ea7a5a0741e9b579f7608350dd15
