[INFO] fetching crate lento-libquickjs-sys 0.9.0...
[INFO] testing lento-libquickjs-sys-0.9.0 against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate lento-libquickjs-sys 0.9.0 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate lento-libquickjs-sys 0.9.0
[INFO] finished tweaking crates.io crate lento-libquickjs-sys 0.9.0
[INFO] tweaked toml for crates.io crate lento-libquickjs-sys 0.9.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate lento-libquickjs-sys 0.9.0 on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 48 packages to highest compatible versions
[INFO] [stderr]       Adding bindgen v0.57.0 (available: v0.73.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 80caf6b604bbacb12003f4ec30b7197608b4c028f23a5eefaa2c14dc343a161f
[INFO] running `Command { std: "docker" "start" "80caf6b604bbacb12003f4ec30b7197608b4c028f23a5eefaa2c14dc343a161f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "80caf6b604bbacb12003f4ec30b7197608b4c028f23a5eefaa2c14dc343a161f", 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" "80caf6b604bbacb12003f4ec30b7197608b4c028f23a5eefaa2c14dc343a161f" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "80caf6b604bbacb12003f4ec30b7197608b4c028f23a5eefaa2c14dc343a161f", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "80caf6b604bbacb12003f4ec30b7197608b4c028f23a5eefaa2c14dc343a161f" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling copy_dir v0.1.3
[INFO] [stderr]    Compiling lento-libquickjs-sys v0.9.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: lento-libquickjs-sys@0.9.0: /opt/rustwide/target/release/build/lento-libquickjs-sys/4497f98f0af70a94/out/quickjs/quickjs.c:11400:32: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (37 chars into 36 available) [-Wunterminated-string-initialization]
[INFO] [stderr] warning: lento-libquickjs-sys@0.9.0: 11400 | static char const digits[36] = "0123456789abcdefghijklmnopqrstuvwxyz";
[INFO] [stderr] warning: lento-libquickjs-sys@0.9.0:       |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: lento-libquickjs-sys@0.9.0: /opt/rustwide/target/release/build/lento-libquickjs-sys/4497f98f0af70a94/out/quickjs/quickjs.c: In function 'js_default_module_normalize_name':
[INFO] [stderr] warning: lento-libquickjs-sys@0.9.0: /opt/rustwide/target/release/build/lento-libquickjs-sys/4497f98f0af70a94/out/quickjs/quickjs.c:27600:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
[INFO] [stderr] warning: lento-libquickjs-sys@0.9.0: 27600 |     p = strrchr(base_name, '/');
[INFO] [stderr] warning: lento-libquickjs-sys@0.9.0:       |       ^
[INFO] [stdout] warning: suspicious definition of the runtime `malloc` symbol used by the standard library
[INFO] [stdout]     --> src/../embed/bindings.rs:3313:5
[INFO] [stdout]      |
[INFO] [stdout] 3313 |     pub fn malloc(__size: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected `unsafe extern "C" fn(usize) -> *mut c_void` (for the current target)
[INFO] [stdout]              found    `unsafe extern "C" fn(u64) -> *mut c_void`
[INFO] [stdout]      = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "malloc")]`, or `#[link_name = "malloc"]`
[INFO] [stdout]      = help: allow this lint if the signature is compatible
[INFO] [stdout]      = note: `#[warn(suspicious_runtime_symbol_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `realloc` symbol used by the standard library
[INFO] [stdout]     --> src/../embed/bindings.rs:3322:5
[INFO] [stdout]      |
[INFO] [stdout] 3322 | /     pub fn realloc(
[INFO] [stdout] 3323 | |         __ptr: *mut ::std::os::raw::c_void,
[INFO] [stdout] 3324 | |         __size: ::std::os::raw::c_ulong,
[INFO] [stdout] 3325 | |     ) -> *mut ::std::os::raw::c_void;
[INFO] [stdout]      | |_____________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected `unsafe extern "C" fn(*mut c_void, usize) -> *mut c_void` (for the current target)
[INFO] [stdout]              found    `unsafe extern "C" fn(*mut c_void, u64) -> *mut c_void`
[INFO] [stdout]      = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "realloc")]`, or `#[link_name = "realloc"]`
[INFO] [stdout]      = help: allow this lint if the signature is compatible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 35.14s
[INFO] running `Command { std: "docker" "inspect" "80caf6b604bbacb12003f4ec30b7197608b4c028f23a5eefaa2c14dc343a161f", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "80caf6b604bbacb12003f4ec30b7197608b4c028f23a5eefaa2c14dc343a161f" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: lento-libquickjs-sys@0.9.0: /opt/rustwide/target/release/build/lento-libquickjs-sys/4497f98f0af70a94/out/quickjs/quickjs.c:11400:32: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (37 chars into 36 available) [-Wunterminated-string-initialization]
[INFO] [stderr] warning: lento-libquickjs-sys@0.9.0: 11400 | static char const digits[36] = "0123456789abcdefghijklmnopqrstuvwxyz";
[INFO] [stderr] warning: lento-libquickjs-sys@0.9.0:       |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: lento-libquickjs-sys@0.9.0: /opt/rustwide/target/release/build/lento-libquickjs-sys/4497f98f0af70a94/out/quickjs/quickjs.c: In function 'js_default_module_normalize_name':
[INFO] [stderr] warning: lento-libquickjs-sys@0.9.0: /opt/rustwide/target/release/build/lento-libquickjs-sys/4497f98f0af70a94/out/quickjs/quickjs.c:27600:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
[INFO] [stderr] warning: lento-libquickjs-sys@0.9.0: 27600 |     p = strrchr(base_name, '/');
[INFO] [stderr] warning: lento-libquickjs-sys@0.9.0:       |       ^
[INFO] [stdout] warning: suspicious definition of the runtime `malloc` symbol used by the standard library
[INFO] [stdout]     --> src/../embed/bindings.rs:3313:5
[INFO] [stdout]      |
[INFO] [stdout] 3313 |     pub fn malloc(__size: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected `unsafe extern "C" fn(usize) -> *mut c_void` (for the current target)
[INFO] [stdout]              found    `unsafe extern "C" fn(u64) -> *mut c_void`
[INFO] [stdout]      = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "malloc")]`, or `#[link_name = "malloc"]`
[INFO] [stdout]      = help: allow this lint if the signature is compatible
[INFO] [stdout]      = note: `#[warn(suspicious_runtime_symbol_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `realloc` symbol used by the standard library
[INFO] [stdout]     --> src/../embed/bindings.rs:3322:5
[INFO] [stdout]      |
[INFO] [stdout] 3322 | /     pub fn realloc(
[INFO] [stdout] 3323 | |         __ptr: *mut ::std::os::raw::c_void,
[INFO] [stdout] 3324 | |         __size: ::std::os::raw::c_ulong,
[INFO] [stdout] 3325 | |     ) -> *mut ::std::os::raw::c_void;
[INFO] [stdout]      | |_____________________________________^
[INFO] [stdout]      |
[INFO] [stdout]      = note: expected `unsafe extern "C" fn(*mut c_void, usize) -> *mut c_void` (for the current target)
[INFO] [stdout]              found    `unsafe extern "C" fn(*mut c_void, u64) -> *mut c_void`
[INFO] [stdout]      = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "realloc")]`, or `#[link_name = "realloc"]`
[INFO] [stdout]      = help: allow this lint if the signature is compatible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling lento-libquickjs-sys v0.9.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/lib.rs:37:17
[INFO] [stdout]      |
[INFO] [stdout]   34 |             let value = JS_Eval(
[INFO] [stdout]      |                         ------- arguments to this function are incorrect
[INFO] [stdout] ...
[INFO] [stdout]   37 |                 (code_str.len() - 1) as u64,
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `u64`
[INFO] [stdout]      |
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> src/../embed/bindings.rs:1919:12
[INFO] [stdout]      |
[INFO] [stdout] 1919 |     pub fn JS_Eval(
[INFO] [stdout]      |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1922 |         input_len: usize,
[INFO] [stdout]      |         ---------
[INFO] [stdout] help: you can convert a `u64` to a `usize` and panic if the converted value doesn't fit
[INFO] [stdout]      |
[INFO] [stdout]   37 |                 ((code_str.len() - 1) as u64).try_into().unwrap(),
[INFO] [stdout]      |                 +                           +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] warning: lento-libquickjs-sys@0.9.0: /opt/rustwide/target/release/build/lento-libquickjs-sys/4497f98f0af70a94/out/quickjs/quickjs.c:11400:32: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (37 chars into 36 available) [-Wunterminated-string-initialization]
[INFO] [stderr] warning: lento-libquickjs-sys@0.9.0: 11400 | static char const digits[36] = "0123456789abcdefghijklmnopqrstuvwxyz";
[INFO] [stderr] warning: lento-libquickjs-sys@0.9.0:       |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: lento-libquickjs-sys@0.9.0: /opt/rustwide/target/release/build/lento-libquickjs-sys/4497f98f0af70a94/out/quickjs/quickjs.c: In function 'js_default_module_normalize_name':
[INFO] [stderr] warning: lento-libquickjs-sys@0.9.0: /opt/rustwide/target/release/build/lento-libquickjs-sys/4497f98f0af70a94/out/quickjs/quickjs.c:27600:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
[INFO] [stderr] warning: lento-libquickjs-sys@0.9.0: 27600 |     p = strrchr(base_name, '/');
[INFO] [stderr] warning: lento-libquickjs-sys@0.9.0:       |       ^
[INFO] [stderr] error: could not compile `lento-libquickjs-sys` (lib test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "80caf6b604bbacb12003f4ec30b7197608b4c028f23a5eefaa2c14dc343a161f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "80caf6b604bbacb12003f4ec30b7197608b4c028f23a5eefaa2c14dc343a161f", kill_on_drop: false }`
[INFO] [stdout] 80caf6b604bbacb12003f4ec30b7197608b4c028f23a5eefaa2c14dc343a161f
