[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 try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodenator81%2Fnickel-demo" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Codenator81/nickel-demo on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "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-6/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" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-6/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" "+41997647ba6a77908f6ef64401414feb00bccf16" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] babf7f5e5ce469a4806b672199a2ff36e1fed21ba21a77113379ec7f1864fcea [INFO] running `"docker" "start" "-a" "babf7f5e5ce469a4806b672199a2ff36e1fed21ba21a77113379ec7f1864fcea"` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling siphasher v0.3.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling groupable v0.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio v0.2.18 [INFO] [stderr] Compiling postgres-protocol v0.5.1 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling mustache v0.9.0 [INFO] [stderr] Compiling postgres-types v0.1.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling nickel v0.11.0 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling async-trait v0.1.30 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling tokio-postgres v0.5.3 [INFO] [stderr] Compiling postgres v0.17.2 [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] [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" "babf7f5e5ce469a4806b672199a2ff36e1fed21ba21a77113379ec7f1864fcea"` [INFO] running `"docker" "rm" "-f" "babf7f5e5ce469a4806b672199a2ff36e1fed21ba21a77113379ec7f1864fcea"` [INFO] [stdout] babf7f5e5ce469a4806b672199a2ff36e1fed21ba21a77113379ec7f1864fcea