[INFO] cloning repository https://github.com/Codenator81/nickel-demo [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Codenator81/nickel-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodenator81%2Fnickel-demo"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodenator81%2Fnickel-demo'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 01c22801a2d229c7f8b03e1b0ce5b2b9a8fb2e0a [INFO] checking Codenator81/nickel-demo against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodenator81%2Fnickel-demo" "/workspace/builds/worker-12/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Codenator81/nickel-demo on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/Codenator81/nickel-demo [INFO] finished tweaking git repo https://github.com/Codenator81/nickel-demo [INFO] tweaked toml for git repo https://github.com/Codenator81/nickel-demo written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/Codenator81/nickel-demo already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [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] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 72098c5ada7e4468651333f515d6df6aecbee9fda0d12f6b9eba5713f819c543 [INFO] running `"docker" "start" "-a" "72098c5ada7e4468651333f515d6df6aecbee9fda0d12f6b9eba5713f819c543"` [INFO] [stderr] Checking mustache v0.9.0 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking postgres-shared v0.4.2 [INFO] [stderr] Checking postgres v0.15.2 [INFO] [stderr] Checking nickel v0.11.0 [INFO] [stderr] Checking nickel-demo v0.0.6 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `postgres::SslMode` [INFO] [stderr] --> src/main.rs:5:28 [INFO] [stderr] | [INFO] [stderr] 5 | use postgres::{Connection, SslMode}; [INFO] [stderr] | ^^^^^^^ no `SslMode` in the root [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `MediaType` [INFO] [stderr] --> src/main.rs:7:71 [INFO] [stderr] | [INFO] [stderr] 7 | use nickel::{Nickel, Request, Response, HttpRouter, MiddlewareResult, MediaType}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `postgres::SslMode` [INFO] [stderr] --> src/main.rs:5:28 [INFO] [stderr] | [INFO] [stderr] 5 | use postgres::{Connection, SslMode}; [INFO] [stderr] | ^^^^^^^ no `SslMode` in the root [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `MediaType` [INFO] [stderr] --> src/main.rs:7:71 [INFO] [stderr] | [INFO] [stderr] 7 | use nickel::{Nickel, Request, Response, HttpRouter, MiddlewareResult, MediaType}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `trim` found for type `std::option::Option<&str>` in the current scope [INFO] [stderr] --> src/main.rs:43:47 [INFO] [stderr] | [INFO] [stderr] 43 | let id: Option = req.param("blogid").trim().parse::().ok(); [INFO] [stderr] | ^^^^ method not found in `std::option::Option<&str>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `trim` found for type `std::option::Option<&str>` in the current scope [INFO] [stderr] --> src/main.rs:43:47 [INFO] [stderr] | [INFO] [stderr] 43 | let id: Option = req.param("blogid").trim().parse::().ok(); [INFO] [stderr] | ^^^^ method not found in `std::option::Option<&str>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `nickel-demo`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `nickel-demo`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "72098c5ada7e4468651333f515d6df6aecbee9fda0d12f6b9eba5713f819c543"` [INFO] running `"docker" "rm" "-f" "72098c5ada7e4468651333f515d6df6aecbee9fda0d12f6b9eba5713f819c543"` [INFO] [stdout] 72098c5ada7e4468651333f515d6df6aecbee9fda0d12f6b9eba5713f819c543