[INFO] cloning repository https://github.com/philipdaquin/RestApi-in-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/philipdaquin/RestApi-in-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilipdaquin%2FRestApi-in-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilipdaquin%2FRestApi-in-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac7445ad8ba0f0daf0cc33b47ac1fa84c97e19d4 [INFO] testing philipdaquin/RestApi-in-Rust 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%2Fphilipdaquin%2FRestApi-in-Rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/philipdaquin/RestApi-in-Rust [INFO] finished tweaking git repo https://github.com/philipdaquin/RestApi-in-Rust [INFO] tweaked toml for git repo https://github.com/philipdaquin/RestApi-in-Rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/philipdaquin/RestApi-in-Rust 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/philipdaquin/RestApi-in-Rust 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] Downloading crates ... [INFO] [stderr] Downloaded scheduled-thread-pool v0.2.5 [INFO] [stderr] Downloaded r2d2 v0.8.9 [INFO] [stderr] Downloaded diesel v1.4.7 [INFO] [stderr] Downloaded tokio v1.10.1 [INFO] [stderr] Downloaded libc v0.2.100 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] ff77e3127b74580990e7f9fc522d770a4d3c7f2726ead23c470e2dd377bbe5c5 [INFO] running `Command { std: "docker" "start" "-a" "ff77e3127b74580990e7f9fc522d770a4d3c7f2726ead23c470e2dd377bbe5c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff77e3127b74580990e7f9fc522d770a4d3c7f2726ead23c470e2dd377bbe5c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff77e3127b74580990e7f9fc522d770a4d3c7f2726ead23c470e2dd377bbe5c5", kill_on_drop: false }` [INFO] [stdout] ff77e3127b74580990e7f9fc522d770a4d3c7f2726ead23c470e2dd377bbe5c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 490bb61466fab559ab334c8c5c31829cbb67739d15444257310b96a8ab06b9f7 [INFO] running `Command { std: "docker" "start" "-a" "490bb61466fab559ab334c8c5c31829cbb67739d15444257310b96a8ab06b9f7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling tracing-core v0.1.19 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling tokio v1.10.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling sha-1 v0.9.7 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling actix-rt v2.2.0 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling serde_derive v1.0.129 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling actix_derive v0.6.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling actix v0.12.0 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling diesel v1.4.7 [INFO] [stderr] Compiling actix-http v2.2.1 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.2 [INFO] [stderr] Compiling RestApi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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/rustcjP6ZsL/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libdiesel-1d8e2a79803e21a1.rlib,libpq_sys-7f4adc86067b7b07.rlib}.rlib" "-lpq" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libuuid-02dea93ddd166f9c.rlib,libserde-efafe1b8748362c6.rlib,librand-6a7d5bf22847ba5f.rlib,libcfg_if-2d17986ae484e939.rlib,libr2d2-141e3974bc34028f.rlib,libscheduled_thread_pool-7e2a3d25b3b52d8c.rlib,libbyteorder-c7092f68299ac016.rlib,libactix-58b09befe2bde33c.rlib,libcrossbeam_channel-9b63ddeaffe4e71d.rlib,libcrossbeam_utils-4810c5eaacee4e16.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libtokio_util-4a6628d4bfb0e09d.rlib,libfutures_util-a8585d6e13f542be.rlib,libfutures_io-ba08a45cf70b7d1f.rlib,libslab-520ed64810a79da5.rlib,libfutures_channel-18587c0c7f958853.rlib,libfutures_sink-ea831f14803deddc.rlib,libfutures_task-d04be23f7dec3190.rlib,libpin_utils-b08f1197f0cdae19.rlib,libbitflags-e274cd04b58a060d.rlib,libactix_rt-1a6e63bdf7c0c736.rlib,libfutures_core-968e6ebd90ebb97a.rlib,libtokio-91be93dd1ab6bb21.rlib,libsignal_hook_registry-113f5a031448c3e4.rlib,libmemchr-a2892755812de0fe.rlib,libonce_cell-cadb55224f1ed138.rlib,libbytes-f5f6908afbf67346.rlib,libpin_project_lite-668e52fe3a18bf8a.rlib,libmio-a5f2141763edd163.rlib,liblog-2fa663e3959e676f.rlib,libparking_lot-b0e25db27ac77959.rlib,libparking_lot_core-091b1c9d1f32adc1.rlib,liblibc-0d8a5c6f3e8b0954.rlib,libsmallvec-a0b9fe2bb61c7c93.rlib,liblock_api-8a3a9ae637979500.rlib,libscopeguard-73056285f12cb829.rlib,libinstant-7deb58ca3148c0e0.rlib,libcfg_if-66d55f6b302e88c8.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/rustcjP6ZsL/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/brotli-sys-13ea1c88e393e7c3/out" "-L" "/usr/lib/x86_64-linux-gnu" "-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/RestApi-d415001e904bb756" "-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/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-6552f92f1a5eadae.rlib(std-6552f92f1a5eadae.std.ac8d423ff4d2d0a4-cgu.0.rcgu.o): in function `>::try_from::{{closure}}': [INFO] [stdout] /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/net/connection/socket.rs:319:(.text._ZN117_$LT$std..sys..net..connection..socket..LookupHost$u20$as$u20$core..convert..TryFrom$LT$$LP$$RF$str$C$u16$RP$$GT$$GT$8try_from28_$u7b$$u7b$closure$u7d$$u7d$17hf58eb60cc1c9f331E+0x57): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-6552f92f1a5eadae.rlib(std-6552f92f1a5eadae.std.ac8d423ff4d2d0a4-cgu.0.rcgu.o): in function `std::sys::pal::unix::os::home_dir::fallback': [INFO] [stdout] /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/os.rs:671:(.text._ZN3std3env8home_dir17h7b909c53ac52fbe9E+0xc5): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /tmp/ccFVQUEN.ltrans0.ltrans.o: relocation R_X86_64_32S against `.bss' can not be used when making a PIE object; recompile with -fPIE [INFO] [stdout] /usr/bin/ld: failed to set dynamic section sizes: bad value [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] /usr/bin/ld: /opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-6552f92f1a5eadae.rlib(std-6552f92f1a5eadae.std.ac8d423ff4d2d0a4-cgu.0.rcgu.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-6552f92f1a5eadae.rlib(std-6552f92f1a5eadae.std.ac8d423ff4d2d0a4-cgu.0.rcgu.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `RestApi` (bin "RestApi") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "490bb61466fab559ab334c8c5c31829cbb67739d15444257310b96a8ab06b9f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "490bb61466fab559ab334c8c5c31829cbb67739d15444257310b96a8ab06b9f7", kill_on_drop: false }` [INFO] [stdout] 490bb61466fab559ab334c8c5c31829cbb67739d15444257310b96a8ab06b9f7