[INFO] cloning repository https://github.com/xinthink/rust_crosscompile_samples
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xinthink/rust_crosscompile_samples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxinthink%2Frust_crosscompile_samples", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxinthink%2Frust_crosscompile_samples'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3d433cc1b7026699ad324b5c4bbac6e847186cdb
[INFO] checking xinthink/rust_crosscompile_samples against e977a0b5ab976a591981e7263bd67a71a4f79308 for pr-158914
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxinthink%2Frust_crosscompile_samples" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/xinthink/rust_crosscompile_samples
[INFO] finished tweaking git repo https://github.com/xinthink/rust_crosscompile_samples
[INFO] tweaked toml for git repo https://github.com/xinthink/rust_crosscompile_samples written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/xinthink/rust_crosscompile_samples on toolchain e977a0b5ab976a591981e7263bd67a71a4f79308
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/xinthink/rust_crosscompile_samples 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" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded napi-ohos v0.1.3
[INFO] [stderr]   Downloaded napi-derive-ohos v0.0.9
[INFO] [stderr]   Downloaded napi-derive-backend-ohos v0.0.7
[INFO] [stderr]   Downloaded napi-sys-ohos v0.0.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 921d227c174b9054f0c6e6142184d2a005d31d4e74ff4547a17decb6db6d48f6
[INFO] running `Command { std: "docker" "start" "921d227c174b9054f0c6e6142184d2a005d31d4e74ff4547a17decb6db6d48f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "921d227c174b9054f0c6e6142184d2a005d31d4e74ff4547a17decb6db6d48f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "921d227c174b9054f0c6e6142184d2a005d31d4e74ff4547a17decb6db6d48f6" "/opt/rustwide/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "921d227c174b9054f0c6e6142184d2a005d31d4e74ff4547a17decb6db6d48f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "921d227c174b9054f0c6e6142184d2a005d31d4e74ff4547a17decb6db6d48f6" "/opt/rustwide/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]     Checking bytes v1.8.0
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]     Checking cesu8 v1.1.0
[INFO] [stderr]     Checking jni-sys v0.3.0
[INFO] [stderr]     Checking android_log-sys v0.3.1
[INFO] [stderr]     Checking napi-sys-ohos v0.0.1
[INFO] [stderr]    Compiling jni v0.19.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.89
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]     Checking android_logger v0.13.3
[INFO] [stderr]    Compiling napi-derive-backend-ohos v0.0.7
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling ctor v0.2.9
[INFO] [stderr]     Checking napi-ohos v0.1.3
[INFO] [stderr]    Compiling napi-derive-ohos v0.0.9
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking hello v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub extern fn rust_greeting(to: *const c_char) -> *mut c_char {
[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/lib.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub extern fn rust_greeting_free(s: *mut c_char) {
[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/lib.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub extern fn rust_greeting(to: *const c_char) -> *mut c_char {
[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/lib.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub extern fn rust_greeting_free(s: *mut c_char) {
[INFO] [stdout]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]   --> src/lib.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |         CString::from_raw(s)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let _ = CString::from_raw(s);
[INFO] [stdout]    |         +++++++                     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.56s
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]   --> src/lib.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |         CString::from_raw(s)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let _ = CString::from_raw(s);
[INFO] [stdout]    |         +++++++                     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "921d227c174b9054f0c6e6142184d2a005d31d4e74ff4547a17decb6db6d48f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "921d227c174b9054f0c6e6142184d2a005d31d4e74ff4547a17decb6db6d48f6", kill_on_drop: false }`
[INFO] [stdout] 921d227c174b9054f0c6e6142184d2a005d31d4e74ff4547a17decb6db6d48f6
