[INFO] cloning repository https://github.com/pedro00dk/dev [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pedro00dk/dev" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedro00dk%2Fdev", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedro00dk%2Fdev'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b554b5a8893bf4d7c719c4c573d08607fca8d77 [INFO] testing pedro00dk/dev against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedro00dk%2Fdev" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pedro00dk/dev [INFO] finished tweaking git repo https://github.com/pedro00dk/dev [INFO] tweaked toml for git repo https://github.com/pedro00dk/dev written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pedro00dk/dev on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pedro00dk/dev 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.216 [INFO] [stderr] Downloaded serde v1.0.216 [INFO] [stderr] Downloaded hyper-named-pipe v0.1.0 [INFO] [stderr] Downloaded httparse v1.9.5 [INFO] [stderr] Downloaded bollard-stubs v1.47.1-rc.27.3.1 [INFO] [stderr] Downloaded miniz_oxide v0.8.2 [INFO] [stderr] Downloaded hyper-util v0.1.10 [INFO] [stderr] Downloaded cc v1.2.5 [INFO] [stderr] Downloaded thiserror v2.0.9 [INFO] [stderr] Downloaded serde_with v3.11.0 [INFO] [stderr] Downloaded hyper v1.5.2 [INFO] [stderr] Downloaded bollard v0.18.1 [INFO] [stderr] Downloaded env_logger v0.11.6 [INFO] [stderr] Downloaded hyperlocal v0.9.1 [INFO] [stderr] Downloaded thiserror-impl v2.0.9 [INFO] [stderr] Downloaded numtoa v0.2.4 [INFO] [stderr] Downloaded termion v4.0.3 [INFO] [stderr] Downloaded tokio v1.42.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29acaecdf312897de063d42101cca4a4f60e72f6573cf7f41144a254ad35e6cd [INFO] running `Command { std: "docker" "start" "-a" "29acaecdf312897de063d42101cca4a4f60e72f6573cf7f41144a254ad35e6cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29acaecdf312897de063d42101cca4a4f60e72f6573cf7f41144a254ad35e6cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29acaecdf312897de063d42101cca4a4f60e72f6573cf7f41144a254ad35e6cd", kill_on_drop: false }` [INFO] [stdout] 29acaecdf312897de063d42101cca4a4f60e72f6573cf7f41144a254ad35e6cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 977ea6025e2a2c9fc1d14a9d7d84f4df0a0d32bcdb4b694436eddbfbed294e81 [INFO] running `Command { std: "docker" "start" "-a" "977ea6025e2a2c9fc1d14a9d7d84f4df0a0d32bcdb4b694436eddbfbed294e81", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling thiserror v2.0.9 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Compiling numtoa v0.2.4 [INFO] [stderr] Compiling termion v4.0.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling thiserror-impl v2.0.9 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling clap v4.5.23 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyperlocal v0.9.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling serde_with v3.11.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling bollard-stubs v1.47.1-rc.27.3.1 [INFO] [stderr] Compiling bollard v0.18.1 [INFO] [stderr] Compiling dev v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0423]: expected value, found module `image` [INFO] [stdout] --> src/main.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | let image = image.as_ref().or(merged.programs.get(&program)).unwrap().as_str(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use the path separator to refer to an item [INFO] [stdout] | [INFO] [stdout] 86 - let image = image.as_ref().or(merged.programs.get(&program)).unwrap().as_str(); [INFO] [stdout] 86 + let image = image::as_ref().or(merged.programs.get(&program)).unwrap().as_str(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `program` in this scope [INFO] [stdout] --> src/main.rs:86:56 [INFO] [stdout] | [INFO] [stdout] 86 | let image = image.as_ref().or(merged.programs.get(&program)).unwrap().as_str(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `program` in this scope [INFO] [stdout] --> src/main.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | let command = vec![vec![program], arguments].concat(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `arguments` in this scope [INFO] [stdout] --> src/main.rs:87:39 [INFO] [stdout] | [INFO] [stdout] 87 | let command = vec![vec![program], arguments].concat(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pull` in this scope [INFO] [stdout] --> src/main.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | if !has_image || pull { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::fs::PermissionsExt` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::os::unix::fs::PermissionsExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::exit` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::process::exit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/main.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | use std::{env, fs, vec}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:48:49 [INFO] [stdout] | [INFO] [stdout] 48 | closest_config.programs.insert(program, use_.image.clone()); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^ expected `String`, found `Option` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] help: the return type of this call is `std::option::Option` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | closest_config.programs.insert(program, use_.image.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the return type of `insert` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/collections/hash/map.rs:1203:12 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `std::option::Option` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 48 | closest_config.programs.insert(program, use_.image.clone().expect("REASON")); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `write` exists for mutable reference `&mut config::Config`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | closest_config.write(); [INFO] [stdout] | ^^^^^ method cannot be called on `&mut config::Config` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/config.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Config { [INFO] [stdout] | ----------------- doesn't satisfy `config::Config: AsyncWriteExt`, `config::Config: AsyncWrite` or `config::Config: std::io::Write` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `config::Config: AsyncWrite` [INFO] [stdout] which is required by `config::Config: AsyncWriteExt` [INFO] [stdout] `config::Config: std::io::Write` [INFO] [stdout] which is required by `&mut config::Config: std::io::Write` [INFO] [stdout] `&mut config::Config: AsyncWrite` [INFO] [stdout] which is required by `&mut config::Config: AsyncWriteExt` [INFO] [stdout] note: the traits `AsyncWrite` and `std::io::Write` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.42.0/src/io/async_write.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub trait AsyncWrite { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1677:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `AsyncWriteExt` [INFO] [stdout] candidate #2: `Hasher` [INFO] [stdout] candidate #3: `itoa::private::Sealed` [INFO] [stdout] candidate #4: `std::io::Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0423, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dev` (bin "dev") due to 7 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "977ea6025e2a2c9fc1d14a9d7d84f4df0a0d32bcdb4b694436eddbfbed294e81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "977ea6025e2a2c9fc1d14a9d7d84f4df0a0d32bcdb4b694436eddbfbed294e81", kill_on_drop: false }` [INFO] [stdout] 977ea6025e2a2c9fc1d14a9d7d84f4df0a0d32bcdb4b694436eddbfbed294e81