[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#f82664191d0e8764b7435b9d72eb0e366b8b1464 for pr-83354 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feduardvercaemer%2Fsrve" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eduardvercaemer/srve on toolchain f82664191d0e8764b7435b9d72eb0e366b8b1464 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f82664191d0e8764b7435b9d72eb0e366b8b1464" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f82664191d0e8764b7435b9d72eb0e366b8b1464" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f82664191d0e8764b7435b9d72eb0e366b8b1464" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded text_io v0.1.8 [INFO] running `Command { std: "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" "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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+f82664191d0e8764b7435b9d72eb0e366b8b1464" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a73f3f3c632fedf30f0461bb183d338b94abee2082bf25ff3ef35a7d5d41eab [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" "4a73f3f3c632fedf30f0461bb183d338b94abee2082bf25ff3ef35a7d5d41eab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a73f3f3c632fedf30f0461bb183d338b94abee2082bf25ff3ef35a7d5d41eab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a73f3f3c632fedf30f0461bb183d338b94abee2082bf25ff3ef35a7d5d41eab", kill_on_drop: false }` [INFO] [stdout] 4a73f3f3c632fedf30f0461bb183d338b94abee2082bf25ff3ef35a7d5d41eab [INFO] running `Command { std: "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" "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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+f82664191d0e8764b7435b9d72eb0e366b8b1464" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a44f3e8bc0dc4ee2e96a3674382fb4561fce601bb2ed2cd849b45f8a109a1881 [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" "a44f3e8bc0dc4ee2e96a3674382fb4561fce601bb2ed2cd849b45f8a109a1881", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking text_io v0.1.8 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking simple_logger v1.11.0 [INFO] [stderr] Checking bincode v1.3.2 [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" "a44f3e8bc0dc4ee2e96a3674382fb4561fce601bb2ed2cd849b45f8a109a1881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a44f3e8bc0dc4ee2e96a3674382fb4561fce601bb2ed2cd849b45f8a109a1881", kill_on_drop: false }` [INFO] [stdout] a44f3e8bc0dc4ee2e96a3674382fb4561fce601bb2ed2cd849b45f8a109a1881