[INFO] cloning repository https://github.com/kjvalencik/hello-rust-js [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kjvalencik/hello-rust-js" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjvalencik%2Fhello-rust-js", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjvalencik%2Fhello-rust-js'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0c00f116862c3c2d26a5bfcf5101004dfe0b8e8c [INFO] checking kjvalencik/hello-rust-js against master#7bdae134cba57426d3c56b5de737a351762445e1 for pr-123794 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjvalencik%2Fhello-rust-js" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kjvalencik/hello-rust-js on toolchain 7bdae134cba57426d3c56b5de737a351762445e1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7bdae134cba57426d3c56b5de737a351762445e1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kjvalencik/hello-rust-js [INFO] finished tweaking git repo https://github.com/kjvalencik/hello-rust-js [INFO] tweaked toml for git repo https://github.com/kjvalencik/hello-rust-js written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kjvalencik/hello-rust-js 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" "+7bdae134cba57426d3c56b5de737a351762445e1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking kjvalencik/hello-rust-js against try#f0a46ffcb8bbd220fe569642e5e175207d8e3fea for pr-123794 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjvalencik%2Fhello-rust-js" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kjvalencik/hello-rust-js on toolchain f0a46ffcb8bbd220fe569642e5e175207d8e3fea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f0a46ffcb8bbd220fe569642e5e175207d8e3fea" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kjvalencik/hello-rust-js [INFO] finished tweaking git repo https://github.com/kjvalencik/hello-rust-js [INFO] tweaked toml for git repo https://github.com/kjvalencik/hello-rust-js written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kjvalencik/hello-rust-js 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" "+f0a46ffcb8bbd220fe569642e5e175207d8e3fea" "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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+f0a46ffcb8bbd220fe569642e5e175207d8e3fea" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34c17efaebca7c191e1452400c2cc03211cca30b916a8e58d893850903caf06e [INFO] running `Command { std: "docker" "start" "-a" "34c17efaebca7c191e1452400c2cc03211cca30b916a8e58d893850903caf06e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34c17efaebca7c191e1452400c2cc03211cca30b916a8e58d893850903caf06e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34c17efaebca7c191e1452400c2cc03211cca30b916a8e58d893850903caf06e", kill_on_drop: false }` [INFO] [stdout] 34c17efaebca7c191e1452400c2cc03211cca30b916a8e58d893850903caf06e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+f0a46ffcb8bbd220fe569642e5e175207d8e3fea" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7f23d315ac7bb0fbf4017cb7a6b850fd0141a733b6331a4d6dcdd525473da6b [INFO] running `Command { std: "docker" "start" "-a" "c7f23d315ac7bb0fbf4017cb7a6b850fd0141a733b6331a4d6dcdd525473da6b", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.4 [INFO] [stderr] Checking hello-rust-js v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` fn uses type `CString`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:35:72 [INFO] [stdout] | [INFO] [stdout] 35 | pub extern fn greeter_hello(ptr: *mut Greeter, name: *const c_char) -> CString { [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `CString`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:35:72 [INFO] [stdout] | [INFO] [stdout] 35 | pub extern fn greeter_hello(ptr: *mut Greeter, name: *const c_char) -> CString { [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/lib.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | Box::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 48 | let _ = Box::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/lib.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | Box::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 48 | let _ = Box::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "c7f23d315ac7bb0fbf4017cb7a6b850fd0141a733b6331a4d6dcdd525473da6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7f23d315ac7bb0fbf4017cb7a6b850fd0141a733b6331a4d6dcdd525473da6b", kill_on_drop: false }` [INFO] [stdout] c7f23d315ac7bb0fbf4017cb7a6b850fd0141a733b6331a4d6dcdd525473da6b