[INFO] updating cached repository https://github.com/Codenator81/nickel-demo
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 01c22801a2d229c7f8b03e1b0ce5b2b9a8fb2e0a
[INFO] checking Codenator81/nickel-demo against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodenator81%2Fnickel-demo" "/workspace/builds/worker-8/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Codenator81/nickel-demo on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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-8/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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-8/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 `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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] ac7c9a91ec8248030640916556bccf003f09db1be905b2ca699265c95ff7e3ce
[INFO] running `"docker" "start" "-a" "ac7c9a91ec8248030640916556bccf003f09db1be905b2ca699265c95ff7e3ce"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]    Compiling proc-macro-nested v0.1.4
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]     Checking subtle v1.0.0
[INFO] [stderr]    Compiling proc-macro-hack v0.5.15
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]     Checking md5 v0.7.0
[INFO] [stderr]     Checking fallible-iterator v0.2.0
[INFO] [stderr]     Checking base64 v0.12.0
[INFO] [stderr]     Checking siphasher v0.3.2
[INFO] [stderr]     Checking regex-syntax v0.6.17
[INFO] [stderr]     Checking groupable v0.2.0
[INFO] [stderr]     Checking futures-channel v0.3.4
[INFO] [stderr]     Checking stringprep v0.1.2
[INFO] [stderr]     Checking generic-array v0.12.3
[INFO] [stderr]     Checking parking_lot_core v0.7.1
[INFO] [stderr]     Checking mustache v0.9.0
[INFO] [stderr]     Checking serde_json v1.0.51
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]     Checking mio-uds v0.6.7
[INFO] [stderr]     Checking phf_shared v0.8.0
[INFO] [stderr]     Checking parking_lot v0.10.2
[INFO] [stderr]     Checking phf v0.8.0
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking crypto-mac v0.7.0
[INFO] [stderr]     Checking hmac v0.7.1
[INFO] [stderr]     Checking sha2 v0.8.1
[INFO] [stderr]     Checking tokio v0.2.17
[INFO] [stderr]     Checking aho-corasick v0.7.10
[INFO] [stderr]     Checking postgres-protocol v0.5.1
[INFO] [stderr]     Checking postgres-types v0.1.1
[INFO] [stderr]     Checking regex v1.3.6
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking nickel v0.11.0
[INFO] [stderr]    Compiling futures-macro v0.3.4
[INFO] [stderr]    Compiling async-trait v0.1.30
[INFO] [stderr]     Checking futures-util v0.3.4
[INFO] [stderr]     Checking futures-executor v0.3.4
[INFO] [stderr]     Checking futures v0.3.4
[INFO] [stderr]     Checking tokio-postgres v0.5.3
[INFO] [stderr]     Checking postgres v0.17.2
[INFO] [stderr]     Checking nickel-demo v0.0.6 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved imports `postgres::Connection`, `postgres::SslMode`
[INFO] [stderr]  --> src/main.rs:5:16
[INFO] [stderr]   |
[INFO] [stderr] 5 | use postgres::{Connection, SslMode};
[INFO] [stderr]   |                ^^^^^^^^^^  ^^^^^^^ no `SslMode` in the root
[INFO] [stderr]   |                |
[INFO] [stderr]   |                no `Connection` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `postgres::Connection`, `postgres::SslMode`
[INFO] [stderr]  --> src/main.rs:5:16
[INFO] [stderr]   |
[INFO] [stderr] 5 | use postgres::{Connection, SslMode};
[INFO] [stderr]   |                ^^^^^^^^^^  ^^^^^^^ no `SslMode` in the root
[INFO] [stderr]   |                |
[INFO] [stderr]   |                no `Connection` 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 `#[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] 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 enum `std::option::Option<&str>` in the current scope
[INFO] [stderr]   --> src/main.rs:43:47
[INFO] [stderr]    |
[INFO] [stderr] 43 |     let id: Option<i32> = req.param("blogid").trim().parse::<i32>().ok();
[INFO] [stderr]    |                                               ^^^^ method not found in `std::option::Option<&str>`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `trim` found for enum `std::option::Option<&str>` in the current scope
[INFO] [stderr]   --> src/main.rs:43:47
[INFO] [stderr]    |
[INFO] [stderr] 43 |     let id: Option<i32> = req.param("blogid").trim().parse::<i32>().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] 
[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: could not compile `nickel-demo`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "ac7c9a91ec8248030640916556bccf003f09db1be905b2ca699265c95ff7e3ce"`
[INFO] running `"docker" "rm" "-f" "ac7c9a91ec8248030640916556bccf003f09db1be905b2ca699265c95ff7e3ce"`
[INFO] [stdout] ac7c9a91ec8248030640916556bccf003f09db1be905b2ca699265c95ff7e3ce
