[INFO] cloning repository https://github.com/ihcsim/rust-101 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ihcsim/rust-101" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fihcsim%2Frust-101", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fihcsim%2Frust-101'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 81d57c73b4f1c47a056c10671e31c778f21904c3 [INFO] testing ihcsim/rust-101 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%2Fihcsim%2Frust-101" "/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/ihcsim/rust-101 [INFO] finished tweaking git repo https://github.com/ihcsim/rust-101 [INFO] tweaked toml for git repo https://github.com/ihcsim/rust-101 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ihcsim/rust-101 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/ihcsim/rust-101 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] 96c30a1821a6605e5ebf5d725b82d8af5c3ae1e42bbbfeca52bbc4a4eb3b3242 [INFO] running `Command { std: "docker" "start" "-a" "96c30a1821a6605e5ebf5d725b82d8af5c3ae1e42bbbfeca52bbc4a4eb3b3242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96c30a1821a6605e5ebf5d725b82d8af5c3ae1e42bbbfeca52bbc4a4eb3b3242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96c30a1821a6605e5ebf5d725b82d8af5c3ae1e42bbbfeca52bbc4a4eb3b3242", kill_on_drop: false }` [INFO] [stdout] 96c30a1821a6605e5ebf5d725b82d8af5c3ae1e42bbbfeca52bbc4a4eb3b3242 [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] 1ea7da3b3804da3b47bf7c65d9ac29a90100737d95442ffcf1b1eea7bf4ea0c6 [INFO] running `Command { std: "docker" "start" "-a" "1ea7da3b3804da3b47bf7c65d9ac29a90100737d95442ffcf1b1eea7bf4ea0c6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling rust-101 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/bin/traits.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn notify_trait_bound(item: &T) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item1` [INFO] [stdout] --> src/bin/traits.rs:64:41 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn notify_trait_bound_2(item1: &T, item2: &T) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_item1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item2` [INFO] [stdout] --> src/bin/traits.rs:64:52 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn notify_trait_bound_2(item1: &T, item2: &T) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_item2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/bin/traits.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn some_function(t: &T, u: &U) -> i32 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/bin/traits.rs:66:35 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn some_function(t: &T, u: &U) -> i32 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user3` [INFO] [stdout] --> src/bin/structures.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let user3 = User { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_user3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username`, `sign_in_count`, and `active` are never read [INFO] [stdout] --> src/bin/structures.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 24 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | email: String, [INFO] [stdout] 26 | sign_in_count: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/bin/closure.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/bin/closure.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `four` [INFO] [stdout] --> src/bin/ipaddr.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let four = IpAddrKind::V4; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_four` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `six` [INFO] [stdout] --> src/bin/ipaddr.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let six = IpAddrKind::V6; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_six` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/vector.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | Int(i32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpreadsheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 43 - Int(i32), [INFO] [stdout] 43 + Int(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `address` are never read [INFO] [stdout] --> src/bin/ipaddr.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct IpAddrStruct { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 41 | kind: IpAddrKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 42 | address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IpAddrStruct` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/ipaddr.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | V4(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddrString` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 47 - V4(String), [INFO] [stdout] 47 + V4(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/ipaddr.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | V6(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddrString` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 48 - V6(String), [INFO] [stdout] 48 + V6(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> src/bin/ipaddr.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | V4(u8, u8, u8, u8), [INFO] [stdout] | -- ^^ ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 53 - V4(u8, u8, u8, u8), [INFO] [stdout] 53 + V4((), (), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/ipaddr.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | V6(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 54 - V6(String), [INFO] [stdout] 54 + V6(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Message` is never used [INFO] [stdout] --> src/bin/ipaddr.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `call` is never used [INFO] [stdout] --> src/bin/ipaddr.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl Message { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 72 | fn call(&self) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/vector.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpreadsheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 44 - Float(f64), [INFO] [stdout] 44 + Float(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/vector.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | Text(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpreadsheetCell` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 45 - Text(String), [INFO] [stdout] 45 + Text(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/lifetime.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let i = ImportantExcerpt { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `part` is never read [INFO] [stdout] --> src/bin/lifetime.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct ImportantExcerpt<'a> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 22 | part: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `level` and `announce_and_return_part` are never used [INFO] [stdout] --> src/bin/lifetime.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'a> ImportantExcerpt<'a> { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] 26 | fn level(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn announce_and_return_part(&self, announcement: &str) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `longest_with_an_announcement` is never used [INFO] [stdout] --> src/bin/lifetime.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn longest_with_an_announcement<'a, T>(x: &'a str, y: &'a str, ann: T) -> &'a str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `six` [INFO] [stdout] --> src/bin/matches.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let six = plus_one(five); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_six` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `none` [INFO] [stdout] --> src/bin/matches.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let none = plus_one(None); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_none` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Penny`, `Nickel`, and `Dime` are never constructed [INFO] [stdout] --> src/bin/matches.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | enum Coin { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 11 | Penny, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | Nickel, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | Dime, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Alabama` is never constructed [INFO] [stdout] --> src/bin/matches.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | enum UsState { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 19 | Alabama, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UsState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BinaryTree` is never used [INFO] [stdout] --> src/bin/binary_tree.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum BinaryTree { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tree_weight_v1` is never used [INFO] [stdout] --> src/bin/binary_tree.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn tree_weight_v1(t: &BinaryTree) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_tree` is never used [INFO] [stdout] --> src/bin/binary_tree.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn sample_tree() -> BinaryTree { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `num_to_ordinal` is never used [INFO] [stdout] --> src/bin/binary_tree.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn num_to_ordinal(x: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `num_to_ordinal_expr` is never used [INFO] [stdout] --> src/bin/binary_tree.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn num_to_ordinal_expr(x: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `four` [INFO] [stdout] --> src/bin/enumerations.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let four = IpAddrKind::V4; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_four` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `six` [INFO] [stdout] --> src/bin/enumerations.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let six = IpAddrKind::V6; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_six` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `address` are never read [INFO] [stdout] --> src/bin/enumerations.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct IpAddrStruct { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 41 | kind: IpAddrKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 42 | address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IpAddrStruct` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/enumerations.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | V4(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddrString` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 47 - V4(String), [INFO] [stdout] 47 + V4(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/enumerations.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | V6(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddrString` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 48 - V6(String), [INFO] [stdout] 48 + V6(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> src/bin/enumerations.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | V4(u8, u8, u8, u8), [INFO] [stdout] | -- ^^ ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 53 - V4(u8, u8, u8, u8), [INFO] [stdout] 53 + V4((), (), (), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/enumerations.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | V6(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 54 - V6(String), [INFO] [stdout] 54 + V6(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Message` is never used [INFO] [stdout] --> src/bin/enumerations.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | enum Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `call` is never used [INFO] [stdout] --> src/bin/enumerations.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl Message { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 72 | fn call(&self) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f1` [INFO] [stdout] --> src/bin/errors.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let f1 = match f1 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_f1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f2` [INFO] [stdout] --> src/bin/errors.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let f2 = match f2 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_f2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f3` [INFO] [stdout] --> src/bin/errors.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let f3 = File::open("hello.txt").unwrap_or_else(|error| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_f3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f4` [INFO] [stdout] --> src/bin/errors.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let f4 = File::open("hello.txt").unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_f4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f5` [INFO] [stdout] --> src/bin/errors.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let f5 = File::open("hello.txt").expect("can't open file"); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_f5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_username_from_file` is never used [INFO] [stdout] --> src/bin/errors.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn read_username_from_file() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `day`, `month`, and `year` are never read [INFO] [stdout] --> src/bin/test-1.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 61 | struct Date { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 62 | day: i8, [INFO] [stdout] | ^^^ [INFO] [stdout] 63 | month: i8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 64 | year: i16, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Date` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/rustcPLw9Ko/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librand-a396299a8e3740c8.rlib,librand_chacha-8f570b5f1eb6a1c3.rlib,libppv_lite86-5a92c3ab26105205.rlib,librand_core-8ba64fbc8aa7c041.rlib,libgetrandom-7224e8d97ab31e34.rlib,liblibc-974998504e402399.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/rustcPLw9Ko/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/guessing_game-ab2f5e32c63e6eee" "-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-7224e8d97ab31e34.rlib(getrandom-7224e8d97ab31e34.getrandom.4cc3d49ccad796da-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.3/src/util_libc.rs:110:(.text._ZN9getrandom9util_libc13open_readonly17h73ca2a13d314abfbE+0xb6): 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-101` (bin "guessing_game") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "1ea7da3b3804da3b47bf7c65d9ac29a90100737d95442ffcf1b1eea7bf4ea0c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ea7da3b3804da3b47bf7c65d9ac29a90100737d95442ffcf1b1eea7bf4ea0c6", kill_on_drop: false }` [INFO] [stdout] 1ea7da3b3804da3b47bf7c65d9ac29a90100737d95442ffcf1b1eea7bf4ea0c6