[INFO] cloning repository https://github.com/redshiftss/rust-gallery [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/redshiftss/rust-gallery" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredshiftss%2Frust-gallery", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredshiftss%2Frust-gallery'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e5a4ad23b15ae1eab0152e55cff228bf8863408d [INFO] building redshiftss/rust-gallery against master#222c5724ecc922fe67815f428c19f82c129d9386 for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredshiftss%2Frust-gallery" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/redshiftss/rust-gallery on toolchain 222c5724ecc922fe67815f428c19f82c129d9386 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/redshiftss/rust-gallery [INFO] finished tweaking git repo https://github.com/redshiftss/rust-gallery [INFO] tweaked toml for git repo https://github.com/redshiftss/rust-gallery written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/redshiftss/rust-gallery already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aws-sig-auth v0.9.0 [INFO] [stderr] Downloaded xmlparser v0.13.3 [INFO] [stderr] Downloaded urlencoding v1.3.3 [INFO] [stderr] Downloaded aws-endpoint v0.9.0 [INFO] [stderr] Downloaded aws-sdk-sso v0.9.0 [INFO] [stderr] Downloaded aws-region v0.23.5 [INFO] [stderr] Downloaded ordered-multimap v0.3.1 [INFO] [stderr] Downloaded dlv-list v0.2.3 [INFO] [stderr] Downloaded wildmatch v2.1.0 [INFO] [stderr] Downloaded tower-http v0.2.5 [INFO] [stderr] Downloaded attohttpc v0.18.0 [INFO] [stderr] Downloaded aws-smithy-client v0.39.0 [INFO] [stderr] Downloaded bytes-utils v0.1.2 [INFO] [stderr] Downloaded aws-sigv4 v0.9.0 [INFO] [stderr] Downloaded aws-smithy-xml v0.39.0 [INFO] [stderr] Downloaded aws-http v0.9.0 [INFO] [stderr] Downloaded aws-types v0.9.0 [INFO] [stderr] Downloaded aws-sdk-sts v0.9.0 [INFO] [stderr] Downloaded aws-smithy-json v0.39.0 [INFO] [stderr] Downloaded aws-smithy-query v0.39.0 [INFO] [stderr] Downloaded aws-sdk-s3 v0.9.0 [INFO] [stderr] Downloaded aws-config v0.9.0 [INFO] [stderr] Downloaded jpeg-decoder v0.2.4 [INFO] [stderr] Downloaded aws-smithy-http-tower v0.39.0 [INFO] [stderr] Downloaded aws-smithy-async v0.39.0 [INFO] [stderr] Downloaded ct-logs v0.8.0 [INFO] [stderr] Downloaded rust-ini v0.17.0 [INFO] [stderr] Downloaded rust-s3 v0.28.1 [INFO] [stderr] Downloaded aws-smithy-types v0.39.0 [INFO] [stderr] Downloaded quick-xml v0.20.0 [INFO] [stderr] Downloaded aws-smithy-eventstream v0.39.0 [INFO] [stderr] Downloaded aws-smithy-http v0.39.0 [INFO] [stderr] Downloaded axum-core v0.2.1 [INFO] [stderr] Downloaded axum v0.5.1 [INFO] [stderr] Downloaded aws-creds v0.27.1 [INFO] [stderr] Downloaded serde-xml-rs v0.5.1 [INFO] [stderr] Downloaded maybe-async v0.2.6 [INFO] [stderr] Downloaded minidom v0.13.0 [INFO] running `Command { std: "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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--no-deps" "--format-version=1", 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] 7149e521a28781fb19af0a3da738900adb3394b7d4bfca38cc934c731bb649fc [INFO] running `Command { std: "docker" "start" "-a" "7149e521a28781fb19af0a3da738900adb3394b7d4bfca38cc934c731bb649fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7149e521a28781fb19af0a3da738900adb3394b7d4bfca38cc934c731bb649fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7149e521a28781fb19af0a3da738900adb3394b7d4bfca38cc934c731bb649fc", kill_on_drop: false }` [INFO] [stdout] 7149e521a28781fb19af0a3da738900adb3394b7d4bfca38cc934c731bb649fc [INFO] running `Command { std: "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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "build" "--frozen" "--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] 86c51b5287fd19c204f021ade378e4546e4040f3c65631987cab522e957da851 [INFO] running `Command { std: "docker" "start" "-a" "86c51b5287fd19c204f021ade378e4546e4040f3c65631987cab522e957da851", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling num_threads v0.1.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling semver v1.0.7 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling zeroize v1.5.4 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling xmlparser v0.13.3 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling wildmatch v2.1.0 [INFO] [stderr] Compiling urlencoding v1.3.3 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling lebe v0.5.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling ipnet v2.4.0 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling matchit v0.5.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bytemuck v1.9.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling tracing-core v0.1.24 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling bytes-utils v0.1.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quick-xml v0.20.0 [INFO] [stderr] Compiling png v0.17.5 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling aws-region v0.23.5 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling minidom v0.13.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling aws-types v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling aws-smithy-types v0.39.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tiff v0.7.1 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling aws-smithy-eventstream v0.39.0 [INFO] [stderr] Compiling aws-smithy-json v0.39.0 [INFO] [stderr] Compiling aws-smithy-query v0.39.0 [INFO] [stderr] Compiling dlv-list v0.2.3 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling ordered-multimap v0.3.1 [INFO] [stderr] Compiling ct-logs v0.8.0 [INFO] [stderr] Compiling rust-ini v0.17.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling jpeg-decoder v0.2.4 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling maybe-async v0.2.6 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling aws-smithy-xml v0.39.0 [INFO] [stderr] Compiling flume v0.10.12 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling exr v1.4.1 [INFO] [stderr] Compiling axum-core v0.2.1 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling image v0.24.1 [INFO] [stderr] Compiling aws-smithy-async v0.39.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling tower v0.4.12 [INFO] [stderr] Compiling tower-http v0.2.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde-xml-rs v0.5.1 [INFO] [stderr] Compiling attohttpc v0.18.0 [INFO] [stderr] Compiling aws-creds v0.27.1 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling aws-smithy-http v0.39.0 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling axum v0.5.1 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling aws-smithy-http-tower v0.39.0 [INFO] [stderr] Compiling aws-sigv4 v0.9.0 [INFO] [stderr] Compiling aws-smithy-client v0.39.0 [INFO] [stderr] Compiling rust-s3 v0.28.1 [INFO] [stderr] Compiling aws-http v0.9.0 [INFO] [stderr] Compiling aws-endpoint v0.9.0 [INFO] [stderr] Compiling aws-sig-auth v0.9.0 [INFO] [stderr] Compiling aws-sdk-sts v0.9.0 [INFO] [stderr] Compiling aws-sdk-sso v0.9.0 [INFO] [stderr] Compiling aws-sdk-s3 v0.9.0 [INFO] [stderr] Compiling aws-config v0.9.0 [INFO] [stderr] Compiling rust-gallery v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/img.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/img.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `location_supported` [INFO] [stdout] --> src/img.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | location_supported: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/img.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(name : &str) -> Result{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `try_image` [INFO] [stdout] --> src/img.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | pub async fn try_image() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `download_image` [INFO] [stdout] --> src/img.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | pub async fn download_image(access_key: &str, secret_key: &str, bucket_name: &str, key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | / upload_image( [INFO] [stdout] 39 | | &args[1], [INFO] [stdout] 40 | | &args[2], [INFO] [stdout] 41 | | "rustgallery", [INFO] [stdout] 42 | | "image", [INFO] [stdout] 43 | | &img [INFO] [stdout] 44 | | ).await; [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 29s [INFO] running `Command { std: "docker" "inspect" "86c51b5287fd19c204f021ade378e4546e4040f3c65631987cab522e957da851", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86c51b5287fd19c204f021ade378e4546e4040f3c65631987cab522e957da851", kill_on_drop: false }` [INFO] [stdout] 86c51b5287fd19c204f021ade378e4546e4040f3c65631987cab522e957da851 [INFO] running `Command { std: "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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3cbcb7048245cd1b61120fdf3038b9ff83b9ac8a3a9ef2fb422a614e64e2ff5 [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" "f3cbcb7048245cd1b61120fdf3038b9ff83b9ac8a3a9ef2fb422a614e64e2ff5", 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rust-gallery v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/img.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/img.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `location_supported` [INFO] [stdout] --> src/img.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | location_supported: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/img.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(name : &str) -> Result{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `try_image` [INFO] [stdout] --> src/img.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | pub async fn try_image() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `download_image` [INFO] [stdout] --> src/img.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | pub async fn download_image(access_key: &str, secret_key: &str, bucket_name: &str, key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | / upload_image( [INFO] [stdout] 39 | | &args[1], [INFO] [stdout] 40 | | &args[2], [INFO] [stdout] 41 | | "rustgallery", [INFO] [stdout] 42 | | "image", [INFO] [stdout] 43 | | &img [INFO] [stdout] 44 | | ).await; [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4m 42s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_gallery-30d092dc31ae066e) [INFO] running `Command { std: "docker" "inspect" "f3cbcb7048245cd1b61120fdf3038b9ff83b9ac8a3a9ef2fb422a614e64e2ff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3cbcb7048245cd1b61120fdf3038b9ff83b9ac8a3a9ef2fb422a614e64e2ff5", kill_on_drop: false }` [INFO] [stdout] f3cbcb7048245cd1b61120fdf3038b9ff83b9ac8a3a9ef2fb422a614e64e2ff5