[INFO] cloning repository https://github.com/bfu4/HelloRustC [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bfu4/HelloRustC" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbfu4%2FHelloRustC", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbfu4%2FHelloRustC'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e1fd2418cc57548beef1cff41b4e3fd8501c09e1 [INFO] checking bfu4/HelloRustC against master#4c60a0ea5b2385d7400df9db1ad04e96f2a4c154 for 92191_revert [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbfu4%2FHelloRustC" "/workspace/builds/worker-35/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-35/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bfu4/HelloRustC on toolchain 4c60a0ea5b2385d7400df9db1ad04e96f2a4c154 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4c60a0ea5b2385d7400df9db1ad04e96f2a4c154" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bfu4/HelloRustC [INFO] finished tweaking git repo https://github.com/bfu4/HelloRustC [INFO] tweaked toml for git repo https://github.com/bfu4/HelloRustC written to /workspace/builds/worker-35/source/Cargo.toml [INFO] crate git repo https://github.com/bfu4/HelloRustC already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4c60a0ea5b2385d7400df9db1ad04e96f2a4c154" "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-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+4c60a0ea5b2385d7400df9db1ad04e96f2a4c154" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6872d7b4a843b55516d4a6e11656aa278ddc7057c0f669ccb2a9bce5789fcf36 [INFO] running `Command { std: "docker" "start" "-a" "6872d7b4a843b55516d4a6e11656aa278ddc7057c0f669ccb2a9bce5789fcf36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6872d7b4a843b55516d4a6e11656aa278ddc7057c0f669ccb2a9bce5789fcf36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6872d7b4a843b55516d4a6e11656aa278ddc7057c0f669ccb2a9bce5789fcf36", kill_on_drop: false }` [INFO] [stdout] 6872d7b4a843b55516d4a6e11656aa278ddc7057c0f669ccb2a9bce5789fcf36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+4c60a0ea5b2385d7400df9db1ad04e96f2a4c154" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66de89de45bd652b558e414c3cd171fb4476b5acfbfc664da51672069e479140 [INFO] running `Command { std: "docker" "start" "-a" "66de89de45bd652b558e414c3cd171fb4476b5acfbfc664da51672069e479140", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling HelloRustC v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rustc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: please recompile that crate using --crate-type lib [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/4c60a0ea5b2385d7400df9db1ad04e96f2a4c154/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/4c60a0ea5b2385d7400df9db1ad04e96f2a4c154/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.tsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/4c60a0ea5b2385d7400df9db1ad04e96f2a4c154/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/4c60a0ea5b2385d7400df9db1ad04e96f2a4c154/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libc` [INFO] [stdout] --> main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use libc::c_char; [INFO] [stdout] | ^^^^ use of undeclared crate or module `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / /** [INFO] [stdout] 9 | | * During compile time, rustc complains about [INFO] [stdout] 10 | | * the type String not being FFI-safe. However, [INFO] [stdout] 11 | | * when using &str or &'static str, it complains as well. [INFO] [stdout] ... | [INFO] [stdout] 21 | | * [INFO] [stdout] 22 | | */ [INFO] [stdout] | |___^ [INFO] [stdout] ... [INFO] [stdout] 25 | / extern "C" { [INFO] [stdout] 26 | | fn getMessage() -> * const c_char; [INFO] [stdout] 27 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `HelloRustC` due to 3 previous errors; 1 warning emitted [INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib [INFO] [stdout] --> main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rustc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: please recompile that crate using --crate-type lib [INFO] [stdout] = note: the following crate versions were found: [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/4c60a0ea5b2385d7400df9db1ad04e96f2a4c154/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.msan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/4c60a0ea5b2385d7400df9db1ad04e96f2a4c154/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.tsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/4c60a0ea5b2385d7400df9db1ad04e96f2a4c154/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.lsan.a [INFO] [stdout] crate `rustc`: /opt/rustwide/rustup-home/toolchains/4c60a0ea5b2385d7400df9db1ad04e96f2a4c154/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libc` [INFO] [stdout] --> main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use libc::c_char; [INFO] [stdout] | ^^^^ use of undeclared crate or module `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / /** [INFO] [stdout] 9 | | * During compile time, rustc complains about [INFO] [stdout] 10 | | * the type String not being FFI-safe. However, [INFO] [stdout] 11 | | * when using &str or &'static str, it complains as well. [INFO] [stdout] ... | [INFO] [stdout] 21 | | * [INFO] [stdout] 22 | | */ [INFO] [stdout] | |___^ [INFO] [stdout] ... [INFO] [stdout] 25 | / extern "C" { [INFO] [stdout] 26 | | fn getMessage() -> * const c_char; [INFO] [stdout] 27 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `HelloRustC` due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "66de89de45bd652b558e414c3cd171fb4476b5acfbfc664da51672069e479140", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66de89de45bd652b558e414c3cd171fb4476b5acfbfc664da51672069e479140", kill_on_drop: false }` [INFO] [stdout] 66de89de45bd652b558e414c3cd171fb4476b5acfbfc664da51672069e479140