[INFO] cloning repository https://github.com/rajasingh545/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/rajasingh545/rust-programming" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajasingh545%2Frust-programming", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frajasingh545%2Frust-programming'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 926d49675dac5a7e4697ae039980d3850ebfdbd8 [INFO] testing rajasingh545/rust-programming 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%2Frajasingh545%2Frust-programming" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rajasingh545/rust-programming [INFO] finished tweaking git repo https://github.com/rajasingh545/rust-programming [INFO] tweaked toml for git repo https://github.com/rajasingh545/rust-programming written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rajasingh545/rust-programming 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/rajasingh545/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" "+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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] bf6d493bb9f7b5db3646ef8ef4ddcefa06bfc47e33b4583fd74e2faa459402f6 [INFO] running `Command { std: "docker" "start" "-a" "bf6d493bb9f7b5db3646ef8ef4ddcefa06bfc47e33b4583fd74e2faa459402f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf6d493bb9f7b5db3646ef8ef4ddcefa06bfc47e33b4583fd74e2faa459402f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf6d493bb9f7b5db3646ef8ef4ddcefa06bfc47e33b4583fd74e2faa459402f6", kill_on_drop: false }` [INFO] [stdout] bf6d493bb9f7b5db3646ef8ef4ddcefa06bfc47e33b4583fd74e2faa459402f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 2f82e31c1af0161f213471665da8f49dc1920cabae62fe57f6df62fb0c3f4796 [INFO] running `Command { std: "docker" "start" "-a" "2f82e31c1af0161f213471665da8f49dc1920cabae62fe57f6df62fb0c3f4796", kill_on_drop: false }` [INFO] [stderr] Compiling fitness v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `cardio` and `weightlifting` are never read [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct GymWorkout { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 18 | cardio: CardioExercise, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | weightlifting: WeightliftingExercise, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GymWorkout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `day`, `tool`, and `minutes` are never read [INFO] [stdout] --> src/cardio/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Exercise { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 20 | day: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | tool: CardioTool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | minutes: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Exercise` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `reps` are never read [INFO] [stdout] --> src/weightlifting.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Exercise { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 9 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | reps: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Exercise` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_file` is never used [INFO] [stdout] --> src/file_action.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn remove_file(path: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_file` is never used [INFO] [stdout] --> src/file_action.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn remove_file(path: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "2f82e31c1af0161f213471665da8f49dc1920cabae62fe57f6df62fb0c3f4796", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f82e31c1af0161f213471665da8f49dc1920cabae62fe57f6df62fb0c3f4796", kill_on_drop: false }` [INFO] [stdout] 2f82e31c1af0161f213471665da8f49dc1920cabae62fe57f6df62fb0c3f4796 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] dce47dce4e5400d4b37f8eb93029ad40cbd168f6c027f66becefb2ea7f495df4 [INFO] running `Command { std: "docker" "start" "-a" "dce47dce4e5400d4b37f8eb93029ad40cbd168f6c027f66becefb2ea7f495df4", kill_on_drop: false }` [INFO] [stderr] Compiling fitness v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `cardio` and `weightlifting` are never read [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct GymWorkout { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 18 | cardio: CardioExercise, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | weightlifting: WeightliftingExercise, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GymWorkout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `day`, `tool`, and `minutes` are never read [INFO] [stdout] --> src/cardio/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Exercise { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 20 | day: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | tool: CardioTool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | minutes: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Exercise` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `reps` are never read [INFO] [stdout] --> src/weightlifting.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Exercise { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 9 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | reps: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Exercise` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_file` is never used [INFO] [stdout] --> src/file_action.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn remove_file(path: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cardio` and `weightlifting` are never read [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct GymWorkout { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 18 | cardio: CardioExercise, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | weightlifting: WeightliftingExercise, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GymWorkout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `day`, `tool`, and `minutes` are never read [INFO] [stdout] --> src/cardio/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Exercise { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 20 | day: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | tool: CardioTool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | minutes: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Exercise` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `reps` are never read [INFO] [stdout] --> src/weightlifting.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Exercise { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 9 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | reps: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Exercise` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_file` is never used [INFO] [stdout] --> src/file_action.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn remove_file(path: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_file` is never used [INFO] [stdout] --> src/file_action.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn remove_file(path: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "dce47dce4e5400d4b37f8eb93029ad40cbd168f6c027f66becefb2ea7f495df4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dce47dce4e5400d4b37f8eb93029ad40cbd168f6c027f66becefb2ea7f495df4", kill_on_drop: false }` [INFO] [stdout] dce47dce4e5400d4b37f8eb93029ad40cbd168f6c027f66becefb2ea7f495df4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 8ea911388ae5b98b25c00e570717de69c5ac5fa706e554ee55da0eaa2f3ce559 [INFO] running `Command { std: "docker" "start" "-a" "8ea911388ae5b98b25c00e570717de69c5ac5fa706e554ee55da0eaa2f3ce559", kill_on_drop: false }` [INFO] [stderr] warning: fields `cardio` and `weightlifting` are never read [INFO] [stderr] --> src/lib.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct GymWorkout { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 18 | cardio: CardioExercise, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 19 | weightlifting: WeightliftingExercise, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GymWorkout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `day`, `tool`, and `minutes` are never read [INFO] [stderr] --> src/cardio/mod.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct Exercise { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 20 | day: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 21 | tool: CardioTool, [INFO] [stderr] | ^^^^ [INFO] [stderr] 22 | minutes: u32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Exercise` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `reps` are never read [INFO] [stderr] --> src/weightlifting.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct Exercise { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 9 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 10 | reps: u32, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Exercise` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `remove_file` is never used [INFO] [stderr] --> src/file_action.rs:81:4 [INFO] [stderr] | [INFO] [stderr] 81 | fn remove_file(path: &str) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `fitness` (lib) generated 4 warnings [INFO] [stderr] warning: function `remove_file` is never used [INFO] [stderr] --> src/file_action.rs:81:4 [INFO] [stderr] | [INFO] [stderr] 81 | fn remove_file(path: &str) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `fitness` (bin "fitness" test) generated 1 warning [INFO] [stderr] warning: `fitness` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fitness-b9f045080040b70f) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/fitness-6a9f81e99fe643f0) [INFO] [stdout] [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] [stderr] Doc-tests fitness [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/file_action.rs - file_action::write_to_file (line 66) ... FAILED [INFO] [stdout] test src/file_action.rs - file_action::get_user_input (line 25) ... FAILED [INFO] [stdout] test src/file_action.rs - file_action::write_to_file (line 54) ... FAILED [INFO] [stdout] test src/file_action.rs - file_action::get_user_input (line 15) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/file_action.rs - file_action::write_to_file (line 66) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `write_to_file` in this scope [INFO] [stdout] --> src/file_action.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 5 | write_to_file(path, content); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use fitness::file_action::write_to_file; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/file_action.rs - file_action::get_user_input (line 25) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `get_user_input` in this scope [INFO] [stdout] --> src/file_action.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 3 | let (file, content) = get_user_input(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use fitness::file_action::get_user_input; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/file_action.rs - file_action::write_to_file (line 54) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `write_to_file` in this scope [INFO] [stdout] --> src/file_action.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 5 | write_to_file(path, content); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use fitness::file_action::write_to_file; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/file_action.rs - file_action::get_user_input (line 15) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `get_user_input` in this scope [INFO] [stdout] --> src/file_action.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 3 | let (file, content) = get_user_input(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use fitness::file_action::get_user_input; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/file_action.rs - file_action::get_user_input (line 15) [INFO] [stdout] src/file_action.rs - file_action::get_user_input (line 25) [INFO] [stdout] src/file_action.rs - file_action::write_to_file (line 54) [INFO] [stdout] src/file_action.rs - file_action::write_to_file (line 66) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8ea911388ae5b98b25c00e570717de69c5ac5fa706e554ee55da0eaa2f3ce559", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ea911388ae5b98b25c00e570717de69c5ac5fa706e554ee55da0eaa2f3ce559", kill_on_drop: false }` [INFO] [stdout] 8ea911388ae5b98b25c00e570717de69c5ac5fa706e554ee55da0eaa2f3ce559