[INFO] fetching crate osclientcerts 0.1.2... [INFO] checking osclientcerts-0.1.2 against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] extracting crate osclientcerts 0.1.2 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate osclientcerts 0.1.2 on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate osclientcerts 0.1.2 [INFO] finished tweaking crates.io crate osclientcerts 0.1.2 [INFO] tweaked toml for crates.io crate osclientcerts 0.1.2 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d4f49babbf7023955574582f4b97820b83d687141f559193121ddb7ae3eb3d91 [INFO] running `"docker" "start" "-a" "d4f49babbf7023955574582f4b97820b83d687141f559193121ddb7ae3eb3d91"` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bindgen v0.53.2 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling osclientcerts v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `bindgen` [INFO] [stderr] --> build.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use bindgen; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::env` [INFO] [stderr] --> build.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::env; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::PathBuf` [INFO] [stderr] --> build.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::path::PathBuf; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0601]: `main` function not found in crate `build_script_build` [INFO] [stderr] --> build.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / use bindgen; [INFO] [stderr] 2 | | [INFO] [stderr] 3 | | use std::env; [INFO] [stderr] 4 | | use std::path::PathBuf; [INFO] [stderr] ... | [INFO] [stderr] 63 | | .expect("Couldn't write bindings"); [INFO] [stderr] 64 | | } [INFO] [stderr] | |_^ consider adding a `main` function to `build.rs` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0601`. [INFO] [stderr] error: could not compile `osclientcerts`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d4f49babbf7023955574582f4b97820b83d687141f559193121ddb7ae3eb3d91"` [INFO] running `"docker" "rm" "-f" "d4f49babbf7023955574582f4b97820b83d687141f559193121ddb7ae3eb3d91"` [INFO] [stdout] d4f49babbf7023955574582f4b97820b83d687141f559193121ddb7ae3eb3d91