[INFO] updating cached repository https://github.com/trailimage/static-from-exif [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] [stderr] From https://github.com/trailimage/static-from-exif [INFO] [stderr] 2e003ed..c0ed2c1 master -> master [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c0ed2c10ab9b90bdf44320cf5c64f724cac69f2e [INFO] checking trailimage/static-from-exif against master#b1f395de642e8be7bcbbd2bd8aaadab715851f49 for pr-69410 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrailimage%2Fstatic-from-exif" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/trailimage/static-from-exif on toolchain b1f395de642e8be7bcbbd2bd8aaadab715851f49 [INFO] running `"/workspace/cargo-home/bin/cargo" "+b1f395de642e8be7bcbbd2bd8aaadab715851f49" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/trailimage/static-from-exif [INFO] finished tweaking git repo https://github.com/trailimage/static-from-exif [INFO] tweaked toml for git repo https://github.com/trailimage/static-from-exif written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/trailimage/static-from-exif already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+b1f395de642e8be7bcbbd2bd8aaadab715851f49" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+b1f395de642e8be7bcbbd2bd8aaadab715851f49" "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] f3364855a9e17f475c22da67239c22ccd294268caf8c778e812a0ba5711059ed [INFO] running `"docker" "start" "-a" "f3364855a9e17f475c22da67239c22ccd294268caf8c778e812a0ba5711059ed"` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling syn v1.0.15 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling bindgen v0.50.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling annotate-snippets v0.6.1 [INFO] [stderr] Compiling ansi_colours v1.0.1 [INFO] [stderr] Compiling line-wrap v0.1.1 [INFO] [stderr] Compiling hashbrown v0.7.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling content_inspector v0.2.4 [INFO] [stderr] Compiling directories v1.0.2 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Checking regex v1.3.4 [INFO] [stderr] Compiling backtrace v0.3.44 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling tendril v0.4.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling console v0.7.7 [INFO] [stderr] Compiling toolchain_find v0.1.4 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling derive_builder_core v0.5.0 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling v_eval v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling v_escape_derive v0.5.6 [INFO] [stderr] Compiling derive_more v0.99.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling yarte_html v0.7.0 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling v_escape v0.7.4 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Compiling time-macros-impl v0.1.0 [INFO] [stderr] Compiling v_htmlescape v0.4.5 [INFO] [stderr] Compiling onig_sys v69.2.0 [INFO] [stderr] Checking const-random v0.1.8 [INFO] [stderr] Checking ahash v0.3.2 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking time v0.2.7 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling string_cache v0.8.0 [INFO] [stderr] Compiling plist v0.4.2 [INFO] [stderr] Compiling bincode v1.2.1 [INFO] [stderr] Compiling onig v5.0.0 [INFO] [stderr] Compiling syntect v3.3.0 [INFO] [stderr] Checking yarte_helpers v0.7.0 [INFO] [stderr] Compiling markup5ever v0.10.0 [INFO] [stderr] Compiling yarte_parser v0.7.0 [INFO] [stderr] Compiling prettyprint v0.7.1 [INFO] [stderr] Compiling yarte_hir v0.7.0 [INFO] [stderr] Compiling yarte_dom v0.7.0 [INFO] [stderr] Compiling yarte_codegen v0.7.0 [INFO] [stderr] Compiling yarte_derive v0.7.0 [INFO] [stderr] Checking yarte v0.7.0 [INFO] [stderr] Checking static-from-exif v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `regex::Regex` [INFO] [stderr] --> src/config.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use regex::Regex; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `regex::Regex` [INFO] [stderr] --> src/config.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use regex::Regex; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::date::Date::today': This method returns a value that assumes an offset of UTC. [INFO] [stderr] --> src/post.rs:66:26 [INFO] [stderr] | [INFO] [stderr] 66 | happened_on: Date::today(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::date::Date::today': This method returns a value that assumes an offset of UTC. [INFO] [stderr] --> src/post.rs:67:25 [INFO] [stderr] | [INFO] [stderr] 67 | created_on: Date::today(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::date::Date::today': This method returns a value that assumes an offset of UTC. [INFO] [stderr] --> src/post.rs:68:25 [INFO] [stderr] | [INFO] [stderr] 68 | updated_on: Date::today(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `re` [INFO] [stderr] --> src/main.rs:110:31 [INFO] [stderr] | [INFO] [stderr] 110 | fn load_post<'a>(path: &Path, re: &Match) -> Post<'a> { [INFO] [stderr] | ^^ help: consider prefixing with an underscore: `_re` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `len` [INFO] [stderr] --> src/blog.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | let len = self.posts.len(); [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_len` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::date::Date::today': This method returns a value that assumes an offset of UTC. [INFO] [stderr] --> src/post.rs:66:26 [INFO] [stderr] | [INFO] [stderr] 66 | happened_on: Date::today(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::date::Date::today': This method returns a value that assumes an offset of UTC. [INFO] [stderr] --> src/post.rs:67:25 [INFO] [stderr] | [INFO] [stderr] 67 | created_on: Date::today(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'time::date::Date::today': This method returns a value that assumes an offset of UTC. [INFO] [stderr] --> src/post.rs:68:25 [INFO] [stderr] | [INFO] [stderr] 68 | updated_on: Date::today(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0502]: cannot borrow `self.posts` as immutable because it is also borrowed as mutable [INFO] [stderr] --> src/blog.rs:27:29 [INFO] [stderr] | [INFO] [stderr] 25 | for (i, p) in self.posts.iter_mut().enumerate() { [INFO] [stderr] | --------------------------------- [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | mutable borrow later used here [INFO] [stderr] 26 | if i > 0 { [INFO] [stderr] 27 | let prev = &self.posts[i - 1]; [INFO] [stderr] | ^^^^^^^^^^ immutable borrow occurs here [INFO] [stderr] [INFO] [stderr] error[E0597]: `self.posts` does not live long enough [INFO] [stderr] --> src/blog.rs:27:29 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn correlate_posts(mut self) { [INFO] [stderr] | -------- has type `blog::Blog<'1>` [INFO] [stderr] ... [INFO] [stderr] 25 | for (i, p) in self.posts.iter_mut().enumerate() { [INFO] [stderr] | --------------------------------- argument requires that `self.posts` is borrowed for `'1` [INFO] [stderr] 26 | if i > 0 { [INFO] [stderr] 27 | let prev = &self.posts[i - 1]; [INFO] [stderr] | ^^^^^^^^^^ borrowed value does not live long enough [INFO] [stderr] ... [INFO] [stderr] 31 | } [INFO] [stderr] | - `self.posts` dropped here while still borrowed [INFO] [stderr] [INFO] [stderr] warning: unused variable: `re` [INFO] [stderr] --> src/main.rs:110:31 [INFO] [stderr] | [INFO] [stderr] 110 | fn load_post<'a>(path: &Path, re: &Match) -> Post<'a> { [INFO] [stderr] | ^^ help: consider prefixing with an underscore: `_re` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `len` [INFO] [stderr] --> src/blog.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | let len = self.posts.len(); [INFO] [stderr] | ^^^ help: consider prefixing with an underscore: `_len` [INFO] [stderr] [INFO] [stderr] error[E0502]: cannot borrow `self.posts` as immutable because it is also borrowed as mutable [INFO] [stderr] --> src/blog.rs:27:29 [INFO] [stderr] | [INFO] [stderr] 25 | for (i, p) in self.posts.iter_mut().enumerate() { [INFO] [stderr] | --------------------------------- [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | mutable borrow later used here [INFO] [stderr] 26 | if i > 0 { [INFO] [stderr] 27 | let prev = &self.posts[i - 1]; [INFO] [stderr] | ^^^^^^^^^^ immutable borrow occurs here [INFO] [stderr] [INFO] [stderr] error[E0597]: `self.posts` does not live long enough [INFO] [stderr] --> src/blog.rs:27:29 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn correlate_posts(mut self) { [INFO] [stderr] | -------- has type `blog::Blog<'1>` [INFO] [stderr] ... [INFO] [stderr] 25 | for (i, p) in self.posts.iter_mut().enumerate() { [INFO] [stderr] | --------------------------------- argument requires that `self.posts` is borrowed for `'1` [INFO] [stderr] 26 | if i > 0 { [INFO] [stderr] 27 | let prev = &self.posts[i - 1]; [INFO] [stderr] | ^^^^^^^^^^ borrowed value does not live long enough [INFO] [stderr] ... [INFO] [stderr] 31 | } [INFO] [stderr] | - `self.posts` dropped here while still borrowed [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0502, E0597. [INFO] [stderr] For more information about an error, try `rustc --explain E0502`. [INFO] [stderr] error: could not compile `static-from-exif`. [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: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0502, E0597. [INFO] [stderr] For more information about an error, try `rustc --explain E0502`. [INFO] [stderr] error: could not compile `static-from-exif`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "f3364855a9e17f475c22da67239c22ccd294268caf8c778e812a0ba5711059ed"` [INFO] running `"docker" "rm" "-f" "f3364855a9e17f475c22da67239c22ccd294268caf8c778e812a0ba5711059ed"` [INFO] [stdout] f3364855a9e17f475c22da67239c22ccd294268caf8c778e812a0ba5711059ed