[INFO] cloning repository https://github.com/AlonsoCrag/rust-postgres [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlonsoCrag/rust-postgres" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlonsoCrag%2Frust-postgres", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlonsoCrag%2Frust-postgres'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a33443afc257865883a6ba7f433f984c546eeb33 [INFO] testing AlonsoCrag/rust-postgres 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%2FAlonsoCrag%2Frust-postgres" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AlonsoCrag/rust-postgres [INFO] finished tweaking git repo https://github.com/AlonsoCrag/rust-postgres [INFO] tweaked toml for git repo https://github.com/AlonsoCrag/rust-postgres written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AlonsoCrag/rust-postgres 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/AlonsoCrag/rust-postgres 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 1545ade89b75fc31a28ee94960caa5f178a2c4d29c3f1b8916d3ee5350ce9564 [INFO] running `Command { std: "docker" "start" "-a" "1545ade89b75fc31a28ee94960caa5f178a2c4d29c3f1b8916d3ee5350ce9564", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1545ade89b75fc31a28ee94960caa5f178a2c4d29c3f1b8916d3ee5350ce9564", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1545ade89b75fc31a28ee94960caa5f178a2c4d29c3f1b8916d3ee5350ce9564", kill_on_drop: false }` [INFO] [stdout] 1545ade89b75fc31a28ee94960caa5f178a2c4d29c3f1b8916d3ee5350ce9564 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 29800f2a24022ffb7af106259ce2d12502cc4c95b07cc67e7366b847d0bddc5a [INFO] running `Command { std: "docker" "start" "-a" "29800f2a24022ffb7af106259ce2d12502cc4c95b07cc67e7366b847d0bddc5a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling tracing-core v0.1.28 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling crypto-common v0.1.5 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling postgres-protocol v0.6.4 [INFO] [stderr] Compiling postgres-types v0.2.3 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-postgres v0.7.6 [INFO] [stderr] Compiling postgres v0.19.3 [INFO] [stderr] Compiling rust_psql v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `NoTls` [INFO] [stdout] --> src/actions/mod.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | use postgres::{ Client, Error, NoTls }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/actions/mod.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn Drop(client: &mut Client, username: String, user_id: i32) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/actions/mod.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn Update(client: &mut Client, username: String, user_id: i32) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let username = String::from("Jess"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let user_id: i32 = 11; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username` and `user_id` are never read [INFO] [stdout] --> src/actions/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 9 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | user_id: i32 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` 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: function `Insert` is never used [INFO] [stdout] --> src/actions/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn Insert(client: &mut Client, username: String, user_id: i32) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Drop` is never used [INFO] [stdout] --> src/actions/mod.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn Drop(client: &mut Client, username: String, user_id: i32) -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Update` is never used [INFO] [stdout] --> src/actions/mod.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn Update(client: &mut Client, username: String, user_id: i32) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | actions::create::Select(&mut client); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 18 | let _ = actions::create::Select(&mut client); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Select` should have a snake case name [INFO] [stdout] --> src/actions/mod.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn Select(client: &mut Client) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `select` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Insert` should have a snake case name [INFO] [stdout] --> src/actions/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn Insert(client: &mut Client, username: String, user_id: i32) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Drop` should have a snake case name [INFO] [stdout] --> src/actions/mod.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn Drop(client: &mut Client, username: String, user_id: i32) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `drop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Update` should have a snake case name [INFO] [stdout] --> src/actions/mod.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn Update(client: &mut Client, username: String, user_id: i32) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `update` [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/rustcJx8qye/symbols.o" "<10 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libpostgres-421304ca26119860.rlib,libtokio_postgres-741b1d1b28bc243b.rlib,libphf-a92d7df5bead0e03.rlib,libphf_shared-600a15b5e5459999.rlib,libsiphasher-38fa4a3175b9359a.rlib,libpercent_encoding-3f452dc5e318e927.rlib,libtokio_util-1658f06916f2f84e.rlib,libtracing-dab7d94149186f1a.rlib,libtracing_core-01eb33564b0f941f.rlib,libonce_cell-734862852b790e74.rlib,libparking_lot-b999a71835fad1b4.rlib,libparking_lot_core-df8214549141e564.rlib,libsmallvec-cccb44d9dce4cf27.rlib,liblock_api-05ccfdad17814006.rlib,libscopeguard-73056285f12cb829.rlib,libtokio-602491869b8ae4d9.rlib,libsocket2-5165258c3ea759a0.rlib,libmio-3b406743781d9af8.rlib,liblog-fc4b0167ad2190de.rlib,libpostgres_types-c956962110370a75.rlib,libpostgres_protocol-e4fbd6851fcfbf59.rlib,libbase64-1447dfff012d42f8.rlib,libstringprep-556bf9ef91b20a1b.rlib,libunicode_normalization-92ab26775a19d6a1.rlib,libtinyvec-21bb3701804405c4.rlib,libtinyvec_macros-c54c30cfa88e68f0.rlib,libunicode_bidi-a8729daac9c66a13.rlib,libsha2-632a7651318404f4.rlib,libcpufeatures-bd3a5bace216530a.rlib,librand-2a861c800ee5cf5b.rlib,librand_chacha-943da4419f173414.rlib,libppv_lite86-a9f3c9ee76597f1e.rlib,librand_core-8cc0d8bdae1ba156.rlib,libgetrandom-aa730e50b98218fd.rlib,liblibc-46cbd4892249b89e.rlib,libcfg_if-66d55f6b302e88c8.rlib,libhmac-c6b73cfd74b4354f.rlib,libmd5-a5561dee31506370.rlib,libdigest-9ba30289042dbd69.rlib,libsubtle-af5f0d59ba7ae801.rlib,libblock_buffer-8581fdc2e0425ff3.rlib,libcrypto_common-a8bb5810c4df1b24.rlib,libgeneric_array-a2e7943a4edbb505.rlib,libtypenum-dfaa696d06b304f0.rlib,libfutures-3dca869a73172711.rlib,libfutures_executor-707d52ff6270006d.rlib,libfutures_util-5676c01736016c23.rlib,libmemchr-d88797af6a5880b4.rlib,libfutures_io-f6086bf99b597e19.rlib,libslab-93ffcdda3079a5d2.rlib,libfutures_channel-833703bb7688a403.rlib,libpin_project_lite-d27858faef1bbdcd.rlib,libfutures_sink-4bad40136a985cca.rlib,libfutures_task-959022c35311190e.rlib,libpin_utils-b08f1197f0cdae19.rlib,libfutures_core-ed83b4ca5adcb0c0.rlib,libbytes-37e68ee094a72681.rlib,libbyteorder-c7092f68299ac016.rlib,libfallible_iterator-da18290346318e11.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/rustcJx8qye/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/rust_psql-3f1d29642e676ee3" "-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-aa730e50b98218fd.rlib(getrandom-aa730e50b98218fd.getrandom.fee3cd4793159606-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_readonly17hc88e109cb50baf96E+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 `rust_psql` (bin "rust_psql") due to 1 previous error; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "29800f2a24022ffb7af106259ce2d12502cc4c95b07cc67e7366b847d0bddc5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29800f2a24022ffb7af106259ce2d12502cc4c95b07cc67e7366b847d0bddc5a", kill_on_drop: false }` [INFO] [stdout] 29800f2a24022ffb7af106259ce2d12502cc4c95b07cc67e7366b847d0bddc5a