[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 try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkjvalencik%2Fhello-rust-js" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kjvalencik/hello-rust-js on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", 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/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: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5a143d31269a29479df7c6a2af90a08af1b05420b5b66bff18ff317728206672 [INFO] running `Command { std: "docker" "start" "-a" "5a143d31269a29479df7c6a2af90a08af1b05420b5b66bff18ff317728206672", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a143d31269a29479df7c6a2af90a08af1b05420b5b66bff18ff317728206672", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a143d31269a29479df7c6a2af90a08af1b05420b5b66bff18ff317728206672", kill_on_drop: false }` [INFO] [stdout] 5a143d31269a29479df7c6a2af90a08af1b05420b5b66bff18ff317728206672 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47ec5e8ff1c1fb6bc1c6c86ca48a0c251645d81f429ed079cc9396187a0583c4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "47ec5e8ff1c1fb6bc1c6c86ca48a0c251645d81f429ed079cc9396187a0583c4", kill_on_drop: false }` [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] = note: `#[warn(improper_ctypes_definitions)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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] = note: `#[warn(improper_ctypes_definitions)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "47ec5e8ff1c1fb6bc1c6c86ca48a0c251645d81f429ed079cc9396187a0583c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47ec5e8ff1c1fb6bc1c6c86ca48a0c251645d81f429ed079cc9396187a0583c4", kill_on_drop: false }` [INFO] [stdout] 47ec5e8ff1c1fb6bc1c6c86ca48a0c251645d81f429ed079cc9396187a0583c4