[INFO] crate cr-sys 0.1.1 is already in cache [INFO] testing cr-sys-0.1.1 against 1.44.0 for beta-1.45-1 [INFO] extracting crate cr-sys 0.1.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate cr-sys 0.1.1 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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-0/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2bf80ef10e2e0ef59117a5205897bae40fe0ea7f742dda8d268e000eb03068ca [INFO] running `"docker" "start" "-a" "2bf80ef10e2e0ef59117a5205897bae40fe0ea7f742dda8d268e000eb03068ca"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling bindgen v0.49.4 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling cexpr v0.3.6 [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] Finished dev [unoptimized + debuginfo] target(s) in 47.43s [INFO] running `"docker" "inspect" "2bf80ef10e2e0ef59117a5205897bae40fe0ea7f742dda8d268e000eb03068ca"` [INFO] running `"docker" "rm" "-f" "2bf80ef10e2e0ef59117a5205897bae40fe0ea7f742dda8d268e000eb03068ca"` [INFO] [stdout] 2bf80ef10e2e0ef59117a5205897bae40fe0ea7f742dda8d268e000eb03068ca [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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" "+1.44.0" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 08b25519f00ab26b8eeef0a5bd3c153615932d153b4f2e25553ee8c300a85551 [INFO] running `"docker" "start" "-a" "08b25519f00ab26b8eeef0a5bd3c153615932d153b4f2e25553ee8c300a85551"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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] 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: 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" "08b25519f00ab26b8eeef0a5bd3c153615932d153b4f2e25553ee8c300a85551"` [INFO] running `"docker" "rm" "-f" "08b25519f00ab26b8eeef0a5bd3c153615932d153b4f2e25553ee8c300a85551"` [INFO] [stdout] 08b25519f00ab26b8eeef0a5bd3c153615932d153b4f2e25553ee8c300a85551