[INFO] fetching crate cr-sys 0.1.1... [INFO] checking cr-sys-0.1.1 against master#4fb54ed484e2239a3e9eff3be17df00d2a162be3 for pr-73345 [INFO] extracting crate cr-sys 0.1.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate cr-sys 0.1.1 on toolchain 4fb54ed484e2239a3e9eff3be17df00d2a162be3 [INFO] running `"/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate cr-sys 0.1.1 [INFO] removed 0 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-2/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "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] c6d9bca9237d928a404d6ef10fce334f0866efbf26608f0104a473fb16df5166 [INFO] running `"docker" "start" "-a" "c6d9bca9237d928a404d6ef10fce334f0866efbf26608f0104a473fb16df5166"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bindgen v0.49.4 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling cr-sys v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: In file included from src/host.cpp:2: [INFO] [stderr] warning: src/../vendor/cr.h: In function 'bool cr_is_empty(const void*, int64_t)': [INFO] [stderr] warning: src/../vendor/cr.h:1216:33: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] [INFO] [stderr] warning: 1216 | auto c = (const char *const)buf; [INFO] [stderr] warning: | ^~~ [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: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0601`. [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: In file included from src/host.cpp:2: [INFO] [stderr] warning: src/../vendor/cr.h: In function 'bool cr_is_empty(const void*, int64_t)': [INFO] [stderr] warning: src/../vendor/cr.h:1216:33: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] [INFO] [stderr] warning: 1216 | auto c = (const char *const)buf; [INFO] [stderr] warning: | ^~~ [INFO] [stderr] [INFO] [stderr] error: could not compile `cr-sys`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "c6d9bca9237d928a404d6ef10fce334f0866efbf26608f0104a473fb16df5166"` [INFO] running `"docker" "rm" "-f" "c6d9bca9237d928a404d6ef10fce334f0866efbf26608f0104a473fb16df5166"` [INFO] [stdout] c6d9bca9237d928a404d6ef10fce334f0866efbf26608f0104a473fb16df5166