[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] testing bfu4/HelloRustC against beta-2023-04-20 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbfu4%2FHelloRustC" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/bfu4/HelloRustC on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "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-1-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b9cf11d7bbca91f87ce73bb213783e1e413f0587d4cc35bfb30743dc750df856
[INFO] running `Command { std: "docker" "start" "-a" "b9cf11d7bbca91f87ce73bb213783e1e413f0587d4cc35bfb30743dc750df856", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b9cf11d7bbca91f87ce73bb213783e1e413f0587d4cc35bfb30743dc750df856", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9cf11d7bbca91f87ce73bb213783e1e413f0587d4cc35bfb30743dc750df856", kill_on_drop: false }`
[INFO] [stdout] b9cf11d7bbca91f87ce73bb213783e1e413f0587d4cc35bfb30743dc750df856
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f631cb8750fc57783e8684900af89f2118e4ff1103b1f1eaf63abfef8d953135
[INFO] running `Command { std: "docker" "start" "-a" "f631cb8750fc57783e8684900af89f2118e4ff1103b1f1eaf63abfef8d953135", kill_on_drop: false }`
[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]   = note: the following crate versions were found:
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.msan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.asan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.tsan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/beta-2023-04-20-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-beta_rt.lsan.a
[INFO] [stdout]   = help: please recompile that crate using --crate-type lib
[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] error[E0554]: `#![feature]` may not be used on the beta release channel
[INFO] [stdout]  --> main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(rustc_private)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[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 blocks
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `/* */` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0462, E0554.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `HelloRustC` (bin "main") due to 4 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "f631cb8750fc57783e8684900af89f2118e4ff1103b1f1eaf63abfef8d953135", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f631cb8750fc57783e8684900af89f2118e4ff1103b1f1eaf63abfef8d953135", kill_on_drop: false }`
[INFO] [stdout] f631cb8750fc57783e8684900af89f2118e4ff1103b1f1eaf63abfef8d953135
