[INFO] cloning repository https://github.com/sabinote/nanohat-oled-rss-reader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sabinote/nanohat-oled-rss-reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsabinote%2Fnanohat-oled-rss-reader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsabinote%2Fnanohat-oled-rss-reader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e1000f65b257e94d1c0e2283b48d6d12e1866ad2 [INFO] testing sabinote/nanohat-oled-rss-reader against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsabinote%2Fnanohat-oled-rss-reader" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sabinote/nanohat-oled-rss-reader on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sabinote/nanohat-oled-rss-reader [INFO] finished tweaking git repo https://github.com/sabinote/nanohat-oled-rss-reader [INFO] tweaked toml for git repo https://github.com/sabinote/nanohat-oled-rss-reader written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/sabinote/nanohat-oled-rss-reader already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3d9377f6b4d0cb1db11b6f375619600cf23713d5ae8d5a7536aeca882568033 [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" "f3d9377f6b4d0cb1db11b6f375619600cf23713d5ae8d5a7536aeca882568033", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3d9377f6b4d0cb1db11b6f375619600cf23713d5ae8d5a7536aeca882568033", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3d9377f6b4d0cb1db11b6f375619600cf23713d5ae8d5a7536aeca882568033", kill_on_drop: false }` [INFO] [stdout] f3d9377f6b4d0cb1db11b6f375619600cf23713d5ae8d5a7536aeca882568033 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0002bc34e06067339006140f4d02f049af4db77b29e413f1ebbc39bff8cad989 [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" "0002bc34e06067339006140f4d02f049af4db77b29e413f1ebbc39bff8cad989", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling rulinalg v0.4.2 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling i2cdev v0.4.4 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling imageproc v0.22.0 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling gpio-cdev v0.4.0 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde-xml-rs v0.5.0 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling nanohat-oled-rss-reader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DynamicImage` [INFO] [stdout] --> src/nanohat/oled.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{DynamicImage, GenericImageView, GrayImage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DynamicImage`, `GenericImageView`, `GenericImage` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use image::{DynamicImage, GenericImage, GenericImageView, GrayImage, Luma}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Range` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> src/nanohat/oled.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{DynamicImage, GenericImageView, GrayImage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset_draw_range` [INFO] [stdout] --> src/nanohat/oled.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn reset_draw_range(&mut self) -> Result<(), T::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear` [INFO] [stdout] --> src/nanohat/oled.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn clear(&mut self, x: u8, y: u8, w: u8, h: u8) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 27s [INFO] running `Command { std: "docker" "inspect" "0002bc34e06067339006140f4d02f049af4db77b29e413f1ebbc39bff8cad989", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0002bc34e06067339006140f4d02f049af4db77b29e413f1ebbc39bff8cad989", kill_on_drop: false }` [INFO] [stdout] 0002bc34e06067339006140f4d02f049af4db77b29e413f1ebbc39bff8cad989 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--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] 797237c92dece02ffd4ddec1fd5bf12aee2c2bf9c95c13c483be8080a7dbe79c [INFO] running `Command { std: "docker" "start" "-a" "797237c92dece02ffd4ddec1fd5bf12aee2c2bf9c95c13c483be8080a7dbe79c", kill_on_drop: false }` [INFO] [stderr] Compiling nanohat-oled-rss-reader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DynamicImage` [INFO] [stdout] --> src/nanohat/oled.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{DynamicImage, GenericImageView, GrayImage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DynamicImage`, `GenericImageView`, `GenericImage` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use image::{DynamicImage, GenericImage, GenericImageView, GrayImage, Luma}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Range` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> src/nanohat/oled.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{DynamicImage, GenericImageView, GrayImage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/nanohat/button.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let button = Button::open(""); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `item.description` which is behind a shared reference [INFO] [stdout] --> src/rss.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | assert_eq!(item.description.unwrap(), "アイテムの説明です"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ move occurs because `item.description` has type `std::option::Option`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider borrowing the `Option`'s content [INFO] [stdout] | [INFO] [stdout] 78 | assert_eq!(item.description.as_ref().unwrap(), "アイテムの説明です"); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `item.comments` which is behind a shared reference [INFO] [stdout] --> src/rss.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | assert_eq!(item.comments.unwrap(), "アイテムへのコメントです"); [INFO] [stdout] | ^^^^^^^^^^^^^ move occurs because `item.comments` has type `std::option::Option`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider borrowing the `Option`'s content [INFO] [stdout] | [INFO] [stdout] 79 | assert_eq!(item.comments.as_ref().unwrap(), "アイテムへのコメントです"); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nanohat-oled-rss-reader` due to 3 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "797237c92dece02ffd4ddec1fd5bf12aee2c2bf9c95c13c483be8080a7dbe79c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "797237c92dece02ffd4ddec1fd5bf12aee2c2bf9c95c13c483be8080a7dbe79c", kill_on_drop: false }` [INFO] [stdout] 797237c92dece02ffd4ddec1fd5bf12aee2c2bf9c95c13c483be8080a7dbe79c