[INFO] fetching crate cr-sys 0.1.1... [INFO] checking cr-sys-0.1.1 against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] extracting crate cr-sys 0.1.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate cr-sys 0.1.1 on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate cr-sys 0.1.1 [INFO] removed 2 missing examples [INFO] finished tweaking crates.io crate cr-sys 0.1.1 [INFO] tweaked toml for crates.io crate cr-sys 0.1.1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "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" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "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] 4e3f96fea6681991e8751784eb7bc185638ddd3272352b87436d8f62a06a575b [INFO] running `"docker" "start" "-a" "4e3f96fea6681991e8751784eb7bc185638ddd3272352b87436d8f62a06a575b"` [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling bindgen v0.49.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling cr-sys v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0601]: `main` function not found in crate `raw_state` [INFO] [stderr] --> examples/raw_state.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / #[derive(Debug)] [INFO] [stderr] 2 | | pub struct RawState { [INFO] [stderr] 3 | | pub counter: i32, [INFO] [stderr] 4 | | } [INFO] [stderr] | |_^ consider adding a `main` function to `examples/raw_state.rs` [INFO] [stderr] [INFO] [stderr] error[E0601]: `main` function not found in crate `raw_guest` [INFO] [stderr] --> examples/raw_guest.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / extern crate cr_sys; [INFO] [stderr] 2 | | [INFO] [stderr] 3 | | use std::os::raw::c_int; [INFO] [stderr] 4 | | [INFO] [stderr] ... | [INFO] [stderr] 76 | | return 0; [INFO] [stderr] 77 | | } [INFO] [stderr] | |_^ consider adding a `main` function to `examples/raw_guest.rs` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0601`. [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> examples/raw_host.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 31 | / loop { [INFO] [stderr] 32 | | println!("Run Update: cr_failure={:?}", plugin.failure); [INFO] [stderr] 33 | | let rc = unsafe { cr_plugin_update(&mut plugin, true) }; [INFO] [stderr] 34 | | println!("cr_plugin_update(ctx, true) = {}", rc); [INFO] [stderr] ... | [INFO] [stderr] 44 | | thread::sleep(Duration::from_millis(200)); [INFO] [stderr] 45 | | } [INFO] [stderr] | |_____- any code following this expression is unreachable [INFO] [stderr] 46 | println!("Call cr_plugin_close(ctx)"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: could not compile `cr-sys`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0601`. [INFO] [stderr] error: could not compile `cr-sys`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "4e3f96fea6681991e8751784eb7bc185638ddd3272352b87436d8f62a06a575b"` [INFO] running `"docker" "rm" "-f" "4e3f96fea6681991e8751784eb7bc185638ddd3272352b87436d8f62a06a575b"` [INFO] [stdout] 4e3f96fea6681991e8751784eb7bc185638ddd3272352b87436d8f62a06a575b