[INFO] cloning repository https://github.com/Codenator81/nickel-demo
[INFO] running `Command { std: "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", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodenator81%2Fnickel-demo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 01c22801a2d229c7f8b03e1b0ce5b2b9a8fb2e0a
[INFO] testing Codenator81/nickel-demo against beta-2020-08-29 for beta-1.47-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodenator81%2Fnickel-demo" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[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 beta-2020-08-29
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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 `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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] [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" "+beta-2020-08-29" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "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" "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" "rustops/crates-build-env@sha256:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 446961bcb51747ba3667b9ea25db7f3ca99efa48e630b229426b348a52ea975b
[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" "446961bcb51747ba3667b9ea25db7f3ca99efa48e630b229426b348a52ea975b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "446961bcb51747ba3667b9ea25db7f3ca99efa48e630b229426b348a52ea975b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "446961bcb51747ba3667b9ea25db7f3ca99efa48e630b229426b348a52ea975b", kill_on_drop: false }`
[INFO] [stdout] 446961bcb51747ba3667b9ea25db7f3ca99efa48e630b229426b348a52ea975b
[INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8378c8bb0329b56741e3123f7b19b5913bf4239062fc9c7572d63dc44a47af4f
[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" "8378c8bb0329b56741e3123f7b19b5913bf4239062fc9c7572d63dc44a47af4f", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.39
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]    Compiling proc-macro-nested v0.1.6
[INFO] [stderr]    Compiling subtle v2.2.3
[INFO] [stderr]    Compiling once_cell v1.4.1
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling traitobject v0.1.0
[INFO] [stderr]    Compiling cpuid-bool v0.1.2
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling md5 v0.7.0
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling siphasher v0.3.3
[INFO] [stderr]    Compiling typeable v0.1.2
[INFO] [stderr]    Compiling itoa v0.4.6
[INFO] [stderr]    Compiling groupable v0.2.0
[INFO] [stderr]    Compiling modifier v0.1.0
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling futures-channel v0.3.5
[INFO] [stderr]    Compiling lock_api v0.4.1
[INFO] [stderr]    Compiling unsafe-any v0.4.2
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling futures-task v0.3.5
[INFO] [stderr]    Compiling typemap v0.3.3
[INFO] [stderr]    Compiling phf_shared v0.8.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.0
[INFO] [stderr]    Compiling base64 v0.9.3
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling mime v0.2.6
[INFO] [stderr]    Compiling mustache v0.9.0
[INFO] [stderr]    Compiling phf v0.8.0
[INFO] [stderr]    Compiling plugin v0.2.6
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]    Compiling hyper v0.10.16
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling sha2 v0.9.1
[INFO] [stderr]    Compiling hmac v0.8.1
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling postgres-protocol v0.5.2
[INFO] [stderr]    Compiling tokio v0.2.22
[INFO] [stderr]    Compiling postgres-types v0.1.2
[INFO] [stderr]    Compiling nickel v0.11.0
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling futures-macro v0.3.5
[INFO] [stderr]    Compiling async-trait v0.1.40
[INFO] [stderr]    Compiling pin-project v0.4.23
[INFO] [stderr]    Compiling futures-util v0.3.5
[INFO] [stderr]    Compiling futures-executor v0.3.5
[INFO] [stderr]    Compiling futures v0.3.5
[INFO] [stderr]    Compiling tokio-postgres v0.5.5
[INFO] [stderr]    Compiling postgres v0.17.5
[INFO] [stderr]    Compiling nickel-demo v0.0.6 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `postgres::Connection`, `postgres::SslMode`
[INFO] [stdout]  --> src/main.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | use postgres::{Connection, SslMode};
[INFO] [stdout]   |                ^^^^^^^^^^  ^^^^^^^ no `SslMode` in the root
[INFO] [stdout]   |                |
[INFO] [stdout]   |                no `Connection` in the root
[INFO] [stdout]   |                help: a similar name exists in the module (notice the capitalization): `connection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MediaType`
[INFO] [stdout]  --> src/main.rs:7:71
[INFO] [stdout]   |
[INFO] [stdout] 7 | use nickel::{Nickel, Request, Response, HttpRouter, MiddlewareResult, MediaType};
[INFO] [stdout]   |                                                                       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `trim` found for enum `std::option::Option<&str>` in the current scope
[INFO] [stdout]   --> src/main.rs:43:47
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let id: Option<i32> = req.param("blogid").trim().parse::<i32>().ok();
[INFO] [stdout]    |                                               ^^^^ method not found in `std::option::Option<&str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nickel-demo`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "8378c8bb0329b56741e3123f7b19b5913bf4239062fc9c7572d63dc44a47af4f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8378c8bb0329b56741e3123f7b19b5913bf4239062fc9c7572d63dc44a47af4f", kill_on_drop: false }`
[INFO] [stdout] 8378c8bb0329b56741e3123f7b19b5913bf4239062fc9c7572d63dc44a47af4f
