[INFO] cloning repository https://github.com/ityy/rust_study [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ityy/rust_study" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fityy%2Frust_study", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fityy%2Frust_study'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e8756fd6eb7d1122c156c85e59aef75e8d4cbf3f [INFO] checking ityy/rust_study against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fityy%2Frust_study" "/workspace/builds/worker-74/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-74/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ityy/rust_study on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ityy/rust_study [INFO] finished tweaking git repo https://github.com/ityy/rust_study [INFO] tweaked toml for git repo https://github.com/ityy/rust_study written to /workspace/builds/worker-74/source/Cargo.toml [INFO] crate git repo https://github.com/ityy/rust_study already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91fdd7b1874c2b4dc9b3b5109fce7e4ca0f8ea5ac831b6fe92bedce4698ef3ed [INFO] running `Command { std: "docker" "start" "-a" "91fdd7b1874c2b4dc9b3b5109fce7e4ca0f8ea5ac831b6fe92bedce4698ef3ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91fdd7b1874c2b4dc9b3b5109fce7e4ca0f8ea5ac831b6fe92bedce4698ef3ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91fdd7b1874c2b4dc9b3b5109fce7e4ca0f8ea5ac831b6fe92bedce4698ef3ed", kill_on_drop: false }` [INFO] [stdout] 91fdd7b1874c2b4dc9b3b5109fce7e4ca0f8ea5ac831b6fe92bedce4698ef3ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16d8f0fd24c07b202b14de30f19779a45f374c9bc1a9bd900a443e7b0754da7f [INFO] running `Command { std: "docker" "start" "-a" "16d8f0fd24c07b202b14de30f19779a45f374c9bc1a9bd900a443e7b0754da7f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Checking futures-sink v0.3.1 [INFO] [stderr] Checking futures-io v0.3.1 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking rustc-demangle v0.1.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Checking pin-project-lite v0.1.1 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Checking futures-task v0.3.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking bytes v0.5.3 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Checking dtoa v0.4.4 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Checking copyless v0.1.4 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking unic-char-range v0.7.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking unic-common v0.7.0 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Checking safemem v0.3.1 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking futures-timer v2.0.2 [INFO] [stderr] Checking once_cell v1.2.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking byteorder v0.3.13 [INFO] [stderr] Checking humansize v1.1.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking route-recognizer v0.1.13 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking dylib_1 v0.1.0 (/opt/rustwide/workdir/src/dylib_study/t01_libloading_test/dylib_1) [INFO] [stderr] Checking rust_study v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking lazy_static_test v0.1.0 (/opt/rustwide/workdir/src/lazy_static_test) [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking try_from v0.3.2 [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/dylib_study/t01_libloading_test/dylib_1/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/dylib_study/t01_libloading_test/dylib_1/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/dylib_study/t01_libloading_test/dylib_1/src/lib.rs:15:48 [INFO] [stdout] | [INFO] [stdout] 15 | pub extern fn have_args_no_return(p1: u32, p2: &str) { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `for<'r> fn(&'r str)`, which is not FFI-safe [INFO] [stdout] --> src/dylib_study/t01_libloading_test/dylib_1/src/lib.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | pub extern fn callback_test(func: fn(&str)) -> u32 { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stdout] = note: this function pointer has Rust-specific calling convention [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `futures` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name futures /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.29/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=5d1e0d8fbfc49916 -C extra-filename=-5d1e0d8fbfc49916 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/dylib_study/t01_libloading_test/dylib_1/src/lib.rs:15:48 [INFO] [stdout] | [INFO] [stdout] 15 | pub extern fn have_args_no_return(p1: u32, p2: &str) { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `for<'r> fn(&'r str)`, which is not FFI-safe [INFO] [stdout] --> src/dylib_study/t01_libloading_test/dylib_1/src/lib.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | pub extern fn callback_test(func: fn(&str)) -> u32 { [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using an `extern fn(...) -> ...` function pointer instead [INFO] [stdout] = note: this function pointer has Rust-specific calling convention [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" "16d8f0fd24c07b202b14de30f19779a45f374c9bc1a9bd900a443e7b0754da7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16d8f0fd24c07b202b14de30f19779a45f374c9bc1a9bd900a443e7b0754da7f", kill_on_drop: false }` [INFO] [stdout] 16d8f0fd24c07b202b14de30f19779a45f374c9bc1a9bd900a443e7b0754da7f