[INFO] fetching crate rurust 0.1.11... [INFO] checking rurust-0.1.11 against try#894d32a5432c6a6461bb2aac7c3d5f2e87dce83f for pr-77015 [INFO] extracting crate rurust 0.1.11 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate rurust 0.1.11 on toolchain 894d32a5432c6a6461bb2aac7c3d5f2e87dce83f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate rurust 0.1.11 [INFO] finished tweaking crates.io crate rurust 0.1.11 [INFO] tweaked toml for crates.io crate rurust 0.1.11 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mri-sys v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 221b6ac8003ce977410616416be812d1f5ce69bf96506f5748612981a4afe068 [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" "221b6ac8003ce977410616416be812d1f5ce69bf96506f5748612981a4afe068", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "221b6ac8003ce977410616416be812d1f5ce69bf96506f5748612981a4afe068", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "221b6ac8003ce977410616416be812d1f5ce69bf96506f5748612981a4afe068", kill_on_drop: false }` [INFO] [stdout] 221b6ac8003ce977410616416be812d1f5ce69bf96506f5748612981a4afe068 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 9a7065c9ab7a1c401483f2c346f5745e435c9288e0b8a235ce8ec6acc4f475d6 [INFO] running `Command { std: "docker" "start" "-a" "9a7065c9ab7a1c401483f2c346f5745e435c9288e0b8a235ce8ec6acc4f475d6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.78 [INFO] [stderr] Compiling mri-sys v0.2.4 [INFO] [stderr] Checking rurust v0.1.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/vm.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref ACTIVE_VM: Mutex = Mutex::new(VM::new().expect("failed to create Ruby VM")); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/vm.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref ACTIVE_VM: Mutex = Mutex::new(VM::new().expect("failed to create Ruby VM")); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `new` is private [INFO] [stdout] --> src/test.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let mut vm = VM::new().unwrap(); [INFO] [stdout] | ^^^ private associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0624`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rurust` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> tools/repl.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern fn thing(self_obj: rurust::Value, num: rurust::Value) -> rurust::Value { [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: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> tools/repl.rs:7:51 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern fn thing(self_obj: rurust::Value, num: rurust::Value) -> rurust::Value { [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> tools/repl.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern fn thing(self_obj: rurust::Value, num: rurust::Value) -> rurust::Value { [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: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> tools/repl.rs:7:51 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern fn thing(self_obj: rurust::Value, num: rurust::Value) -> rurust::Value { [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> tools/repl.rs:7:69 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern fn thing(self_obj: rurust::Value, num: rurust::Value) -> rurust::Value { [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Value`, which is not FFI-safe [INFO] [stdout] --> tools/repl.rs:7:69 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern fn thing(self_obj: rurust::Value, num: rurust::Value) -> rurust::Value { [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] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9a7065c9ab7a1c401483f2c346f5745e435c9288e0b8a235ce8ec6acc4f475d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a7065c9ab7a1c401483f2c346f5745e435c9288e0b8a235ce8ec6acc4f475d6", kill_on_drop: false }` [INFO] [stdout] 9a7065c9ab7a1c401483f2c346f5745e435c9288e0b8a235ce8ec6acc4f475d6