[INFO] fetching crate wamr-sys 0.1.1...
[INFO] testing wamr-sys-0.1.1 against beta-2023-04-20 for beta-1.70-1
[INFO] extracting crate wamr-sys 0.1.1 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate wamr-sys 0.1.1 on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate wamr-sys 0.1.1
[INFO] finished tweaking crates.io crate wamr-sys 0.1.1
[INFO] tweaked toml for crates.io crate wamr-sys 0.1.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c815f3871b926a1fb21621b668f12a438e70cc4e9afb67ec343bf31c5c37e665
[INFO] running `Command { std: "docker" "start" "-a" "c815f3871b926a1fb21621b668f12a438e70cc4e9afb67ec343bf31c5c37e665", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c815f3871b926a1fb21621b668f12a438e70cc4e9afb67ec343bf31c5c37e665", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c815f3871b926a1fb21621b668f12a438e70cc4e9afb67ec343bf31c5c37e665", kill_on_drop: false }`
[INFO] [stdout] c815f3871b926a1fb21621b668f12a438e70cc4e9afb67ec343bf31c5c37e665
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e61c64b6dd55d3b18b78b5d43bfc1027046ce7596d43e7b40ebb94c94ab7d52f
[INFO] running `Command { std: "docker" "start" "-a" "e61c64b6dd55d3b18b78b5d43bfc1027046ce7596d43e7b40ebb94c94ab7d52f", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling libc v0.2.142
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling proc-macro2 v1.0.56
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling unicode-width v0.1.10
[INFO] [stderr]    Compiling unicode-ident v1.0.8
[INFO] [stderr]    Compiling regex-syntax v0.7.1
[INFO] [stderr]    Compiling bindgen v0.56.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling termcolor v1.2.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling nom v5.1.3
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]    Compiling clang-sys v1.6.1
[INFO] [stderr]    Compiling aho-corasick v1.0.1
[INFO] [stderr]    Compiling cmake v0.1.50
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling regex v1.8.1
[INFO] [stderr]    Compiling cexpr v0.4.0
[INFO] [stderr]    Compiling env_logger v0.8.4
[INFO] [stderr]    Compiling wamr-sys v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 22.23s
[INFO] running `Command { std: "docker" "inspect" "e61c64b6dd55d3b18b78b5d43bfc1027046ce7596d43e7b40ebb94c94ab7d52f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e61c64b6dd55d3b18b78b5d43bfc1027046ce7596d43e7b40ebb94c94ab7d52f", kill_on_drop: false }`
[INFO] [stdout] e61c64b6dd55d3b18b78b5d43bfc1027046ce7596d43e7b40ebb94c94ab7d52f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0d75d33af2ad2983b3fbb28ef72367c2a38c196cadd45e5b0d6d73584d110981
[INFO] running `Command { std: "docker" "start" "-a" "0d75d33af2ad2983b3fbb28ef72367c2a38c196cadd45e5b0d6d73584d110981", kill_on_drop: false }`
[INFO] [stderr]    Compiling wamr-sys v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0412]: cannot find type `ptr` in this scope
[INFO] [stdout]   --> src/lib.rs:22:85
[INFO] [stdout]    |
[INFO] [stdout] 22 |             let wasm_module = wasm_runtime_load(file, file.len() as u32, err_buf as ptr, 0);
[INFO] [stdout]    |                                                                                     ^^^ help: a builtin type with a similar name exists: `str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:22:49
[INFO] [stdout]    |
[INFO] [stdout] 22 |             let wasm_module = wasm_runtime_load(file, file.len() as u32, err_buf as ptr, 0);
[INFO] [stdout]    |                               ----------------- ^^^^ expected `*const u8`, found `&[u8; 41]`
[INFO] [stdout]    |                               |
[INFO] [stdout]    |                               arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected raw pointer `*const u8`
[INFO] [stdout]                 found reference `&[u8; 41]`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/wamr-sys-0d5f526c1888be3d/out/bindings.rs:3:24636
[INFO] [stdout]    |
[INFO] [stdout] 3  | ...return return WASM module loaded, NULL if failed"] pub fn wasm_runtime_load (buf : * const u8 , size : u32 , error_buf : * mut :: std ...
[INFO] [stdout]    |                                                              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0412.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wamr-sys` (lib test) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "0d75d33af2ad2983b3fbb28ef72367c2a38c196cadd45e5b0d6d73584d110981", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0d75d33af2ad2983b3fbb28ef72367c2a38c196cadd45e5b0d6d73584d110981", kill_on_drop: false }`
[INFO] [stdout] 0d75d33af2ad2983b3fbb28ef72367c2a38c196cadd45e5b0d6d73584d110981
