[INFO] cloning repository https://github.com/franckinux/freestanding-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/franckinux/freestanding-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffranckinux%2Ffreestanding-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffranckinux%2Ffreestanding-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34504466d86ed72a7934bb85a0b6d4ea0d591373 [INFO] testing franckinux/freestanding-rs 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%2Ffranckinux%2Ffreestanding-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/franckinux/freestanding-rs [INFO] finished tweaking git repo https://github.com/franckinux/freestanding-rs [INFO] tweaked toml for git repo https://github.com/franckinux/freestanding-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/franckinux/freestanding-rs 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/franckinux/freestanding-rs 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc_alloc v1.0.6 [INFO] [stderr] Downloaded libc-print v0.1.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 463072f242bc43b078bc94b3005bd6abf7ebc92fd0da827b5fe9e5952f1aed70 [INFO] running `Command { std: "docker" "start" "-a" "463072f242bc43b078bc94b3005bd6abf7ebc92fd0da827b5fe9e5952f1aed70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "463072f242bc43b078bc94b3005bd6abf7ebc92fd0da827b5fe9e5952f1aed70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "463072f242bc43b078bc94b3005bd6abf7ebc92fd0da827b5fe9e5952f1aed70", kill_on_drop: false }` [INFO] [stdout] 463072f242bc43b078bc94b3005bd6abf7ebc92fd0da827b5fe9e5952f1aed70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] df4879b3ff7352830c66fcdfe7a6250590a1f4487076efdac69bd60065169ec9 [INFO] running `Command { std: "docker" "start" "-a" "df4879b3ff7352830c66fcdfe7a6250590a1f4487076efdac69bd60065169ec9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling libc_alloc v1.0.6 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling libc-print v0.1.22 [INFO] [stderr] Compiling freestanding-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Buf` and `Bytes` [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use bytes::{Bytes, BytesMut, Buf, BufMut}; [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/rustcaPmDKY/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libbytes-7bd56e1b1812b79a.rlib,liblibc_print-c748ec791df04620.rlib,liblibc-a405899a03e57b07.rlib,liblibc_alloc-e015950fbaa24a58.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcaPmDKY/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/freestanding_rs-d4fb65b4f106a1f0" "-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/self-contained/rcrt1.o: in function `__dls2': [INFO] [stdout] /build/musl-cross-make/build/local/x86_64-linux-musl/obj_musl/../src_musl/crt/rcrt1.c:13:(.text.__dls2+0x20): undefined reference to `__libc_start_main' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/freestanding_rs-d4fb65b4f106a1f0.freestanding_rs.87fb60ec66c171e3-cgu.0.rcgu.o: in function `libc_print::__LibCWriter::write_fmt': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-print-0.1.22/src/lib.rs:83:(.text._ZN10libc_print12__LibCWriter9write_fmt17h7b2495165020894dE+0x19): undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/freestanding_rs-d4fb65b4f106a1f0.freestanding_rs.87fb60ec66c171e3-cgu.0.rcgu.o: in function `core::fmt::Write::write_char': [INFO] [stdout] /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:177:(.text._ZN4core3fmt5Write10write_char17h1e1905a0e5559dddE+0x23): undefined reference to `memset' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/freestanding_rs-d4fb65b4f106a1f0.freestanding_rs.87fb60ec66c171e3-cgu.0.rcgu.o: in function `core::ptr::copy_nonoverlapping': [INFO] [stdout] /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:542:(.text._ZN4core5slice29_$LT$impl$u20$$u5b$T$u5d$$GT$15copy_from_slice17ha964a304d339a19aE+0x9d): undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:542:(.text._ZN5bytes9bytes_mut8BytesMut17extend_from_slice17h8d5182e4793f26daE+0xef): undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/freestanding_rs-d4fb65b4f106a1f0.freestanding_rs.87fb60ec66c171e3-cgu.0.rcgu.o: in function `core::ptr::write_bytes': [INFO] [stdout] /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:704:(.text._ZN74_$LT$libc_alloc..LibcAlloc$u20$as$u20$core..alloc..global..GlobalAlloc$GT$12alloc_zeroed17h730b0d0a30964fe6E+0x8f): undefined reference to `memset' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/freestanding_rs-d4fb65b4f106a1f0.freestanding_rs.87fb60ec66c171e3-cgu.0.rcgu.o: in function `::alloc': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc_alloc-1.0.6/src/lib.rs:39:(.text._ZN74_$LT$libc_alloc..LibcAlloc$u20$as$u20$core..alloc..global..GlobalAlloc$GT$5alloc17h04cca7c9e499ab3bE+0x44): undefined reference to `memalign' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/freestanding_rs-d4fb65b4f106a1f0.freestanding_rs.87fb60ec66c171e3-cgu.0.rcgu.o: in function `::dealloc': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc_alloc-1.0.6/src/lib.rs:58:(.text._ZN74_$LT$libc_alloc..LibcAlloc$u20$as$u20$core..alloc..global..GlobalAlloc$GT$7dealloc17h501d84498da87252E+0x25): undefined reference to `free' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/freestanding_rs-d4fb65b4f106a1f0.freestanding_rs.87fb60ec66c171e3-cgu.0.rcgu.o: in function `core::ptr::copy_nonoverlapping': [INFO] [stdout] /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:542:(.text._ZN74_$LT$libc_alloc..LibcAlloc$u20$as$u20$core..alloc..global..GlobalAlloc$GT$7realloc17hca75a4aa8bfb6b77E+0xe1): undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/freestanding_rs-d4fb65b4f106a1f0.freestanding_rs.87fb60ec66c171e3-cgu.0.rcgu.o: in function `<&mut W as core::fmt::Write::write_fmt::SpecWriteFmt>::spec_write_fmt': [INFO] [stdout] /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:229:(.text._ZN75_$LT$$RF$mut$u20$W$u20$as$u20$core..fmt..Write..write_fmt..SpecWriteFmt$GT$14spec_write_fmt17h09f454ac23289817E+0x106): undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/freestanding_rs-d4fb65b4f106a1f0.freestanding_rs.87fb60ec66c171e3-cgu.0.rcgu.o: in function `__rustc::rust_begin_unwind': [INFO] [stdout] /opt/rustwide/workdir/src/main.rs:22:(.text._RNvCsl27J4GXPHBQ_7___rustc17rust_begin_unwind+0x6c): undefined reference to `abort' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/freestanding_rs-d4fb65b4f106a1f0.freestanding_rs.87fb60ec66c171e3-cgu.0.rcgu.o: in function `main': [INFO] [stdout] /opt/rustwide/workdir/src/main.rs:37:(.text.main+0x1b5): undefined reference to `memset' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libbytes-7bd56e1b1812b79a.rlib(bytes-7bd56e1b1812b79a.bytes.2e300b84510dcaf6-cgu.0.rcgu.o): in function `core::ptr::copy_nonoverlapping': [INFO] [stdout] /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:542:(.text._ZN5alloc5alloc6Global9grow_impl17h619e5f74f6f6655aE+0x284): undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libbytes-7bd56e1b1812b79a.rlib(bytes-7bd56e1b1812b79a.bytes.2e300b84510dcaf6-cgu.0.rcgu.o): in function `core::ptr::write_bytes': [INFO] [stdout] /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:704:(.text._ZN5alloc5alloc6Global9grow_impl17h619e5f74f6f6655aE+0x586): undefined reference to `memset' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libbytes-7bd56e1b1812b79a.rlib(bytes-7bd56e1b1812b79a.bytes.2e300b84510dcaf6-cgu.1.rcgu.o): in function `core::fmt::Formatter::write_fmt': [INFO] [stdout] /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1910:(.text._ZN4core3fmt9Formatter9write_fmt17h559ce62fbdd58d1dE+0x122): undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libbytes-7bd56e1b1812b79a.rlib(bytes-7bd56e1b1812b79a.bytes.2e300b84510dcaf6-cgu.1.rcgu.o): in function `core::ptr::copy_nonoverlapping': [INFO] [stdout] /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:542:(.text._ZN5alloc3vec16Vec$LT$T$C$A$GT$15append_elements17h59eff8a184ec6b21E+0xac): undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libbytes-7bd56e1b1812b79a.rlib(bytes-7bd56e1b1812b79a.bytes.2e300b84510dcaf6-cgu.1.rcgu.o): in function `<[A] as core::slice::cmp::SlicePartialEq>::equal': [INFO] [stdout] /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/slice/cmp.rs:144:(.text._ZN73_$LT$$u5b$A$u5d$$u20$as$u20$core..slice..cmp..SlicePartialEq$LT$B$GT$$GT$5equal17h6dc16e59d618dbd0E+0x4f): undefined reference to `memcmp' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libbytes-7bd56e1b1812b79a.rlib(bytes-7bd56e1b1812b79a.bytes.2e300b84510dcaf6-cgu.2.rcgu.o): in function `core::ptr::copy_nonoverlapping': [INFO] [stdout] /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:542:(.text._ZN5bytes9bytes_mut8BytesMut13reserve_inner17h695337aabc506c07E+0x4fc): undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:542:(.text._ZN5bytes9bytes_mut8BytesMut13reserve_inner17h695337aabc506c07E+0xa6a): undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:542:(.text._ZN5bytes9bytes_mut8BytesMut17extend_from_slice17h70c7f312113976dfE+0xef): undefined reference to `memcpy' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/liblibc_print-c748ec791df04620.rlib(libc_print-c748ec791df04620.libc_print.892e732216270987-cgu.0.rcgu.o): in function `libc_print::libc_write': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-print-0.1.22/src/lib.rs:117:(.text._ZN10libc_print10libc_write17h7fa17326c5d69559E+0x24): undefined reference to `write' [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 `freestanding-rs` (bin "freestanding-rs") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "df4879b3ff7352830c66fcdfe7a6250590a1f4487076efdac69bd60065169ec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df4879b3ff7352830c66fcdfe7a6250590a1f4487076efdac69bd60065169ec9", kill_on_drop: false }` [INFO] [stdout] df4879b3ff7352830c66fcdfe7a6250590a1f4487076efdac69bd60065169ec9