[INFO] cloning repository https://github.com/King-Coyote/rustyqlearning [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/King-Coyote/rustyqlearning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKing-Coyote%2Frustyqlearning", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKing-Coyote%2Frustyqlearning'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b5653109bd241705af25fb81de3facc58c7f6b6f [INFO] testing King-Coyote/rustyqlearning 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%2FKing-Coyote%2Frustyqlearning" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/King-Coyote/rustyqlearning [INFO] finished tweaking git repo https://github.com/King-Coyote/rustyqlearning [INFO] tweaked toml for git repo https://github.com/King-Coyote/rustyqlearning written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/King-Coyote/rustyqlearning 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/King-Coyote/rustyqlearning 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 0d0e20ff070f85340b0e2c0588272fefa4d9b396bcab2d15bd9969ece9c0110c [INFO] running `Command { std: "docker" "start" "-a" "0d0e20ff070f85340b0e2c0588272fefa4d9b396bcab2d15bd9969ece9c0110c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d0e20ff070f85340b0e2c0588272fefa4d9b396bcab2d15bd9969ece9c0110c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d0e20ff070f85340b0e2c0588272fefa4d9b396bcab2d15bd9969ece9c0110c", kill_on_drop: false }` [INFO] [stdout] 0d0e20ff070f85340b0e2c0588272fefa4d9b396bcab2d15bd9969ece9c0110c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 6fbd7f7064864eb625f07284a4f084acf7e80d471221c47771b005eb1aa822e0 [INFO] running `Command { std: "docker" "start" "-a" "6fbd7f7064864eb625f07284a4f084acf7e80d471221c47771b005eb1aa822e0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling os_str_bytes v6.3.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-complex v0.4.2 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Compiling clap v3.2.20 [INFO] [stderr] Compiling rustyqlearning v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::EpsilonFunction` [INFO] [stdout] --> src/environment.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::EpsilonFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/learner.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | let (state, reward) = env.take_action(a)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | let effect = |a, v| (); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | let effect = |a, v| (); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `s_length` is never read [INFO] [stdout] --> src/learner.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct TableLearner { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | s_length: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_action_index` is never used [INFO] [stdout] --> src/environment.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl PositionalEnvironment { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | fn get_action_index(&self, action: MoveAction) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_index` is never used [INFO] [stdout] --> src/environment.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 112 | impl PositionState { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 113 | fn to_index(&self, width: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_action` is never used [INFO] [stdout] --> src/environment.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn random_action() -> MoveAction { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleEpsilon` is never constructed [INFO] [stdout] --> src/epsilon.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SimpleEpsilon; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleEpsilon` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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/rustcCbVfp8/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libnum-4545804d70cb6ea9.rlib,libnum_iter-1f7617b0bcba5395.rlib,libnum_rational-30b7a448c4a0f6d1.rlib,libnum_complex-a7f2d766d88baee9.rlib,libnum_bigint-7d98fc9d803d35b6.rlib,libnum_integer-d56515f5adf7c5b9.rlib,libnum_traits-1156dbed7f14dd48.rlib,librand-ba82a3db3327b0e0.rlib,librand_chacha-6332253e5666216b.rlib,libppv_lite86-a9f3c9ee76597f1e.rlib,librand_core-051a7da49fca2830.rlib,libgetrandom-e4bb3cfa4da982d8.rlib,libcfg_if-66d55f6b302e88c8.rlib,libclap-c9f52cc2b988c293.rlib,libatty-14aed3793c511f32.rlib,liblibc-7d87868aa1c36bd2.rlib,libstrsim-7a71560e0c2955e4.rlib,libtermcolor-a537f8c45744a682.rlib,libtextwrap-dd5d0e05f597c38b.rlib,libindexmap-7e0f1b036029beb7.rlib,libhashbrown-94464ed281767ecc.rlib,libclap_lex-37af8149275d662f.rlib,libos_str_bytes-ec5a14c90b8453eb.rlib,libbitflags-e274cd04b58a060d.rlib,libonce_cell-8a5c5f1c32966472.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/rustcCbVfp8/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/rustyqlearning-2bbb5fdb92e1e822" "-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-e4bb3cfa4da982d8.rlib(getrandom-e4bb3cfa4da982d8.getrandom.a64f106fded1c8ce-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.7/src/util_libc.rs:150:(.text._ZN9getrandom9util_libc13open_readonly17hf72d90a0547f6538E+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 `rustyqlearning` (bin "rustyqlearning") due to 1 previous error; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6fbd7f7064864eb625f07284a4f084acf7e80d471221c47771b005eb1aa822e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fbd7f7064864eb625f07284a4f084acf7e80d471221c47771b005eb1aa822e0", kill_on_drop: false }` [INFO] [stdout] 6fbd7f7064864eb625f07284a4f084acf7e80d471221c47771b005eb1aa822e0