[INFO] cloning repository https://github.com/d3zd3z/bootsim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/d3zd3z/bootsim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd3zd3z%2Fbootsim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd3zd3z%2Fbootsim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 98d4a518c6a1a5d4a3a3fec6581786b02513f0fc [INFO] testing d3zd3z/bootsim 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%2Fd3zd3z%2Fbootsim" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/d3zd3z/bootsim [INFO] finished tweaking git repo https://github.com/d3zd3z/bootsim [INFO] tweaked toml for git repo https://github.com/d3zd3z/bootsim written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/d3zd3z/bootsim 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/d3zd3z/bootsim 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] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gcc v0.3.38 [INFO] [stderr] Downloaded cfg-if v0.1.0 [INFO] [stderr] Downloaded dbghelp-sys v0.2.0 [INFO] [stderr] Downloaded rand v0.3.15 [INFO] [stderr] Downloaded libc v0.2.17 [INFO] [stderr] Downloaded rustc-demangle v0.1.3 [INFO] [stderr] Downloaded backtrace v0.3.0 [INFO] [stderr] Downloaded backtrace-sys v0.1.5 [INFO] [stderr] Downloaded error-chain v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] cbd548034d601951f99617a4e1d4985d56ae4f98e916761291008e1a053eb0b1 [INFO] running `Command { std: "docker" "start" "-a" "cbd548034d601951f99617a4e1d4985d56ae4f98e916761291008e1a053eb0b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbd548034d601951f99617a4e1d4985d56ae4f98e916761291008e1a053eb0b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbd548034d601951f99617a4e1d4985d56ae4f98e916761291008e1a053eb0b1", kill_on_drop: false }` [INFO] [stdout] cbd548034d601951f99617a4e1d4985d56ae4f98e916761291008e1a053eb0b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] c7ed5ca5288b8aa7039a7ef708e55b1162bddbb5d4b5a3c3c873019b8c5005e4 [INFO] running `Command { std: "docker" "start" "-a" "c7ed5ca5288b8aa7039a7ef708e55b1162bddbb5d4b5a3c3c873019b8c5005e4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling gcc v0.3.38 [INFO] [stderr] Compiling libc v0.2.17 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling backtrace v0.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.3 [INFO] [stderr] Compiling cfg-if v0.1.0 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling backtrace-sys v0.1.5 [INFO] [stderr] Compiling bootsim v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: bootsim@0.1.0: bootutil/src/loader.c: In function 'split_go': [INFO] [stderr] warning: bootsim@0.1.0: bootutil/src/loader.c:1092:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] warning: bootsim@0.1.0: 1092 | *entry = (void*) entry_val; [INFO] [stderr] warning: bootsim@0.1.0: | ^ [INFO] [stderr] Compiling error-chain v0.7.1 [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/api.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub extern fn sim_flash_erase(dev: *mut Flash, offset: u32, size: u32) -> libc::c_int { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/api.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub extern fn sim_flash_read(dev: *const Flash, offset: u32, dest: *mut u8, size: u32) -> libc::c_int { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/api.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub extern fn sim_flash_write(dev: *mut Flash, offset: u32, src: *const u8, size: u32) -> libc::c_int { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/flash.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let mut sub = &mut self.data[offset .. offset + payload.len()]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut dev: &mut Flash = unsafe { &mut *dev }; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut dev: &mut Flash = unsafe { &mut *dev }; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/area.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn get_c(&self) -> CAreaDesc { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 82 | pub fn get_c(&self) -> CAreaDesc<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/flash.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn sector_iter(&self) -> SectorIter { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn sector_iter(&self) -> SectorIter<'_> { [INFO] [stdout] | ++++ [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/rustcifKgwR/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "-lbootutil" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{liberror_chain-1c22aefb827f7498.rlib,libbacktrace-cc9a5d40a8c1ee87.rlib,libbacktrace_sys-507aa8d37f6558f9.rlib,librustc_demangle-b047ce3d9cd51db3.rlib,libcfg_if-b6c720cd73ec8390.rlib,libdbghelp-8016d26a2d053e60.rlib,libwinapi-dc959018d703915d.rlib,libkernel32-82290fc6f652d265.rlib,librand-90c2d228da88575d.rlib,liblibc-d81d88db8642bc20.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/rustcifKgwR/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/bootsim-ba1e1a5df49e5fdd/out" "-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/bootsim-5b465cb401de22eb" "-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/libbacktrace-cc9a5d40a8c1ee87.rlib(backtrace-cc9a5d40a8c1ee87.backtrace.8058e83627c68ad5-cgu.1.rcgu.o): in function `backtrace::symbolize::libbacktrace::init_state::{{closure}}': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/backtrace-0.3.0/src/symbolize/libbacktrace.rs:156:(.text._ZN9backtrace9symbolize12libbacktrace10init_state28_$u7b$$u7b$closure$u7d$$u7d$17ha2f7a83db8e5dcf4E+0x16): undefined reference to `backtrace_create_state' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libbacktrace-cc9a5d40a8c1ee87.rlib(backtrace-cc9a5d40a8c1ee87.backtrace.8058e83627c68ad5-cgu.1.rcgu.o): in function `backtrace::symbolize::libbacktrace::resolve': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/backtrace-0.3.0/src/symbolize/libbacktrace.rs:173:(.text._ZN9backtrace9symbolize12libbacktrace7resolve17hbfa259f7bce0d4f5E+0x97): undefined reference to `backtrace_pcinfo' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/backtrace-0.3.0/src/symbolize/libbacktrace.rs:177:(.text._ZN9backtrace9symbolize12libbacktrace7resolve17hbfa259f7bce0d4f5E+0xdf): undefined reference to `backtrace_syminfo' [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] warning: bootsim@0.1.0: bootutil/src/loader.c: In function 'split_go': [INFO] [stderr] warning: bootsim@0.1.0: bootutil/src/loader.c:1092:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] [stderr] warning: bootsim@0.1.0: 1092 | *entry = (void*) entry_val; [INFO] [stderr] warning: bootsim@0.1.0: | ^ [INFO] [stderr] error: could not compile `bootsim` (bin "bootsim") due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c7ed5ca5288b8aa7039a7ef708e55b1162bddbb5d4b5a3c3c873019b8c5005e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7ed5ca5288b8aa7039a7ef708e55b1162bddbb5d4b5a3c3c873019b8c5005e4", kill_on_drop: false }` [INFO] [stdout] c7ed5ca5288b8aa7039a7ef708e55b1162bddbb5d4b5a3c3c873019b8c5005e4