[INFO] fetching crate ohos-media-sys 0.0.3... [INFO] testing ohos-media-sys-0.0.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate ohos-media-sys 0.0.3 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate ohos-media-sys 0.0.3 [INFO] finished tweaking crates.io crate ohos-media-sys 0.0.3 [INFO] tweaked toml for crates.io crate ohos-media-sys 0.0.3 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ohos-media-sys 0.0.3 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 crates.io crate ohos-media-sys 0.0.3 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ohos-sys-opaque-types v0.1.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 325ade46d0c17e2307fa01ccadca1eebd6b1d75a800c60c928ed2694264cb70b [INFO] running `Command { std: "docker" "start" "-a" "325ade46d0c17e2307fa01ccadca1eebd6b1d75a800c60c928ed2694264cb70b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "325ade46d0c17e2307fa01ccadca1eebd6b1d75a800c60c928ed2694264cb70b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "325ade46d0c17e2307fa01ccadca1eebd6b1d75a800c60c928ed2694264cb70b", kill_on_drop: false }` [INFO] [stdout] 325ade46d0c17e2307fa01ccadca1eebd6b1d75a800c60c928ed2694264cb70b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 421253b4a24d3fca48f05b668389c3932a1827655ae2def82027988ddf992015 [INFO] running `Command { std: "docker" "start" "-a" "421253b4a24d3fca48f05b668389c3932a1827655ae2def82027988ddf992015", kill_on_drop: false }` [INFO] [stderr] Compiling ohos-sys-opaque-types v0.1.7 [INFO] [stderr] Compiling ohos-media-sys v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `avcodec_base::avcodec_base_ffi::OH_AVCodecOnNeedInputData` [INFO] [stdout] --> src/avcodec_base/avcodec_base_ffi.rs:204:26 [INFO] [stdout] | [INFO] [stdout] 204 | pub onNeedInputData: OH_AVCodecOnNeedInputData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `avcodec_base::avcodec_base_ffi::OH_AVCodecOnNewOutputData` [INFO] [stdout] --> src/avcodec_base/avcodec_base_ffi.rs:205:27 [INFO] [stdout] | [INFO] [stdout] 205 | pub onNeedOutputData: OH_AVCodecOnNewOutputData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `avcodec_base::avcodec_base_ffi::OH_ScalingMode` [INFO] [stdout] --> src/avcodec_base/avcodec_base_ffi.rs:537:6 [INFO] [stdout] | [INFO] [stdout] 537 | impl OH_ScalingMode { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `avcodec_base::avcodec_base_ffi::OH_ScalingMode` [INFO] [stdout] --> src/avcodec_base/avcodec_base_ffi.rs:542:45 [INFO] [stdout] | [INFO] [stdout] 542 | pub const SCALING_MODE_SCALE_TO_WINDOW: OH_ScalingMode = OH_ScalingMode(1); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple struct `avcodec_base::avcodec_base_ffi::OH_ScalingMode` [INFO] [stdout] --> src/avcodec_base/avcodec_base_ffi.rs:542:62 [INFO] [stdout] | [INFO] [stdout] 542 | pub const SCALING_MODE_SCALE_TO_WINDOW: OH_ScalingMode = OH_ScalingMode(1); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `avcodec_base::avcodec_base_ffi::OH_ScalingMode` [INFO] [stdout] --> src/avcodec_base/avcodec_base_ffi.rs:547:40 [INFO] [stdout] | [INFO] [stdout] 547 | pub const SCALING_MODE_SCALE_CROP: OH_ScalingMode = OH_ScalingMode(2); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple struct `avcodec_base::avcodec_base_ffi::OH_ScalingMode` [INFO] [stdout] --> src/avcodec_base/avcodec_base_ffi.rs:547:57 [INFO] [stdout] | [INFO] [stdout] 547 | pub const SCALING_MODE_SCALE_CROP: OH_ScalingMode = OH_ScalingMode(2); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "421253b4a24d3fca48f05b668389c3932a1827655ae2def82027988ddf992015", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "421253b4a24d3fca48f05b668389c3932a1827655ae2def82027988ddf992015", kill_on_drop: false }` [INFO] [stdout] 421253b4a24d3fca48f05b668389c3932a1827655ae2def82027988ddf992015 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] fa775fe5d51fcafa10e179df70c6c1f3ca40351b98b86e9a5924d5f84c1b94a5 [INFO] running `Command { std: "docker" "start" "-a" "fa775fe5d51fcafa10e179df70c6c1f3ca40351b98b86e9a5924d5f84c1b94a5", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated type alias `avcodec_base::avcodec_base_ffi::OH_AVCodecOnNeedInputData` [INFO] [stdout] --> src/avcodec_base/avcodec_base_ffi.rs:204:26 [INFO] [stdout] | [INFO] [stdout] 204 | pub onNeedInputData: OH_AVCodecOnNeedInputData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `avcodec_base::avcodec_base_ffi::OH_AVCodecOnNewOutputData` [INFO] [stdout] --> src/avcodec_base/avcodec_base_ffi.rs:205:27 [INFO] [stdout] | [INFO] [stdout] 205 | pub onNeedOutputData: OH_AVCodecOnNewOutputData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `avcodec_base::avcodec_base_ffi::OH_ScalingMode` [INFO] [stdout] --> src/avcodec_base/avcodec_base_ffi.rs:537:6 [INFO] [stdout] | [INFO] [stdout] 537 | impl OH_ScalingMode { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `avcodec_base::avcodec_base_ffi::OH_ScalingMode` [INFO] [stdout] --> src/avcodec_base/avcodec_base_ffi.rs:542:45 [INFO] [stdout] | [INFO] [stdout] 542 | pub const SCALING_MODE_SCALE_TO_WINDOW: OH_ScalingMode = OH_ScalingMode(1); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple struct `avcodec_base::avcodec_base_ffi::OH_ScalingMode` [INFO] [stdout] --> src/avcodec_base/avcodec_base_ffi.rs:542:62 [INFO] [stdout] | [INFO] [stdout] 542 | pub const SCALING_MODE_SCALE_TO_WINDOW: OH_ScalingMode = OH_ScalingMode(1); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `avcodec_base::avcodec_base_ffi::OH_ScalingMode` [INFO] [stdout] --> src/avcodec_base/avcodec_base_ffi.rs:547:40 [INFO] [stdout] | [INFO] [stdout] 547 | pub const SCALING_MODE_SCALE_CROP: OH_ScalingMode = OH_ScalingMode(2); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple struct `avcodec_base::avcodec_base_ffi::OH_ScalingMode` [INFO] [stdout] --> src/avcodec_base/avcodec_base_ffi.rs:547:57 [INFO] [stdout] | [INFO] [stdout] 547 | pub const SCALING_MODE_SCALE_CROP: OH_ScalingMode = OH_ScalingMode(2); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ohos-media-sys v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `avcodec_base::avcodec_base_ffi::OH_AVCodecOnNeedInputData` [INFO] [stdout] --> src/avcodec_base/avcodec_base_ffi.rs:204:26 [INFO] [stdout] | [INFO] [stdout] 204 | pub onNeedInputData: OH_AVCodecOnNeedInputData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `avcodec_base::avcodec_base_ffi::OH_AVCodecOnNewOutputData` [INFO] [stdout] --> src/avcodec_base/avcodec_base_ffi.rs:205:27 [INFO] [stdout] | [INFO] [stdout] 205 | pub onNeedOutputData: OH_AVCodecOnNewOutputData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `avcodec_base::avcodec_base_ffi::OH_ScalingMode` [INFO] [stdout] --> src/avcodec_base/avcodec_base_ffi.rs:537:6 [INFO] [stdout] | [INFO] [stdout] 537 | impl OH_ScalingMode { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `avcodec_base::avcodec_base_ffi::OH_ScalingMode` [INFO] [stdout] --> src/avcodec_base/avcodec_base_ffi.rs:542:45 [INFO] [stdout] | [INFO] [stdout] 542 | pub const SCALING_MODE_SCALE_TO_WINDOW: OH_ScalingMode = OH_ScalingMode(1); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple struct `avcodec_base::avcodec_base_ffi::OH_ScalingMode` [INFO] [stdout] --> src/avcodec_base/avcodec_base_ffi.rs:542:62 [INFO] [stdout] | [INFO] [stdout] 542 | pub const SCALING_MODE_SCALE_TO_WINDOW: OH_ScalingMode = OH_ScalingMode(1); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `avcodec_base::avcodec_base_ffi::OH_ScalingMode` [INFO] [stdout] --> src/avcodec_base/avcodec_base_ffi.rs:547:40 [INFO] [stdout] | [INFO] [stdout] 547 | pub const SCALING_MODE_SCALE_CROP: OH_ScalingMode = OH_ScalingMode(2); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple struct `avcodec_base::avcodec_base_ffi::OH_ScalingMode` [INFO] [stdout] --> src/avcodec_base/avcodec_base_ffi.rs:547:57 [INFO] [stdout] | [INFO] [stdout] 547 | pub const SCALING_MODE_SCALE_CROP: OH_ScalingMode = OH_ScalingMode(2); [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/rustce21Yil/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "-lnative_media_codecbase" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*,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/rustce21Yil/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/ohos_media_sys-39231c5127825249" "-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: cannot find -lnative_media_codecbase: No such file or directory [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ohos-media-sys` (lib test) due to 1 previous error; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fa775fe5d51fcafa10e179df70c6c1f3ca40351b98b86e9a5924d5f84c1b94a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa775fe5d51fcafa10e179df70c6c1f3ca40351b98b86e9a5924d5f84c1b94a5", kill_on_drop: false }` [INFO] [stdout] fa775fe5d51fcafa10e179df70c6c1f3ca40351b98b86e9a5924d5f84c1b94a5