[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] testing Codenator81/nickel-demo against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodenator81%2Fnickel-demo" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Codenator81/nickel-demo on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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-10/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" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-10/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" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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" "+1.44.0" "build" "--frozen"` [INFO] [stdout] 531cb5fad3f81339c1bb3e51df7d53ef1befb6bd61d7c83089cc8dcb9b92fb95 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "531cb5fad3f81339c1bb3e51df7d53ef1befb6bd61d7c83089cc8dcb9b92fb95"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling groupable v0.2.0 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling mustache v0.9.0 [INFO] [stderr] Compiling postgres-protocol v0.5.1 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling nickel v0.11.0 [INFO] [stderr] Compiling postgres-types v0.1.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling tokio-postgres v0.5.4 [INFO] [stderr] Compiling postgres v0.17.3 [INFO] [stderr] Compiling 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] | help: a similar name exists in the module (notice the capitalization): `connection` [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 enum `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; 2 warnings emitted [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" "531cb5fad3f81339c1bb3e51df7d53ef1befb6bd61d7c83089cc8dcb9b92fb95"` [INFO] running `"docker" "rm" "-f" "531cb5fad3f81339c1bb3e51df7d53ef1befb6bd61d7c83089cc8dcb9b92fb95"` [INFO] [stdout] 531cb5fad3f81339c1bb3e51df7d53ef1befb6bd61d7c83089cc8dcb9b92fb95