[INFO] cloning repository https://github.com/sbeckeriv/rust-haiku-generator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sbeckeriv/rust-haiku-generator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsbeckeriv%2Frust-haiku-generator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsbeckeriv%2Frust-haiku-generator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 97f13a11c1d37584856a9d0e0ceeb51e85b5048e [INFO] testing sbeckeriv/rust-haiku-generator 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%2Fsbeckeriv%2Frust-haiku-generator" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sbeckeriv/rust-haiku-generator [INFO] finished tweaking git repo https://github.com/sbeckeriv/rust-haiku-generator [INFO] tweaked toml for git repo https://github.com/sbeckeriv/rust-haiku-generator written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sbeckeriv/rust-haiku-generator 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/sbeckeriv/rust-haiku-generator 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 572a9908be9f17b93be31d1d9485058551439723ddbb4880587c9b82c87fe9bf [INFO] running `Command { std: "docker" "start" "-a" "572a9908be9f17b93be31d1d9485058551439723ddbb4880587c9b82c87fe9bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "572a9908be9f17b93be31d1d9485058551439723ddbb4880587c9b82c87fe9bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "572a9908be9f17b93be31d1d9485058551439723ddbb4880587c9b82c87fe9bf", kill_on_drop: false }` [INFO] [stdout] 572a9908be9f17b93be31d1d9485058551439723ddbb4880587c9b82c87fe9bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] cdf1df6b0c3c1015a3cb6105a3b2998ff73459ef820714ca7ea66d7259b95afc [INFO] running `Command { std: "docker" "start" "-a" "cdf1df6b0c3c1015a3cb6105a3b2998ff73459ef820714ca7ea66d7259b95afc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.21 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling os_str_bytes v2.3.1 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling wordsworth v0.1.1 [INFO] [stderr] Compiling whatlang v0.11.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling addr2line v0.12.0 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling serde_yaml v0.7.5 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling cmudict_core v0.2.2 (https://gitlab.com/shnewto/cmudict.git?branch=fix%2Fupdate-reqwest-version#d8f5adf5) [INFO] [stderr] Compiling clap v3.0.0-beta.1 [INFO] [stderr] Compiling haiku-generator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::borrow::ToOwned` [INFO] [stdout] --> src/haiku.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/haiku.rs:74:50 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn line(chain: &Chain, count: usize, context: Option<&String>) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/markov.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(PartialEq, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Chain` [INFO] [stdout] 34 | pub struct Chain [INFO] [stdout] | ----- `Chain` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/markov.rs:33:39 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(PartialEq, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Chain` [INFO] [stdout] 34 | pub struct Chain [INFO] [stdout] | ----- `Chain` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/markov.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn iter(&self) -> InfiniteChainIterator { [INFO] [stdout] | ^^^^^ ------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 143 | pub fn iter(&self) -> InfiniteChainIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/markov.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn iter_for(&self, size: usize) -> SizedChainIterator { [INFO] [stdout] | ^^^^^ --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 148 | pub fn iter_for(&self, size: usize) -> SizedChainIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/markov.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn str_iter(&self) -> InfiniteChainStringIterator { [INFO] [stdout] | ^^^^^ --------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 276 | pub fn str_iter(&self) -> InfiniteChainStringIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/markov.rs:282:25 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn str_iter_for(&self, size: usize) -> SizedChainStringIterator { [INFO] [stdout] | ^^^^^ ------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 282 | pub fn str_iter_for(&self, size: usize) -> SizedChainStringIterator<'_> { [INFO] [stdout] | ++++ [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/rustceUW9S4/symbols.o" "<10 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libclap-a248a52d1b1fe28a.rlib,libstrsim-7a71560e0c2955e4.rlib,libatty-3c80e8c0d9204c7e.rlib,libtextwrap-759430f46a6e6ead.rlib,libtermcolor-2ea4a539468aa6b0.rlib,libvec_map-f5624d319d58cb9d.rlib,libos_str_bytes-7aacd3e48f0bbf1b.rlib,libindexmap-769146dd7e7c89c8.rlib,libunicode_width-ff270229995c0ad3.rlib,libbitflags-561a4f1321538a32.rlib,libwordsworth-4583124acd0a2f8b.rlib,libwhatlang-64ed7eb3457c8798.rlib,libhashbrown-cffaccad0015c2df.rlib,libahash-f6ae872fb175a688.rlib,libserde_yaml-42db8316fc575045.rlib,libyaml_rust-779ac017ad2e7aae.rlib,liblinked_hash_map-0f2b9de21f5e8ed8.rlib,libdtoa-a58f0cf82bb2f742.rlib,libserde-6ca7497f262203b1.rlib,librand-5f05983c6be2dd12.rlib,librand_chacha-d59b3b5a581c0c4b.rlib,libppv_lite86-5a92c3ab26105205.rlib,librand_core-2e6bcfa4b3cac1cc.rlib,libgetrandom-3e886aa18952738a.rlib,libpetgraph-629e15990cc97b34.rlib,libordermap-5964eaff9916da95.rlib,libfixedbitset-47f9476be0dee6db.rlib,libitertools-0ad0f4b4ee6cbe0a.rlib,libeither-00eb09499d51fa78.rlib,libinflector-a5788d22556996da.rlib,libregex-116fef0db21c1979.rlib,libthread_local-c6b88a4b7954c5cd.rlib,libregex_syntax-b818260d7887ac74.rlib,libaho_corasick-46f4fb2605299cc8.rlib,libmemchr-66f21ea766679294.rlib,libcmudict_core-b4d847b85d2b432c.rlib,libfailure-d9bb0a99f4047c79.rlib,libbacktrace-2d6f0def8e0137c7.rlib,libobject-ceef6f2581f9ee92.rlib,liblibc-b5eed8c8537db97e.rlib,libaddr2line-9d59db3e09bcd084.rlib,libgimli-65f31084cbd40463.rlib,libcfg_if-2d17986ae484e939.rlib,librustc_demangle-dcc5b1758b30e405.rlib,liblazy_static-4b136fc9bfbd2c4b.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/rustceUW9S4/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/haiku_generator-9020867f0e247c41" "-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-3e886aa18952738a.rlib(getrandom-3e886aa18952738a.getrandom.7139cbbbbb8c4a51-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.1.15/src/util_libc.rs:112:(.text._ZN9getrandom9util_libc13open_readonly17h3605a508c39257fdE+0x79): 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 `haiku-generator` (bin "haiku-generator") due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cdf1df6b0c3c1015a3cb6105a3b2998ff73459ef820714ca7ea66d7259b95afc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdf1df6b0c3c1015a3cb6105a3b2998ff73459ef820714ca7ea66d7259b95afc", kill_on_drop: false }` [INFO] [stdout] cdf1df6b0c3c1015a3cb6105a3b2998ff73459ef820714ca7ea66d7259b95afc