[INFO] cloning repository https://github.com/MalauD/Pixure [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MalauD/Pixure" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalauD%2FPixure", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalauD%2FPixure'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db05ad91526604afd0418023dd71c5b901c9c074 [INFO] testing MalauD/Pixure against 1.54.0 for beta-1.55-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalauD%2FPixure" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MalauD/Pixure on toolchain 1.54.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MalauD/Pixure [INFO] finished tweaking git repo https://github.com/MalauD/Pixure [INFO] tweaked toml for git repo https://github.com/MalauD/Pixure written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/MalauD/Pixure already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c4ada92f6151a81174912a8448aa8a65759e92c987fc478bcdf2778a07ab489 [INFO] running `Command { std: "docker" "start" "-a" "5c4ada92f6151a81174912a8448aa8a65759e92c987fc478bcdf2778a07ab489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c4ada92f6151a81174912a8448aa8a65759e92c987fc478bcdf2778a07ab489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c4ada92f6151a81174912a8448aa8a65759e92c987fc478bcdf2778a07ab489", kill_on_drop: false }` [INFO] [stdout] 5c4ada92f6151a81174912a8448aa8a65759e92c987fc478bcdf2778a07ab489 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c3b16efbaeffd9f71d85aa772f105553089fdea17d98756e43d6edd5dcdc58a [INFO] running `Command { std: "docker" "start" "-a" "8c3b16efbaeffd9f71d85aa772f105553089fdea17d98756e43d6edd5dcdc58a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling futures-task v0.3.14 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling httparse v1.3.6 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling local-waker v0.1.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.0 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Compiling static_init_macro v1.0.0 [INFO] [stderr] Compiling static_init v1.0.0 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling http-body v0.4.1 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling os_info v3.0.2 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling actix-utils v3.0.0-beta.4 [INFO] [stderr] Compiling sanitize-filename v0.3.0 [INFO] [stderr] Compiling twoway v0.2.1 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling actix-service v2.0.0-beta.5 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling pbkdf2 v0.7.5 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.0 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling darling_core v0.12.3 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling actix-macros v0.2.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling derive_more v0.99.13 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-beta.2 [INFO] [stderr] Compiling async-trait v0.1.48 [INFO] [stderr] Compiling darling_macro v0.12.3 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling typed-builder v0.4.1 [INFO] [stderr] Compiling darling v0.12.3 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling serde_with_macros v1.4.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling pin-project v1.0.6 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.14 [INFO] [stderr] Compiling cached_proc_macro v0.6.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling futures v0.3.14 [INFO] [stderr] Compiling tokio-util v0.6.5 [INFO] [stderr] Compiling actix-rt v2.2.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling trust-dns-proto v0.20.1 [INFO] [stderr] Compiling cached v0.23.0 [INFO] [stderr] Compiling actix-server v2.0.0-beta.4 [INFO] [stderr] Compiling h2 v0.3.2 [INFO] [stderr] Compiling actix-codec v0.4.0-beta.1 [INFO] [stderr] Compiling actix-tls v3.0.0-beta.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling serde_with v1.8.0 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling bson v1.2.2 [INFO] [stderr] Compiling trust-dns-resolver v0.20.1 [INFO] [stderr] Compiling actix-http v3.0.0-beta.5 [INFO] [stderr] Compiling hyper v0.14.5 [INFO] [stderr] Compiling actix-web v4.0.0-beta.5 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.2 [INFO] [stderr] Compiling actix-session v0.5.0-beta.1 [INFO] [stderr] Compiling actix-multipart v0.4.0-beta.4 [INFO] [stderr] Compiling actix-identity v0.4.0-beta.1 [INFO] [stderr] Compiling mongodb v2.0.0-alpha.1 [INFO] [stderr] Compiling pixure v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `fid` [INFO] [stdout] --> src/models/resource.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_size(fid: i32) -> Dimension { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_resource` [INFO] [stdout] --> src/db/db_setup.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | pub async fn update_resource(&self, res: &Resource) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/models/resource.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | width: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/models/resource.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | height: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_size` [INFO] [stdout] --> src/models/resource.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_size(fid: i32) -> Dimension { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Reading` [INFO] [stdout] --> src/models/resource.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | Reading, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Writing` [INFO] [stdout] --> src/models/resource.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | Writing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_id` [INFO] [stdout] --> src/models/resource.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn get_id(&self) -> Option<&ObjectId> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_storage` [INFO] [stdout] --> src/models/resource.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn get_storage(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_public_access` [INFO] [stdout] --> src/models/resource.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn update_public_access(&mut self, r_public: Option, w_public: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 00s [INFO] running `Command { std: "docker" "inspect" "8c3b16efbaeffd9f71d85aa772f105553089fdea17d98756e43d6edd5dcdc58a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c3b16efbaeffd9f71d85aa772f105553089fdea17d98756e43d6edd5dcdc58a", kill_on_drop: false }` [INFO] [stdout] 8c3b16efbaeffd9f71d85aa772f105553089fdea17d98756e43d6edd5dcdc58a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c218849621fe86ee8fdd226f0b5a6be58eeb9b02e88090925921596a43f559e [INFO] running `Command { std: "docker" "start" "-a" "1c218849621fe86ee8fdd226f0b5a6be58eeb9b02e88090925921596a43f559e", kill_on_drop: false }` [INFO] [stderr] Compiling pixure v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `fid` [INFO] [stdout] --> src/models/resource.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_size(fid: i32) -> Dimension { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_resource` [INFO] [stdout] --> src/db/db_setup.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | pub async fn update_resource(&self, res: &Resource) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/models/resource.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | width: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/models/resource.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | height: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_size` [INFO] [stdout] --> src/models/resource.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_size(fid: i32) -> Dimension { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Reading` [INFO] [stdout] --> src/models/resource.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | Reading, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Writing` [INFO] [stdout] --> src/models/resource.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | Writing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_id` [INFO] [stdout] --> src/models/resource.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn get_id(&self) -> Option<&ObjectId> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_storage` [INFO] [stdout] --> src/models/resource.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn get_storage(&self) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_public_access` [INFO] [stdout] --> src/models/resource.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn update_public_access(&mut self, r_public: Option, w_public: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.67s [INFO] running `Command { std: "docker" "inspect" "1c218849621fe86ee8fdd226f0b5a6be58eeb9b02e88090925921596a43f559e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c218849621fe86ee8fdd226f0b5a6be58eeb9b02e88090925921596a43f559e", kill_on_drop: false }` [INFO] [stdout] 1c218849621fe86ee8fdd226f0b5a6be58eeb9b02e88090925921596a43f559e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+1.54.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8490bb8696ed4e788a396b94f9f0d5cbe328ebf7958d78c07bfc0cf222926d80 [INFO] running `Command { std: "docker" "start" "-a" "8490bb8696ed4e788a396b94f9f0d5cbe328ebf7958d78c07bfc0cf222926d80", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `fid` [INFO] [stderr] --> src/models/resource.rs:19:21 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn get_size(fid: i32) -> Dimension { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_fid` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `update_resource` [INFO] [stderr] --> src/db/db_setup.rs:60:18 [INFO] [stderr] | [INFO] [stderr] 60 | pub async fn update_resource(&self, res: &Resource) -> Result<()> [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `width` [INFO] [stderr] --> src/models/resource.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | width: i32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `height` [INFO] [stderr] --> src/models/resource.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | height: i32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_size` [INFO] [stderr] --> src/models/resource.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn get_size(fid: i32) -> Dimension { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Reading` [INFO] [stderr] --> src/models/resource.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | Reading, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Writing` [INFO] [stderr] --> src/models/resource.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | Writing, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_id` [INFO] [stderr] --> src/models/resource.rs:107:12 [INFO] [stderr] | [INFO] [stderr] 107 | pub fn get_id(&self) -> Option<&ObjectId> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_storage` [INFO] [stderr] --> src/models/resource.rs:158:12 [INFO] [stderr] | [INFO] [stderr] 158 | pub fn get_storage(&self) -> &Option { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `update_public_access` [INFO] [stderr] --> src/models/resource.rs:163:12 [INFO] [stderr] | [INFO] [stderr] 163 | pub fn update_public_access(&mut self, r_public: Option, w_public: Option) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 10 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pixure-1ce8b58dce9d8fc2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8490bb8696ed4e788a396b94f9f0d5cbe328ebf7958d78c07bfc0cf222926d80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8490bb8696ed4e788a396b94f9f0d5cbe328ebf7958d78c07bfc0cf222926d80", kill_on_drop: false }` [INFO] [stdout] 8490bb8696ed4e788a396b94f9f0d5cbe328ebf7958d78c07bfc0cf222926d80