[INFO] cloning repository https://github.com/bompandreean/study-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bompandreean/study-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbompandreean%2Fstudy-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbompandreean%2Fstudy-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3bb574d6b6569b3acb215e159e173d24cc1e69a2 [INFO] testing bompandreean/study-rust against beta-2025-04-13 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbompandreean%2Fstudy-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bompandreean/study-rust on toolchain beta-2025-04-13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bompandreean/study-rust [INFO] finished tweaking git repo https://github.com/bompandreean/study-rust [INFO] tweaked toml for git repo https://github.com/bompandreean/study-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bompandreean/study-rust 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-04-13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b0b4f2a1c27e69a761a80e0e08916a87961f05adbd524633455145db14787f5 [INFO] running `Command { std: "docker" "start" "-a" "9b0b4f2a1c27e69a761a80e0e08916a87961f05adbd524633455145db14787f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b0b4f2a1c27e69a761a80e0e08916a87961f05adbd524633455145db14787f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b0b4f2a1c27e69a761a80e0e08916a87961f05adbd524633455145db14787f5", kill_on_drop: false }` [INFO] [stdout] 9b0b4f2a1c27e69a761a80e0e08916a87961f05adbd524633455145db14787f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec22277806bf776edba6acdb1d29b779d68ab07e9a80be7c695b1b1edc64d26f [INFO] running `Command { std: "docker" "start" "-a" "ec22277806bf776edba6acdb1d29b779d68ab07e9a80be7c695b1b1edc64d26f", kill_on_drop: false }` [INFO] [stderr] Compiling _01_fundamentals v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `control_flow2`, `control_flow`, `introduction`, `operators`, and `variables` [INFO] [stdout] --> src/main.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use fundamentals::{introduction, variables, operators, control_flow, control_flow2}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `project1` and `project2` [INFO] [stdout] --> src/main.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use projects::{project1, project2}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `match_1`, `match_2`, and `match_with_enum` [INFO] [stdout] --> src/main.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | use fundamentals_match::{match_1, match_2, match_with_enum}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fn_with_closure`, `function_ownership`, and `ownership` [INFO] [stdout] --> src/main.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | use memory_management::{ownership, function_ownership, fn_with_closure}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error_handling` and `error_propagation` [INFO] [stdout] --> src/main.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | use error_handling::{error_handling, error_propagation}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `associated_methods`, `data_structures`, and `traits` [INFO] [stdout] --> src/main.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | use data_structures::{data_structures, associated_methods, traits}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::collections` [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use collections::collections; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `concurrency_basic` and `concurrency_thread_communication` [INFO] [stdout] --> src/main.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | use concurrency::{concurrency_basic, concurrency_thread_communication}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `introduction` is never used [INFO] [stdout] --> src/fundamentals.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn introduction() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `operators` is never used [INFO] [stdout] --> src/fundamentals.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn operators() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `variables` is never used [INFO] [stdout] --> src/fundamentals.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn variables() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NavigationAid` is never used [INFO] [stdout] --> src/fundamentals.rs:102:6 [INFO] [stdout] | [INFO] [stdout] 102 | enum NavigationAid { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `control_flow2` is never used [INFO] [stdout] --> src/fundamentals.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn control_flow2() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `control_flow` is never used [INFO] [stdout] --> src/fundamentals.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn control_flow() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `project1` is never used [INFO] [stdout] --> src/projects.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn project1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `project2` is never used [INFO] [stdout] --> src/projects.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn project2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NavigationAid2` is never used [INFO] [stdout] --> src/fundamentals_match.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum NavigationAid2 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_with_enum` is never used [INFO] [stdout] --> src/fundamentals_match.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn match_with_enum() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_nav_aid` is never used [INFO] [stdout] --> src/fundamentals_match.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn print_nav_aid(navaid: &NavigationAid2) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_2` is never used [INFO] [stdout] --> src/fundamentals_match.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn match_2() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_1` is never used [INFO] [stdout] --> src/fundamentals_match.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn match_1() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fn_with_closure` is never used [INFO] [stdout] --> src/memory_management.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn fn_with_closure() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function_ownership` is never used [INFO] [stdout] --> src/memory_management.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn function_ownership() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print` is never used [INFO] [stdout] --> src/memory_management.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn print(var: &String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `change_var` is never used [INFO] [stdout] --> src/memory_management.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn change_var(var: &mut String) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ownership` is never used [INFO] [stdout] --> src/memory_management.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn ownership() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_bigger` is never used [INFO] [stdout] --> src/memory_management.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn find_bigger<'a>(p1: &'a i32, p2: &'a i32) -> &'a i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error_propagation` is never used [INFO] [stdout] --> src/error_handling.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn error_propagation() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_from_file` is never used [INFO] [stdout] --> src/error_handling.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn read_from_file(filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error_handling` is never used [INFO] [stdout] --> src/error_handling.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn error_handling() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Feline` is never used [INFO] [stdout] --> src/data_structures.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | trait Feline { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Leon` is never constructed [INFO] [stdout] --> src/data_structures.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Leon { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traits` is never used [INFO] [stdout] --> src/data_structures.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn traits() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `speak` are never used [INFO] [stdout] --> src/data_structures.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl Cat { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | fn new(age: i32, name: String, behaviour: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn speak(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `associated_methods` is never used [INFO] [stdout] --> src/data_structures.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn associated_methods() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cat` is never constructed [INFO] [stdout] --> src/data_structures.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct Cat { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `House` is never constructed [INFO] [stdout] --> src/data_structures.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | struct House { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `data_structures` is never used [INFO] [stdout] --> src/data_structures.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn data_structures() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collections` is never used [INFO] [stdout] --> src/collections.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn collections() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `concurrency_thread_communication` is never used [INFO] [stdout] --> src/concurrency.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn concurrency_thread_communication() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ana_chat` is never used [INFO] [stdout] --> src/concurrency.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn ana_chat(ion_sender: Sender<&str>, ana_receiver: Receiver<&str>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ion_chat` is never used [INFO] [stdout] --> src/concurrency.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn ion_chat(ana_sender: Sender<&str>, ion_receiver: Receiver<&str>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `concurrency_basic` is never used [INFO] [stdout] --> src/concurrency.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn concurrency_basic() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "ec22277806bf776edba6acdb1d29b779d68ab07e9a80be7c695b1b1edc64d26f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec22277806bf776edba6acdb1d29b779d68ab07e9a80be7c695b1b1edc64d26f", kill_on_drop: false }` [INFO] [stdout] ec22277806bf776edba6acdb1d29b779d68ab07e9a80be7c695b1b1edc64d26f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb1c2794773dbbf25bee7692824c960c472a9ce211e5c3096971a8d008499831 [INFO] running `Command { std: "docker" "start" "-a" "fb1c2794773dbbf25bee7692824c960c472a9ce211e5c3096971a8d008499831", kill_on_drop: false }` [INFO] [stderr] Compiling _01_fundamentals v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `control_flow2`, `control_flow`, `introduction`, `operators`, and `variables` [INFO] [stdout] --> src/main.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use fundamentals::{introduction, variables, operators, control_flow, control_flow2}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `project1` and `project2` [INFO] [stdout] --> src/main.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use projects::{project1, project2}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `match_1`, `match_2`, and `match_with_enum` [INFO] [stdout] --> src/main.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | use fundamentals_match::{match_1, match_2, match_with_enum}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fn_with_closure`, `function_ownership`, and `ownership` [INFO] [stdout] --> src/main.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | use memory_management::{ownership, function_ownership, fn_with_closure}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error_handling` and `error_propagation` [INFO] [stdout] --> src/main.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | use error_handling::{error_handling, error_propagation}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `associated_methods`, `data_structures`, and `traits` [INFO] [stdout] --> src/main.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | use data_structures::{data_structures, associated_methods, traits}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::collections` [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use collections::collections; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `concurrency_basic` and `concurrency_thread_communication` [INFO] [stdout] --> src/main.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | use concurrency::{concurrency_basic, concurrency_thread_communication}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `introduction` is never used [INFO] [stdout] --> src/fundamentals.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn introduction() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `operators` is never used [INFO] [stdout] --> src/fundamentals.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn operators() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `variables` is never used [INFO] [stdout] --> src/fundamentals.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn variables() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NavigationAid` is never used [INFO] [stdout] --> src/fundamentals.rs:102:6 [INFO] [stdout] | [INFO] [stdout] 102 | enum NavigationAid { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `control_flow2` is never used [INFO] [stdout] --> src/fundamentals.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn control_flow2() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `control_flow` is never used [INFO] [stdout] --> src/fundamentals.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn control_flow() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `project1` is never used [INFO] [stdout] --> src/projects.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn project1() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `project2` is never used [INFO] [stdout] --> src/projects.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn project2() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NavigationAid2` is never used [INFO] [stdout] --> src/fundamentals_match.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | enum NavigationAid2 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_with_enum` is never used [INFO] [stdout] --> src/fundamentals_match.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn match_with_enum() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_nav_aid` is never used [INFO] [stdout] --> src/fundamentals_match.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn print_nav_aid(navaid: &NavigationAid2) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_2` is never used [INFO] [stdout] --> src/fundamentals_match.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn match_2() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_1` is never used [INFO] [stdout] --> src/fundamentals_match.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn match_1() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fn_with_closure` is never used [INFO] [stdout] --> src/memory_management.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn fn_with_closure() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function_ownership` is never used [INFO] [stdout] --> src/memory_management.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn function_ownership() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print` is never used [INFO] [stdout] --> src/memory_management.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn print(var: &String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `change_var` is never used [INFO] [stdout] --> src/memory_management.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn change_var(var: &mut String) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ownership` is never used [INFO] [stdout] --> src/memory_management.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn ownership() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_bigger` is never used [INFO] [stdout] --> src/memory_management.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn find_bigger<'a>(p1: &'a i32, p2: &'a i32) -> &'a i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error_propagation` is never used [INFO] [stdout] --> src/error_handling.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn error_propagation() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_from_file` is never used [INFO] [stdout] --> src/error_handling.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn read_from_file(filename: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `error_handling` is never used [INFO] [stdout] --> src/error_handling.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn error_handling() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Feline` is never used [INFO] [stdout] --> src/data_structures.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | trait Feline { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Leon` is never constructed [INFO] [stdout] --> src/data_structures.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Leon { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traits` is never used [INFO] [stdout] --> src/data_structures.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn traits() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `speak` are never used [INFO] [stdout] --> src/data_structures.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl Cat { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | fn new(age: i32, name: String, behaviour: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn speak(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `associated_methods` is never used [INFO] [stdout] --> src/data_structures.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn associated_methods() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cat` is never constructed [INFO] [stdout] --> src/data_structures.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct Cat { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `House` is never constructed [INFO] [stdout] --> src/data_structures.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | struct House { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `data_structures` is never used [INFO] [stdout] --> src/data_structures.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn data_structures() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collections` is never used [INFO] [stdout] --> src/collections.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn collections() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `concurrency_thread_communication` is never used [INFO] [stdout] --> src/concurrency.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn concurrency_thread_communication() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ana_chat` is never used [INFO] [stdout] --> src/concurrency.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn ana_chat(ion_sender: Sender<&str>, ana_receiver: Receiver<&str>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ion_chat` is never used [INFO] [stdout] --> src/concurrency.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn ion_chat(ana_sender: Sender<&str>, ion_receiver: Receiver<&str>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `concurrency_basic` is never used [INFO] [stdout] --> src/concurrency.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn concurrency_basic() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustc3wEH2j/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*,libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc3wEH2j/raw-dylibs" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/_01_fundamentals-400e2442f736c0fd" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: final link failed: No space left on device [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `_01_fundamentals` (bin "_01_fundamentals" test) due to 1 previous error; 43 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fb1c2794773dbbf25bee7692824c960c472a9ce211e5c3096971a8d008499831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb1c2794773dbbf25bee7692824c960c472a9ce211e5c3096971a8d008499831", kill_on_drop: false }` [INFO] [stdout] fb1c2794773dbbf25bee7692824c960c472a9ce211e5c3096971a8d008499831