[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 try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodenator81%2Fnickel-demo" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Codenator81/nickel-demo on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "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-4/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" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-4/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" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "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] 2200e7c139eadb9e3a8b701963bfd3111062daf103ac420dd7878f5a6b80905f [INFO] running `"docker" "start" "-a" "2200e7c139eadb9e3a8b701963bfd3111062daf103ac420dd7878f5a6b80905f"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking sha2 v0.7.1 [INFO] [stderr] Checking hmac v0.5.0 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking postgres-protocol v0.3.2 [INFO] [stderr] Checking postgres-shared v0.4.2 [INFO] [stderr] Checking nickel v0.11.0 [INFO] [stderr] Checking postgres v0.15.2 [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: 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[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: could not compile `nickel-demo`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "2200e7c139eadb9e3a8b701963bfd3111062daf103ac420dd7878f5a6b80905f"` [INFO] running `"docker" "rm" "-f" "2200e7c139eadb9e3a8b701963bfd3111062daf103ac420dd7878f5a6b80905f"` [INFO] [stdout] 2200e7c139eadb9e3a8b701963bfd3111062daf103ac420dd7878f5a6b80905f