[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] testing redshiftss/rust-gallery against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredshiftss%2Frust-gallery" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[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-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/redshiftss/rust-gallery on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/redshiftss/rust-gallery already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded aws-region v0.23.5
[INFO] [stderr]   Downloaded tracing v0.1.33
[INFO] [stderr]   Downloaded aws-smithy-query v0.39.0
[INFO] [stderr]   Downloaded minidom v0.13.0
[INFO] [stderr]   Downloaded aws-smithy-xml v0.39.0
[INFO] [stderr]   Downloaded anyhow v1.0.56
[INFO] [stderr]   Downloaded urlencoding v1.3.3
[INFO] [stderr]   Downloaded bytes-utils v0.1.2
[INFO] [stderr]   Downloaded aws-http v0.9.0
[INFO] [stderr]   Downloaded aws-smithy-http v0.39.0
[INFO] [stderr]   Downloaded aws-sdk-sso v0.9.0
[INFO] [stderr]   Downloaded tower-http v0.2.5
[INFO] [stderr]   Downloaded aws-sdk-sts v0.9.0
[INFO] [stderr]   Downloaded aws-config v0.9.0
[INFO] [stderr]   Downloaded axum v0.5.1
[INFO] [stderr]   Downloaded deflate v1.0.0
[INFO] [stderr]   Downloaded png v0.17.5
[INFO] [stderr]   Downloaded attohttpc v0.18.0
[INFO] [stderr]   Downloaded quick-xml v0.20.0
[INFO] [stderr]   Downloaded exr v1.4.1
[INFO] [stderr]   Downloaded image v0.24.1
[INFO] [stderr]   Downloaded aws-sigv4 v0.9.0
[INFO] [stderr]   Downloaded aws-smithy-async v0.39.0
[INFO] [stderr]   Downloaded aws-smithy-eventstream v0.39.0
[INFO] [stderr]   Downloaded aws-smithy-http-tower v0.39.0
[INFO] [stderr]   Downloaded aws-smithy-client v0.39.0
[INFO] [stderr]   Downloaded libc v0.2.122
[INFO] [stderr]   Downloaded dlv-list v0.2.3
[INFO] [stderr]   Downloaded aws-smithy-types v0.39.0
[INFO] [stderr]   Downloaded zeroize v1.5.4
[INFO] [stderr]   Downloaded axum-core v0.2.1
[INFO] [stderr]   Downloaded gif v0.11.3
[INFO] [stderr]   Downloaded crossbeam-epoch v0.9.8
[INFO] [stderr]   Downloaded aws-sdk-s3 v0.9.0
[INFO] [stderr]   Downloaded wildmatch v2.1.0
[INFO] [stderr]   Downloaded ordered-multimap v0.3.1
[INFO] [stderr]   Downloaded rust-ini v0.17.0
[INFO] [stderr]   Downloaded aws-creds v0.27.1
[INFO] [stderr]   Downloaded aws-smithy-json v0.39.0
[INFO] [stderr]   Downloaded aws-endpoint v0.9.0
[INFO] [stderr]   Downloaded jpeg-decoder v0.2.4
[INFO] [stderr]   Downloaded aws-sig-auth v0.9.0
[INFO] [stderr]   Downloaded xmlparser v0.13.3
[INFO] [stderr]   Downloaded num_threads v0.1.5
[INFO] [stderr]   Downloaded aws-types v0.9.0
[INFO] [stderr]   Downloaded lebe v0.5.1
[INFO] [stderr]   Downloaded tracing-core v0.1.24
[INFO] [stderr]   Downloaded ipnet v2.4.0
[INFO] [stderr]   Downloaded tiff v0.7.1
[INFO] [stderr]   Downloaded rust-s3 v0.28.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 887dd40da5d6b90fe1da7a1337fae78c59a129a0d9f84d5ae53c448d288e5746
[INFO] running `Command { std: "docker" "start" "-a" "887dd40da5d6b90fe1da7a1337fae78c59a129a0d9f84d5ae53c448d288e5746", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "887dd40da5d6b90fe1da7a1337fae78c59a129a0d9f84d5ae53c448d288e5746", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "887dd40da5d6b90fe1da7a1337fae78c59a129a0d9f84d5ae53c448d288e5746", kill_on_drop: false }`
[INFO] [stdout] 887dd40da5d6b90fe1da7a1337fae78c59a129a0d9f84d5ae53c448d288e5746
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 98ad550d700312717314dd6b2fd32d0a6a1025e14c45661686edbb205a857617
[INFO] running `Command { std: "docker" "start" "-a" "98ad550d700312717314dd6b2fd32d0a6a1025e14c45661686edbb205a857617", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.122
[INFO] [stderr]    Compiling syn v1.0.91
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling tracing-core v0.1.24
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling http-body v0.4.4
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling httparse v1.7.0
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling num_threads v0.1.5
[INFO] [stderr]    Compiling semver v1.0.7
[INFO] [stderr]    Compiling tower-layer v0.3.1
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]    Compiling bytes-utils v0.1.2
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling zeroize v1.5.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.8
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling spin v0.9.2
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling ahash v0.4.7
[INFO] [stderr]    Compiling anyhow v1.0.56
[INFO] [stderr]    Compiling crossbeam-channel v0.5.4
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling regex v1.5.5
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling xmlparser v0.13.3
[INFO] [stderr]    Compiling crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling deflate v1.0.0
[INFO] [stderr]    Compiling multer v2.0.2
[INFO] [stderr]    Compiling num-rational v0.4.0
[INFO] [stderr]    Compiling aws-types v0.9.0
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling wildmatch v2.1.0
[INFO] [stderr]    Compiling xml-rs v0.8.4
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.2
[INFO] [stderr]    Compiling mio v0.8.2
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling parking_lot v0.12.0
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling time v0.3.9
[INFO] [stderr]    Compiling getrandom v0.2.6
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling nanorand v0.7.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling aws-smithy-types v0.39.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling weezl v0.1.5
[INFO] [stderr]    Compiling urlencoding v1.3.3
[INFO] [stderr]    Compiling sct v0.6.1
[INFO] [stderr]    Compiling webpki v0.21.4
[INFO] [stderr]    Compiling aws-smithy-eventstream v0.39.0
[INFO] [stderr]    Compiling ct-logs v0.8.0
[INFO] [stderr]    Compiling aws-smithy-query v0.39.0
[INFO] [stderr]    Compiling rustls v0.19.1
[INFO] [stderr]    Compiling dlv-list v0.2.3
[INFO] [stderr]    Compiling aws-smithy-json v0.39.0
[INFO] [stderr]    Compiling ordered-multimap v0.3.1
[INFO] [stderr]    Compiling dirs v4.0.0
[INFO] [stderr]    Compiling flate2 v1.0.22
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling crypto-mac v0.11.1
[INFO] [stderr]    Compiling rust-ini v0.17.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling miniz_oxide v0.5.1
[INFO] [stderr]    Compiling quick-xml v0.20.0
[INFO] [stderr]    Compiling ipnet v2.4.0
[INFO] [stderr]    Compiling http-range-header v0.3.0
[INFO] [stderr]    Compiling jpeg-decoder v0.1.22
[INFO] [stderr]    Compiling md5 v0.7.0
[INFO] [stderr]    Compiling lebe v0.5.1
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling rustls-native-certs v0.5.0
[INFO] [stderr]    Compiling tiff v0.7.1
[INFO] [stderr]    Compiling gif v0.11.3
[INFO] [stderr]    Compiling minidom v0.13.0
[INFO] [stderr]    Compiling png v0.17.5
[INFO] [stderr]    Compiling jpeg-decoder v0.2.4
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling hmac v0.11.0
[INFO] [stderr]    Compiling aws-region v0.23.5
[INFO] [stderr]    Compiling bytemuck v1.9.1
[INFO] [stderr]    Compiling matchit v0.5.0
[INFO] [stderr]    Compiling sync_wrapper v0.1.1
[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 serde_derive v1.0.136
[INFO] [stderr]    Compiling async-trait v0.1.53
[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 aws-smithy-xml v0.39.0
[INFO] [stderr]    Compiling axum-core v0.2.1
[INFO] [stderr]    Compiling pin-project v1.0.10
[INFO] [stderr]    Compiling flume v0.10.12
[INFO] [stderr]    Compiling exr v1.4.1
[INFO] [stderr]    Compiling serde v1.0.136
[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 aws-smithy-async v0.39.0
[INFO] [stderr]    Compiling tracing v0.1.33
[INFO] [stderr]    Compiling tokio-util v0.7.1
[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 image v0.24.1
[INFO] [stderr]    Compiling serde_json v1.0.79
[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 aws-endpoint v0.9.0
[INFO] [stderr]    Compiling aws-sig-auth v0.9.0
[INFO] [stderr]    Compiling aws-http v0.9.0
[INFO] [stderr]    Compiling rust-s3 v0.28.1
[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: fields `name` and `location_supported` are never read
[INFO] [stdout]   --> src/img.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Storage {
[INFO] [stdout]    |        ------- fields in this struct
[INFO] [stdout] 11 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     location_supported: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/img.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Image {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 24 |     pub fn new(name : &str) -> Result<Self, io::Error>{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `try_image` is never used
[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 `download_image` is never used
[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<Vec<u8>> {
[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: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 38 |                 let _ = upload_image(
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6m 44s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.20.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5`
[INFO] running `Command { std: "docker" "inspect" "98ad550d700312717314dd6b2fd32d0a6a1025e14c45661686edbb205a857617", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98ad550d700312717314dd6b2fd32d0a6a1025e14c45661686edbb205a857617", kill_on_drop: false }`
[INFO] [stdout] 98ad550d700312717314dd6b2fd32d0a6a1025e14c45661686edbb205a857617
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 300f51e4491a11b6c80969d8ad1a1839f303e87b3bf16b22c1a6165cda2f5870
[INFO] running `Command { std: "docker" "start" "-a" "300f51e4491a11b6c80969d8ad1a1839f303e87b3bf16b22c1a6165cda2f5870", kill_on_drop: false }`
[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: fields `name` and `location_supported` are never read
[INFO] [stdout]   --> src/img.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Storage {
[INFO] [stdout]    |        ------- fields in this struct
[INFO] [stdout] 11 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     location_supported: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/img.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Image {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 24 |     pub fn new(name : &str) -> Result<Self, io::Error>{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `try_image` is never used
[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 `download_image` is never used
[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<Vec<u8>> {
[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: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 38 |                 let _ = upload_image(
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.05s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.20.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5`
[INFO] running `Command { std: "docker" "inspect" "300f51e4491a11b6c80969d8ad1a1839f303e87b3bf16b22c1a6165cda2f5870", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "300f51e4491a11b6c80969d8ad1a1839f303e87b3bf16b22c1a6165cda2f5870", kill_on_drop: false }`
[INFO] [stdout] 300f51e4491a11b6c80969d8ad1a1839f303e87b3bf16b22c1a6165cda2f5870
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5d46324a37fb58b61b923ca70d8509b5af6e63a268ed8fe5e575c7ada43cf2ca
[INFO] running `Command { std: "docker" "start" "-a" "5d46324a37fb58b61b923ca70d8509b5af6e63a268ed8fe5e575c7ada43cf2ca", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Write`
[INFO] [stderr]  --> src/img.rs:4:21
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::io::{Read, Write};
[INFO] [stderr]   |                     ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `name` and `location_supported` are never read
[INFO] [stderr]   --> src/img.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | struct Storage {
[INFO] [stderr]    |        ------- fields in this struct
[INFO] [stderr] 11 |     name: String,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 15 |     location_supported: bool,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/img.rs:24:12
[INFO] [stderr]    |
[INFO] [stderr] 23 | impl Image {
[INFO] [stderr]    | ---------- associated function in this implementation
[INFO] [stderr] 24 |     pub fn new(name : &str) -> Result<Self, io::Error>{
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `try_image` is never used
[INFO] [stderr]   --> src/img.rs:52:14
[INFO] [stderr]    |
[INFO] [stderr] 52 | pub async fn try_image() -> Result<()> {
[INFO] [stderr]    |              ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `download_image` is never used
[INFO] [stderr]   --> src/img.rs:98:14
[INFO] [stderr]    |
[INFO] [stderr] 98 | pub async fn download_image(access_key: &str, secret_key: &str, bucket_name: &str, key: &str) -> Result<Vec<u8>> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/main.rs:38:17
[INFO] [stderr]    |
[INFO] [stderr] 38 | /                 upload_image(
[INFO] [stderr] 39 | |                     &args[1],
[INFO] [stderr] 40 | |                     &args[2],
[INFO] [stderr] 41 | |                     "rustgallery",
[INFO] [stderr] 42 | |                     "image",
[INFO] [stderr] 43 | |                     &img
[INFO] [stderr] 44 | |                 ).await;
[INFO] [stderr]    | |_______________________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 38 |                 let _ = upload_image(
[INFO] [stderr]    |                 +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-gallery` (bin "rust-gallery" test) generated 6 warnings (run `cargo fix --bin "rust-gallery" --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.20.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_gallery-f04fe270cea7141b)
[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" "5d46324a37fb58b61b923ca70d8509b5af6e63a268ed8fe5e575c7ada43cf2ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5d46324a37fb58b61b923ca70d8509b5af6e63a268ed8fe5e575c7ada43cf2ca", kill_on_drop: false }`
[INFO] [stdout] 5d46324a37fb58b61b923ca70d8509b5af6e63a268ed8fe5e575c7ada43cf2ca
