[INFO] cloning repository https://github.com/livelybug/rust-practice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/livelybug/rust-practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flivelybug%2Frust-practice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flivelybug%2Frust-practice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dde1e064f5a4f3d1fb1c0306afd8ed1d5626b957 [INFO] testing livelybug/rust-practice 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%2Flivelybug%2Frust-practice" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/livelybug/rust-practice [INFO] finished tweaking git repo https://github.com/livelybug/rust-practice [INFO] tweaked toml for git repo https://github.com/livelybug/rust-practice written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/livelybug/rust-practice 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/livelybug/rust-practice 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 523b0fffe216ced9b2546b67c05843c5cf4042c8e9bd7914b8a7d08032d12865 [INFO] running `Command { std: "docker" "start" "-a" "523b0fffe216ced9b2546b67c05843c5cf4042c8e9bd7914b8a7d08032d12865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "523b0fffe216ced9b2546b67c05843c5cf4042c8e9bd7914b8a7d08032d12865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "523b0fffe216ced9b2546b67c05843c5cf4042c8e9bd7914b8a7d08032d12865", kill_on_drop: false }` [INFO] [stdout] 523b0fffe216ced9b2546b67c05843c5cf4042c8e9bd7914b8a7d08032d12865 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] d4d4ea3ac7e77f30bc57b24a909bc5c2cc0f90f425c7587d23e944c54bedaf4e [INFO] running `Command { std: "docker" "start" "-a" "d4d4ea3ac7e77f30bc57b24a909bc5c2cc0f90f425c7587d23e944c54bedaf4e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling pin-project-lite v0.1.5 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling openssl-src v111.9.0+1.1.1g [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling my_crate v0.1.0 (/opt/rustwide/workdir/my_crate) [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.52 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling pin-project-internal v0.4.13 [INFO] [stderr] Compiling tokio v0.2.20 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling pin-project v0.4.13 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling hello v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/basis/traits.rs:155:34 [INFO] [stdout] | [INFO] [stdout] 155 | fn print_dispatch_dynamic(disp: &Summable) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 155 | fn print_dispatch_dynamic(disp: &dyn Summable) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/basis/traits.rs:187:18 [INFO] [stdout] | [INFO] [stdout] 187 | let shapes:[&Shape; 2] = [&s1, &c1]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 187 | let shapes:[&dyn Shape; 2] = [&s1, &c1]; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/basis/traits.rs:215:29 [INFO] [stdout] | [INFO] [stdout] 215 | let mut shapes2:Vec> = Vec::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 215 | let mut shapes2:Vec> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/basis/data_structure.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | Color::Cmyk{cyan:_, magenta:_, yellow:_, black:255} => println!("color is black"), [INFO] [stdout] | --------------------------------------------------- matches all the relevant values [INFO] [stdout] 34 | Color::Cmyk{black:255, ..} => println!("color is black"), // means the same as the line above, cause unreachable pattern warning [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | println!("= {}", Z); [INFO] [stdout] | ^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` 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/rustcYq1M59/symbols.o" "<10 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libfutures-61426eaaf541cb0c.rlib,libfutures_executor-1dd88eea8bd0a0bf.rlib,libreqwest-e0171b91ff74aef1.rlib,libhyper_tls-7aec0ed68e687043.rlib,libtokio_tls-bd0361ab7d6b8ab9.rlib,libencoding_rs-1ce3e0693152c3dd.rlib,libserde_urlencoded-17aa0a6840581943.rlib,libdtoa-a58f0cf82bb2f742.rlib,libserde_json-9172cd08a7c7defa.rlib,libryu-79f82cde207919e4.rlib,libserde-4c8c9b81c8a5a999.rlib,libbase64-1fc67f92c03a1f86.rlib,libmime_guess-38490dae1cec4fb5.rlib,libunicase-fe84ff77c3b2c65f.rlib,libmime-2517c84452183460.rlib,libnative_tls-7e091329819ae211.rlib,libopenssl_probe-ba95e2d94c1d0523.rlib,libopenssl-c85f4fb923cf70d5.rlib,libopenssl_sys-563d009567e16fb6.rlib,libforeign_types-025c2fe8e99a8f1a.rlib,libforeign_types_shared-823307d82477c688.rlib,libbitflags-561a4f1321538a32.rlib,libhyper-c1a4c20d62681271.rlib,libhttparse-84d0bdd2ca156c81.rlib,libwant-4082098659b0d25c.rlib,libtry_lock-8ae11c41fb9d3d57.rlib,libh2-05ff7e36ea2f957a.rlib,libindexmap-769146dd7e7c89c8.rlib,libtokio_util-9b4bb7e13d977de7.rlib,libtime-7f2a524f3e12baf8.rlib,libtower_service-3cb8860dcfde6328.rlib,libpin_project-c8eb67327748b40c.rlib,libfutures_util-1f0eb967eb8ea75d.rlib,libproc_macro_nested-723ec3dd4990c930.rlib,libfutures_io-30abddbf8d1b9476.rlib,libfutures_channel-37b3813a1113110e.rlib,libfutures_sink-04981e86d6bd5d7d.rlib,libfutures_task-1ad119f55b850506.rlib,libpin_utils-b08f1197f0cdae19.rlib,libtokio-2e7684735445799b.rlib,libsignal_hook_registry-5f327c5ecb8dd5a7.rlib,libarc_swap-be3f82655bd39fbf.rlib,libnum_cpus-b0bcf0de6d4eab1d.rlib,libmemchr-ef72552adde229fb.rlib,libmio_uds-a5878088c1cdd142.rlib,libmio-429c60882e9fea27.rlib,libslab-7c577fd9ceb1ab41.rlib,libiovec-9c46f3222ead3041.rlib,libnet2-6fb44f28676e0be3.rlib,libpin_project_lite-61d0285ee473a666.rlib,libhttp_body-683de7415d7c7edf.rlib,liblog-0458da19e351a080.rlib,libfutures_core-71bff0891d642169.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,liburl-2ca134d2d6c8b12f.rlib,libpercent_encoding-3f452dc5e318e927.rlib,libidna-cc90e85fe1b9d261.rlib,libunicode_normalization-267e3246a9595ea5.rlib,libsmallvec-ff85ea5cc5b76fc1.rlib,libunicode_bidi-3c976b4886511d83.rlib,libmatches-d7125afe50072f5c.rlib,libhttp-99c74b04f1f64a4b.rlib,libitoa-88342da8e1c3fb68.rlib,libbytes-3cae3e1c11d88d6b.rlib,libfnv-9e53809b7a9a2c90.rlib,libmy_crate-b66f4eb504f0bcf7.rlib,librand-e978a8e610f6368e.rlib,librand_chacha-1de3918d638ef578.rlib,libppv_lite86-3db1eddbb11ee7cb.rlib,librand_core-16a3e4a6bf10fbe2.rlib,libgetrandom-f03d066f276e5314.rlib,liblibc-e8317fc14e0f05cd.rlib,libcfg_if-2d17986ae484e939.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/rustcYq1M59/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/openssl-sys-b265c496ccf37ecc/out/openssl-build/install/lib" "-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/hello-19c98c85798a8980" "-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-f03d066f276e5314.rlib(getrandom-f03d066f276e5314.getrandom.3b5faed3beadb8c-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.14/src/util_libc.rs:112:(.text._ZN9getrandom9util_libc13open_readonly17h6c8398c318c4c408E+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 `hello` (bin "hello") due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d4d4ea3ac7e77f30bc57b24a909bc5c2cc0f90f425c7587d23e944c54bedaf4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4d4ea3ac7e77f30bc57b24a909bc5c2cc0f90f425c7587d23e944c54bedaf4e", kill_on_drop: false }` [INFO] [stdout] d4d4ea3ac7e77f30bc57b24a909bc5c2cc0f90f425c7587d23e944c54bedaf4e