[INFO] cloning repository https://github.com/maxfridbe/testweb-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxfridbe/testweb-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxfridbe%2Ftestweb-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxfridbe%2Ftestweb-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8c6df72e8dd4fe89b345b93e2ff24bc1870bf0d [INFO] checking maxfridbe/testweb-rs against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxfridbe%2Ftestweb-rs" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxfridbe/testweb-rs on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maxfridbe/testweb-rs [INFO] finished tweaking git repo https://github.com/maxfridbe/testweb-rs [INFO] tweaked toml for git repo https://github.com/maxfridbe/testweb-rs written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/maxfridbe/testweb-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-11/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb8c1522b8dfda46e9f63b8959a98bef160dcebdbfd05d6805a8e86775bf4a2e [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" "cb8c1522b8dfda46e9f63b8959a98bef160dcebdbfd05d6805a8e86775bf4a2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb8c1522b8dfda46e9f63b8959a98bef160dcebdbfd05d6805a8e86775bf4a2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb8c1522b8dfda46e9f63b8959a98bef160dcebdbfd05d6805a8e86775bf4a2e", kill_on_drop: false }` [INFO] [stdout] cb8c1522b8dfda46e9f63b8959a98bef160dcebdbfd05d6805a8e86775bf4a2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=forbid" "-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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 10bb48f89d152dbf2058f866e86ac9c55cdc4141e49065ef6825074ae1fd5812 [INFO] running `Command { std: "docker" "start" "-a" "10bb48f89d152dbf2058f866e86ac9c55cdc4141e49065ef6825074ae1fd5812", kill_on_drop: false }` [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking weezl v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking num-iter v0.1.42 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking mustache v0.9.0 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking nickel v0.11.0 [INFO] [stderr] Checking testweb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `chrono::UTC` [INFO] [stdout] --> src/logger.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{DateTime,UTC}; [INFO] [stdout] | ^^^ no `UTC` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImage` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | GenericImage, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Nickel` [INFO] [stdout] --> src/logger.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use nickel::{Nickel, Request, Response, Middleware, MiddlewareResult}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono::UTC` [INFO] [stdout] --> src/logger.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{DateTime,UTC}; [INFO] [stdout] | ^^^ no `UTC` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImage` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | GenericImage, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Nickel` [INFO] [stdout] --> src/logger.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use nickel::{Nickel, Request, Response, Middleware, MiddlewareResult}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Person: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/main.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | let mut person = request.json_as::().unwrap(); [INFO] [stdout] | ^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `Person` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Person: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/main.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | let mut person = request.json_as::().unwrap(); [INFO] [stdout] | ^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `Person` [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: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `testweb` [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] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "10bb48f89d152dbf2058f866e86ac9c55cdc4141e49065ef6825074ae1fd5812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10bb48f89d152dbf2058f866e86ac9c55cdc4141e49065ef6825074ae1fd5812", kill_on_drop: false }` [INFO] [stdout] 10bb48f89d152dbf2058f866e86ac9c55cdc4141e49065ef6825074ae1fd5812