[INFO] cloning repository https://github.com/marcellodesales/rust-fundamentals-notes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marcellodesales/rust-fundamentals-notes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcellodesales%2Frust-fundamentals-notes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcellodesales%2Frust-fundamentals-notes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9c0051551a573f526bf2ea91b896fff81af81035 [INFO] testing marcellodesales/rust-fundamentals-notes against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcellodesales%2Frust-fundamentals-notes" "/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/marcellodesales/rust-fundamentals-notes [INFO] finished tweaking git repo https://github.com/marcellodesales/rust-fundamentals-notes [INFO] tweaked toml for git repo https://github.com/marcellodesales/rust-fundamentals-notes written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/marcellodesales/rust-fundamentals-notes on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/marcellodesales/rust-fundamentals-notes 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c124de396a1637709b3687ef3d31a2267b6fbc2cccb6d85cb52e6639c08481b [INFO] running `Command { std: "docker" "start" "-a" "9c124de396a1637709b3687ef3d31a2267b6fbc2cccb6d85cb52e6639c08481b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c124de396a1637709b3687ef3d31a2267b6fbc2cccb6d85cb52e6639c08481b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c124de396a1637709b3687ef3d31a2267b6fbc2cccb6d85cb52e6639c08481b", kill_on_drop: false }` [INFO] [stdout] 9c124de396a1637709b3687ef3d31a2267b6fbc2cccb6d85cb52e6639c08481b [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0ca99d9b03f9336dd0ecb2ea2f9bb3f55a3434b781ff9fabe5d9b90e3b59ef7b [INFO] running `Command { std: "docker" "start" "-a" "0ca99d9b03f9336dd0ecb2ea2f9bb3f55a3434b781ff9fabe5d9b90e3b59ef7b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rust-fundamentals v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/generics.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `have_id` is never read [INFO] [stdout] --> src/language_operators.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | have_id = false; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/control_flow.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | if let animal = "Duck" { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/collections.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cars = vec!["sedan", "pickup", "utility"]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Colors` is never used [INFO] [stdout] --> src/control_flow.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | enum Colors { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Types` is never used [INFO] [stdout] --> src/control_flow.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | enum Types { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lifetime_syntax` is never used [INFO] [stdout] --> src/ownership_and_borrowing.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | fn lifetime_syntax<'a, 'b>(p1: &'a i32, ps2: i32, p3: &'b f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/data_structures_and_traits.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | struct Waypoint { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 8 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NdbNavAid` is never constructed [INFO] [stdout] --> src/generics.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | struct NdbNavAid { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VorNavAid` is never constructed [INFO] [stdout] --> src/generics.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | struct VorNavAid { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `frequency`, and `data` are never read [INFO] [stdout] --> src/generics.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 22 | struct NavAid { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 23 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | frequency: T, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | data: U [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NavAid` 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 `lifetime` is never used [INFO] [stdout] --> src/generics.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | fn lifetime<'a>(p1: &'a i32) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generic` is never used [INFO] [stdout] --> src/generics.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | fn generic(p1: T) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_or_multiply` is never used [INFO] [stdout] --> src/generics.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | fn add_or_multiply(operand1: T, operand2: T) -> T [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `DataTypesAndModules` should have a snake case name [INFO] [stdout] --> src/data_types_and_variables.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod DataTypesAndModules { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `data_types_and_modules` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `StringsAndStringSlices` should have a snake case name [INFO] [stdout] --> src/strings_and_slices.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub mod StringsAndStringSlices { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `strings_and_string_slices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `NumbersAndVariables` should have a snake case name [INFO] [stdout] --> src/number_variables.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod NumbersAndVariables { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `numbers_and_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `LanguageOperators` should have a snake case name [INFO] [stdout] --> src/language_operators.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod LanguageOperators { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `language_operators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `ProjectV1` should have a snake case name [INFO] [stdout] --> src/project.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod ProjectV1 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `project_v1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `ProjectV2` should have a snake case name [INFO] [stdout] --> src/project.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub mod ProjectV2 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `project_v2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `ControlFlow` should have a snake case name [INFO] [stdout] --> src/control_flow.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod ControlFlow { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `control_flow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `OwnershipAndBorrowing` should have a snake case name [INFO] [stdout] --> src/ownership_and_borrowing.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod OwnershipAndBorrowing { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ownership_and_borrowing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `FunctionsDefinitions` should have a snake case name [INFO] [stdout] --> src/functions_definitions.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod FunctionsDefinitions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `functions_definitions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `ErrorHandling` should have a snake case name [INFO] [stdout] --> src/error_handling.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod ErrorHandling { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `error_handling` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `StructsAndImpls` should have a snake case name [INFO] [stdout] --> src/data_structures_and_traits.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod StructsAndImpls { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `structs_and_impls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Traits` should have a snake case name [INFO] [stdout] --> src/data_structures_and_traits.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub mod Traits { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `traits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Collections` should have a snake case name [INFO] [stdout] --> src/collections.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Collections { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Generics` should have a snake case name [INFO] [stdout] --> src/generics.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Generics { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `generics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Concurrency` should have a snake case name [INFO] [stdout] --> src/concurrency.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod Concurrency { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `concurrency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Calculations` should have a snake case name [INFO] [stdout] --> src/geo.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Calculations { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `calculations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustc7raIrQ/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librand-bff7d8317cf08aa0.rlib,librand_chacha-612027a3597e9138.rlib,libppv_lite86-742ade976f63ace4.rlib,librand_core-be9c132a0f2b7897.rlib,libgetrandom-dc7f0d82f4cb384d.rlib,liblibc-abed7616303a3e0d.rlib,libcfg_if-66d55f6b302e88c8.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustc7raIrQ/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rust_fundamentals-c8f6dac3f6814f69" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-dc7f0d82f4cb384d.rlib(getrandom-dc7f0d82f4cb384d.getrandom.828c5c30a8428cf4-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.8/src/util_libc.rs:150:(.text._ZN9getrandom9util_libc13open_readonly17hdc55d6ead142a889E+0xbc): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-fundamentals` (bin "rust-fundamentals") due to 1 previous error; 30 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0ca99d9b03f9336dd0ecb2ea2f9bb3f55a3434b781ff9fabe5d9b90e3b59ef7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ca99d9b03f9336dd0ecb2ea2f9bb3f55a3434b781ff9fabe5d9b90e3b59ef7b", kill_on_drop: false }` [INFO] [stdout] 0ca99d9b03f9336dd0ecb2ea2f9bb3f55a3434b781ff9fabe5d9b90e3b59ef7b