[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 beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredshiftss%2Frust-gallery" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/redshiftss/rust-gallery on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "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-5-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "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 minidom v0.13.0 [INFO] [stderr] Downloaded wildmatch v2.1.0 [INFO] [stderr] Downloaded aws-creds v0.27.1 [INFO] [stderr] Downloaded maybe-async v0.2.6 [INFO] [stderr] Downloaded axum-core v0.2.1 [INFO] [stderr] Downloaded aws-smithy-eventstream v0.39.0 [INFO] [stderr] Downloaded attohttpc v0.18.0 [INFO] [stderr] Downloaded rust-s3 v0.28.1 [INFO] [stderr] Downloaded tower-http v0.2.5 [INFO] [stderr] Downloaded axum v0.5.1 [INFO] [stderr] Downloaded image v0.24.1 [INFO] [stderr] Downloaded exr v1.4.1 [INFO] [stderr] Downloaded aws-sdk-s3 v0.9.0 [INFO] [stderr] Downloaded jpeg-decoder v0.2.4 [INFO] [stderr] Downloaded tiff v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c50f6c857f18afdc8805cd9260f551849e480a8bae44bef268e02b1887da109 [INFO] running `Command { std: "docker" "start" "-a" "3c50f6c857f18afdc8805cd9260f551849e480a8bae44bef268e02b1887da109", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c50f6c857f18afdc8805cd9260f551849e480a8bae44bef268e02b1887da109", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c50f6c857f18afdc8805cd9260f551849e480a8bae44bef268e02b1887da109", kill_on_drop: false }` [INFO] [stdout] 3c50f6c857f18afdc8805cd9260f551849e480a8bae44bef268e02b1887da109 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d16386f56defec35b3a23e6424bf53d30d38c0fe7b367c7abb943a44570a4929 [INFO] running `Command { std: "docker" "start" "-a" "d16386f56defec35b3a23e6424bf53d30d38c0fe7b367c7abb943a44570a4929", 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 log v0.4.16 [INFO] [stderr] Compiling scopeguard v1.1.0 [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 lock_api v0.4.7 [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-sink v0.3.21 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tracing-core v0.1.24 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [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 http-body v0.4.4 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling semver v1.0.7 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling bytes-utils v0.1.2 [INFO] [stderr] Compiling getrandom v0.2.6 [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 aws-smithy-types v0.39.0 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling aws-smithy-eventstream v0.39.0 [INFO] [stderr] Compiling aws-types v0.9.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling zeroize v1.5.4 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling ct-logs v0.8.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling encoding_rs v0.8.31 [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 tokio v1.17.0 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling dlv-list v0.2.3 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling xmlparser v0.13.3 [INFO] [stderr] Compiling ordered-multimap v0.3.1 [INFO] [stderr] Compiling aws-smithy-xml v0.39.0 [INFO] [stderr] Compiling deflate v1.0.0 [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 h2 v0.3.13 [INFO] [stderr] Compiling tower v0.4.12 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling aws-smithy-async v0.39.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling subtle v2.4.1 [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 aws-smithy-query v0.39.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling flume v0.10.12 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling rust-ini v0.17.0 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling aws-smithy-json v0.39.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling quick-xml v0.20.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling ipnet v2.4.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling lebe v0.5.1 [INFO] [stderr] Compiling tower-http v0.2.5 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling minidom v0.13.0 [INFO] [stderr] Compiling exr v1.4.1 [INFO] [stderr] Compiling jpeg-decoder v0.2.4 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling tiff v0.7.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde-xml-rs v0.5.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling png v0.17.5 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling axum-core v0.2.1 [INFO] [stderr] Compiling aws-region v0.23.5 [INFO] [stderr] Compiling maybe-async v0.2.6 [INFO] [stderr] Compiling attohttpc v0.18.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling bytemuck v1.9.1 [INFO] [stderr] Compiling hyper v0.14.18 [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 aws-creds v0.27.1 [INFO] [stderr] Compiling image v0.24.1 [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-sig-auth v0.9.0 [INFO] [stderr] Compiling aws-http v0.9.0 [INFO] [stderr] Compiling aws-endpoint 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{ [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> { [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 2m 51s [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 1` [INFO] running `Command { std: "docker" "inspect" "d16386f56defec35b3a23e6424bf53d30d38c0fe7b367c7abb943a44570a4929", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d16386f56defec35b3a23e6424bf53d30d38c0fe7b367c7abb943a44570a4929", kill_on_drop: false }` [INFO] [stdout] d16386f56defec35b3a23e6424bf53d30d38c0fe7b367c7abb943a44570a4929 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 588e55a9aa13dd6c269ca9fe8c625517cf6344ab1ecc7e3140da143145fad907 [INFO] running `Command { std: "docker" "start" "-a" "588e55a9aa13dd6c269ca9fe8c625517cf6344ab1ecc7e3140da143145fad907", 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{ [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> { [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.00s [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 1` [INFO] running `Command { std: "docker" "inspect" "588e55a9aa13dd6c269ca9fe8c625517cf6344ab1ecc7e3140da143145fad907", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "588e55a9aa13dd6c269ca9fe8c625517cf6344ab1ecc7e3140da143145fad907", kill_on_drop: false }` [INFO] [stdout] 588e55a9aa13dd6c269ca9fe8c625517cf6344ab1ecc7e3140da143145fad907 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cf3c2e6433bbde7a7571734ba925d2ad9c0e3447d7dda75bfbaa08c8989dc472 [INFO] running `Command { std: "docker" "start" "-a" "cf3c2e6433bbde7a7571734ba925d2ad9c0e3447d7dda75bfbaa08c8989dc472", 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{ [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> { [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.38s [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 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_gallery-5bd648d2bf873ee7) [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" "cf3c2e6433bbde7a7571734ba925d2ad9c0e3447d7dda75bfbaa08c8989dc472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf3c2e6433bbde7a7571734ba925d2ad9c0e3447d7dda75bfbaa08c8989dc472", kill_on_drop: false }` [INFO] [stdout] cf3c2e6433bbde7a7571734ba925d2ad9c0e3447d7dda75bfbaa08c8989dc472