[INFO] fetching crate cr 0.1.1... [INFO] testing cr-0.1.1 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate cr 0.1.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate cr 0.1.1 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c059dc02c08d444066830759fcefeda0a2bb792d0d5d042fba3a4120f5597cce [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c059dc02c08d444066830759fcefeda0a2bb792d0d5d042fba3a4120f5597cce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c059dc02c08d444066830759fcefeda0a2bb792d0d5d042fba3a4120f5597cce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c059dc02c08d444066830759fcefeda0a2bb792d0d5d042fba3a4120f5597cce", kill_on_drop: false }` [INFO] [stdout] c059dc02c08d444066830759fcefeda0a2bb792d0d5d042fba3a4120f5597cce [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a691d785ae222ec76119ca637d837b98cf7412ee31593c6f034404e252f1e61 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5a691d785ae222ec76119ca637d837b98cf7412ee31593c6f034404e252f1e61", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling bindgen v0.49.4 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling cexpr v0.3.6 [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 57.86s [INFO] running `Command { std: "docker" "inspect" "5a691d785ae222ec76119ca637d837b98cf7412ee31593c6f034404e252f1e61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a691d785ae222ec76119ca637d837b98cf7412ee31593c6f034404e252f1e61", kill_on_drop: false }` [INFO] [stdout] 5a691d785ae222ec76119ca637d837b98cf7412ee31593c6f034404e252f1e61 [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd8a90122f3056f03182e6346abaaf2d01e1a658b47a7f60da4056fa37a5ffd8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fd8a90122f3056f03182e6346abaaf2d01e1a658b47a7f60da4056fa37a5ffd8", kill_on_drop: false }` [INFO] [stderr] Compiling cr v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0601]: `main` function not found in crate `basic_state` [INFO] [stdout] --> examples/basic_state.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[derive(Debug)] [INFO] [stdout] 2 | | pub struct BasicState { [INFO] [stdout] 3 | | pub counter: i32, [INFO] [stdout] 4 | | } [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | pub type BasicPlugin = cr::Plugin; [INFO] [stdout] | |______________________________________________^ consider adding a `main` function to `examples/basic_state.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cr` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fd8a90122f3056f03182e6346abaaf2d01e1a658b47a7f60da4056fa37a5ffd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd8a90122f3056f03182e6346abaaf2d01e1a658b47a7f60da4056fa37a5ffd8", kill_on_drop: false }` [INFO] [stdout] fd8a90122f3056f03182e6346abaaf2d01e1a658b47a7f60da4056fa37a5ffd8