[INFO] cloning repository https://github.com/farnasirim/gitcnt-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/farnasirim/gitcnt-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffarnasirim%2Fgitcnt-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffarnasirim%2Fgitcnt-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e6ccd2becd156668c2d887f64c2ce08fa0643319 [INFO] checking farnasirim/gitcnt-server against try#6f8a6450478f69b8510c8976ab6c2a70b3b0e47c for pr-84920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffarnasirim%2Fgitcnt-server" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/farnasirim/gitcnt-server on toolchain 6f8a6450478f69b8510c8976ab6c2a70b3b0e47c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/farnasirim/gitcnt-server [INFO] finished tweaking git repo https://github.com/farnasirim/gitcnt-server [INFO] tweaked toml for git repo https://github.com/farnasirim/gitcnt-server written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/farnasirim/gitcnt-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-12/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sha1 v0.1.1 [INFO] [stderr] Downloaded redis v0.5.4 [INFO] [stderr] warning: spurious network error (2 tries remaining): failed to get 200 response from `https://static.crates.io/crates/json/json-0.7.4.crate`, got 503 [INFO] [stderr] Downloaded json v0.7.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2aa595c1cd6a21b37e6d68ccf3e3cb5d702f7b894a38c00e79223ce21257de5e [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" "2aa595c1cd6a21b37e6d68ccf3e3cb5d702f7b894a38c00e79223ce21257de5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2aa595c1cd6a21b37e6d68ccf3e3cb5d702f7b894a38c00e79223ce21257de5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2aa595c1cd6a21b37e6d68ccf3e3cb5d702f7b894a38c00e79223ce21257de5e", kill_on_drop: false }` [INFO] [stdout] 2aa595c1cd6a21b37e6d68ccf3e3cb5d702f7b894a38c00e79223ce21257de5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a013509c5cf8e93bc0f87926ff150aae5d44941d7d38c4ea821a7361dd644108 [INFO] running `Command { std: "docker" "start" "-a" "a013509c5cf8e93bc0f87926ff150aae5d44941d7d38c4ea821a7361dd644108", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking json v0.7.4 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking sha1 v0.1.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking phf_shared v0.7.24 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking redis v0.5.4 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking gitcnt-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ipv4Addr`, `SocketAddrV4`, `TcpListener`, `TcpStream`, `UdpSocket` [INFO] [stdout] --> src/main.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | use std::net::{SocketAddrV4, TcpStream, UdpSocket, TcpListener, Ipv4Addr}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router/mod.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | routes: HashMap>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ipv4Addr`, `SocketAddrV4`, `TcpListener`, `TcpStream`, `UdpSocket` [INFO] [stdout] --> src/main.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | use std::net::{SocketAddrV4, TcpStream, UdpSocket, TcpListener, Ipv4Addr}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router/mod.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | routes: HashMap>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Handler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `path` on type `iron::Url` [INFO] [stdout] --> src/router/mod.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 30 | match self.routes.get(&req.url.path.join("/")) { [INFO] [stdout] | ^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 30 | match self.routes.get(&req.url.path().join("/")) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0615`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gitcnt-server` [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] [stdout] error[E0615]: attempted to take value of method `path` on type `iron::Url` [INFO] [stdout] --> src/router/mod.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 30 | match self.routes.get(&req.url.path.join("/")) { [INFO] [stdout] | ^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 30 | match self.routes.get(&req.url.path().join("/")) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0615`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a013509c5cf8e93bc0f87926ff150aae5d44941d7d38c4ea821a7361dd644108", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a013509c5cf8e93bc0f87926ff150aae5d44941d7d38c4ea821a7361dd644108", kill_on_drop: false }` [INFO] [stdout] a013509c5cf8e93bc0f87926ff150aae5d44941d7d38c4ea821a7361dd644108