[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#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feduardvercaemer%2Fsrve" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eduardvercaemer/srve on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3174b78a89a8ad14e025a7f2331d49112efcdcfad1a7071df8e397fdf3d534b5 [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" "3174b78a89a8ad14e025a7f2331d49112efcdcfad1a7071df8e397fdf3d534b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3174b78a89a8ad14e025a7f2331d49112efcdcfad1a7071df8e397fdf3d534b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3174b78a89a8ad14e025a7f2331d49112efcdcfad1a7071df8e397fdf3d534b5", kill_on_drop: false }` [INFO] [stdout] 3174b78a89a8ad14e025a7f2331d49112efcdcfad1a7071df8e397fdf3d534b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd62783f347b61b0850e28aec077ffe18a4e03c5541101d3a6bb736fdda54551 [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" "dd62783f347b61b0850e28aec077ffe18a4e03c5541101d3a6bb736fdda54551", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking text_io v0.1.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking srve v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking simple_logger v1.11.0 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling serde_derive v1.0.126 [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" "dd62783f347b61b0850e28aec077ffe18a4e03c5541101d3a6bb736fdda54551", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd62783f347b61b0850e28aec077ffe18a4e03c5541101d3a6bb736fdda54551", kill_on_drop: false }` [INFO] [stdout] dd62783f347b61b0850e28aec077ffe18a4e03c5541101d3a6bb736fdda54551