[INFO] cloning repository https://github.com/eduardvercaemer/srve [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eduardvercaemer/srve" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feduardvercaemer%2Fsrve", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feduardvercaemer%2Fsrve'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c734fc75dbca4401ee3d65348f3268c2c6904806 [INFO] checking eduardvercaemer/srve against master#836c31742687ba4e2f857b5b698e1e9e6b67619c for pr-81789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feduardvercaemer%2Fsrve" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eduardvercaemer/srve on toolchain 836c31742687ba4e2f857b5b698e1e9e6b67619c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eduardvercaemer/srve [INFO] finished tweaking git repo https://github.com/eduardvercaemer/srve [INFO] tweaked toml for git repo https://github.com/eduardvercaemer/srve written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80e1a66b2fd065e66a9d952a3c76bd92e4929b867bd194b006f7451a846c4328 [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" "80e1a66b2fd065e66a9d952a3c76bd92e4929b867bd194b006f7451a846c4328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80e1a66b2fd065e66a9d952a3c76bd92e4929b867bd194b006f7451a846c4328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80e1a66b2fd065e66a9d952a3c76bd92e4929b867bd194b006f7451a846c4328", kill_on_drop: false }` [INFO] [stdout] 80e1a66b2fd065e66a9d952a3c76bd92e4929b867bd194b006f7451a846c4328 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b49a64dad61b3c0d8c253a520f8f7007ddd64f2ce8008e05541ca8710bd6d994 [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" "b49a64dad61b3c0d8c253a520f8f7007ddd64f2ce8008e05541ca8710bd6d994", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking text_io v0.1.8 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking simple_logger v1.11.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking srve v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> examples/shared.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> examples/shared.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `shared` [INFO] [stdout] --> examples/shared.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! This is the shared definitions for the client and server code. [INFO] [stdout] 2 | | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] 3 | | pub enum Msg { [INFO] [stdout] 4 | | /* client->server */ [INFO] [stdout] ... | [INFO] [stdout] 27 | | [INFO] [stdout] 28 | | pub const ADDR: &'static str = "127.0.0.1:6935"; [INFO] [stdout] | |________________________________________________^ consider adding a `main` function to `examples/shared.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `srve` [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 `Command { std: "docker" "inspect" "b49a64dad61b3c0d8c253a520f8f7007ddd64f2ce8008e05541ca8710bd6d994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b49a64dad61b3c0d8c253a520f8f7007ddd64f2ce8008e05541ca8710bd6d994", kill_on_drop: false }` [INFO] [stdout] b49a64dad61b3c0d8c253a520f8f7007ddd64f2ce8008e05541ca8710bd6d994