[INFO] crate cr 0.1.1 is already in cache [INFO] testing cr-0.1.1 against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] extracting crate cr 0.1.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate cr 0.1.1 on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate cr 0.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate cr 0.1.1 [INFO] tweaked toml for crates.io crate cr 0.1.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "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=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" "+28742a1146f10a4f09369baad027a464acb7a766" "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] 2f390885fab038e58624fb0e1b8149d93332e2852b4caf4638436b45ff01c5ea [INFO] running `"docker" "start" "-a" "2f390885fab038e58624fb0e1b8149d93332e2852b4caf4638436b45ff01c5ea"` [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling bindgen v0.49.4 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling cr-sys v0.1.1 [INFO] [stderr] Compiling cr v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 36s [INFO] running `"docker" "inspect" "2f390885fab038e58624fb0e1b8149d93332e2852b4caf4638436b45ff01c5ea"` [INFO] running `"docker" "rm" "-f" "2f390885fab038e58624fb0e1b8149d93332e2852b4caf4638436b45ff01c5ea"` [INFO] [stdout] 2f390885fab038e58624fb0e1b8149d93332e2852b4caf4638436b45ff01c5ea [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=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" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stdout] 6dcf4ce3e3d1222edf80b76be5f2bc34b4c5f6d55cfd54f51b96194b3a43de79 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "6dcf4ce3e3d1222edf80b76be5f2bc34b4c5f6d55cfd54f51b96194b3a43de79"` [INFO] [stderr] Compiling cr v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0601]: `main` function not found in crate `basic_state` [INFO] [stderr] --> examples/basic_state.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / #[derive(Debug)] [INFO] [stderr] 2 | | pub struct BasicState { [INFO] [stderr] 3 | | pub counter: i32, [INFO] [stderr] 4 | | } [INFO] [stderr] 5 | | [INFO] [stderr] 6 | | pub type BasicPlugin = cr::Plugin; [INFO] [stderr] | |______________________________________________^ consider adding a `main` function to `examples/basic_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] error: could not compile `cr`. [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] error: build failed [INFO] running `"docker" "inspect" "6dcf4ce3e3d1222edf80b76be5f2bc34b4c5f6d55cfd54f51b96194b3a43de79"` [INFO] running `"docker" "rm" "-f" "6dcf4ce3e3d1222edf80b76be5f2bc34b4c5f6d55cfd54f51b96194b3a43de79"` [INFO] [stdout] 6dcf4ce3e3d1222edf80b76be5f2bc34b4c5f6d55cfd54f51b96194b3a43de79