[INFO] cloning repository https://github.com/liyiheng/img_classify [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/liyiheng/img_classify" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliyiheng%2Fimg_classify", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliyiheng%2Fimg_classify'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7de40b2278cb4ef046d56e7fa5201f9488db30c8 [INFO] testing liyiheng/img_classify against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliyiheng%2Fimg_classify" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/liyiheng/img_classify [INFO] finished tweaking git repo https://github.com/liyiheng/img_classify [INFO] tweaked toml for git repo https://github.com/liyiheng/img_classify written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/liyiheng/img_classify on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/liyiheng/img_classify 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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c314cd07f53f314f7bd45a1b63c8b3f22e06b2a0c94bcd27ea10bede63b62741 [INFO] running `Command { std: "docker" "start" "-a" "c314cd07f53f314f7bd45a1b63c8b3f22e06b2a0c94bcd27ea10bede63b62741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c314cd07f53f314f7bd45a1b63c8b3f22e06b2a0c94bcd27ea10bede63b62741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c314cd07f53f314f7bd45a1b63c8b3f22e06b2a0c94bcd27ea10bede63b62741", kill_on_drop: false }` [INFO] [stdout] c314cd07f53f314f7bd45a1b63c8b3f22e06b2a0c94bcd27ea10bede63b62741 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06e3d7e3b599b930269a7aafd21708f34d28a2d1b7620421ee24794a2303a907 [INFO] running `Command { std: "docker" "start" "-a" "06e3d7e3b599b930269a7aafd21708f34d28a2d1b7620421ee24794a2303a907", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling reborrow v0.5.5 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling portable-atomic v1.7.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling flate2 v1.0.33 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Compiling zip v1.1.4 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Compiling cpufeatures v0.2.13 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling rust-embed-utils v8.5.0 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling webpki-roots v0.26.5 [INFO] [stderr] Compiling socks v0.3.4 [INFO] [stderr] Compiling indicatif v0.17.8 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling macro_rules_attribute v0.2.0 [INFO] [stderr] Compiling image-webp v0.1.3 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling unicode-normalization-alignments v0.1.12 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling rayon-cond v0.3.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling rustls-webpki v0.102.7 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling clap_builder v4.5.15 [INFO] [stderr] Compiling bytemuck_derive v1.7.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling bytemuck v1.17.1 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling dyn-stack v0.10.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling derive_builder_core v0.20.1 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling pulp v0.18.22 [INFO] [stderr] Compiling num_enum v0.7.3 [INFO] [stderr] Compiling monostate-impl v0.1.13 [INFO] [stderr] Compiling onig v6.4.0 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling fancy-regex v0.13.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling rust-embed-impl v8.5.0 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling derive_builder_macro v0.20.1 [INFO] [stderr] Compiling rust-embed v8.5.0 [INFO] [stderr] Compiling derive_builder v0.20.1 [INFO] [stderr] Compiling gemm-common v0.17.1 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling gemm-f32 v0.17.1 [INFO] [stderr] Compiling gemm-c64 v0.17.1 [INFO] [stderr] Compiling gemm-f64 v0.17.1 [INFO] [stderr] Compiling gemm-c32 v0.17.1 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling clap v4.5.16 [INFO] [stderr] Compiling gemm-f16 v0.17.1 [INFO] [stderr] Compiling gemm v0.17.1 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling monostate v0.1.13 [INFO] [stderr] Compiling spm_precompiled v0.1.4 [INFO] [stderr] Compiling serde_plain v1.0.2 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling ravif v0.11.10 [INFO] [stderr] Compiling image v0.25.2 [INFO] [stderr] Compiling safetensors v0.4.4 [INFO] [stderr] Compiling ureq v2.10.1 [INFO] [stderr] Compiling tokenizers v0.20.0 [INFO] [stderr] Compiling candle-core v0.6.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.7 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.7 [INFO] [stderr] Compiling hf-hub v0.3.2 (https://github.com/huggingface/hf-hub.git?rev=refs%2Fpull%2F68%2Fhead#e126fcd7) [INFO] [stderr] Compiling candle-nn v0.6.0 [INFO] [stderr] Compiling candle-transformers v0.6.0 [INFO] [stderr] Compiling img_classify_core v0.1.0 (/opt/rustwide/workdir/img_classify_core) [INFO] [stdout] warning: unused import: `Tensor` [INFO] [stdout] --> img_classify_core/src/resource.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use candle_core::{DType, Device, Tensor}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::softmax` [INFO] [stdout] --> img_classify_core/src/resource.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use candle_nn::{ops::softmax, VarBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rust_embed::Embed` [INFO] [stdout] --> img_classify_core/src/resource.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> img_classify_core/src/resource.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | fn get(_: &str) -> Option { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | fn get(_: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling app v0.1.0 (/opt/rustwide/workdir/app) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 14s [INFO] running `Command { std: "docker" "inspect" "06e3d7e3b599b930269a7aafd21708f34d28a2d1b7620421ee24794a2303a907", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06e3d7e3b599b930269a7aafd21708f34d28a2d1b7620421ee24794a2303a907", kill_on_drop: false }` [INFO] [stdout] 06e3d7e3b599b930269a7aafd21708f34d28a2d1b7620421ee24794a2303a907 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1ebd3707e1853e2a50177c6844de1a506b06f3f72a21671d6ef0264110c9f31 [INFO] running `Command { std: "docker" "start" "-a" "c1ebd3707e1853e2a50177c6844de1a506b06f3f72a21671d6ef0264110c9f31", kill_on_drop: false }` [INFO] [stderr] Compiling img_classify_core v0.1.0 (/opt/rustwide/workdir/img_classify_core) [INFO] [stderr] Compiling app v0.1.0 (/opt/rustwide/workdir/app) [INFO] [stdout] warning: unused import: `Tensor` [INFO] [stdout] --> img_classify_core/src/resource.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use candle_core::{DType, Device, Tensor}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::softmax` [INFO] [stdout] --> img_classify_core/src/resource.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use candle_nn::{ops::softmax, VarBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rust_embed::Embed` [INFO] [stdout] --> img_classify_core/src/resource.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> img_classify_core/src/resource.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | fn get(_: &str) -> Option { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | fn get(_: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tensor` [INFO] [stdout] --> img_classify_core/src/resource.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use candle_core::{DType, Device, Tensor}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::softmax` [INFO] [stdout] --> img_classify_core/src/resource.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use candle_nn::{ops::softmax, VarBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rust_embed::Embed` [INFO] [stdout] --> img_classify_core/src/resource.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> img_classify_core/src/resource.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | fn get(_: &str) -> Option { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | fn get(_: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.32s [INFO] running `Command { std: "docker" "inspect" "c1ebd3707e1853e2a50177c6844de1a506b06f3f72a21671d6ef0264110c9f31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1ebd3707e1853e2a50177c6844de1a506b06f3f72a21671d6ef0264110c9f31", kill_on_drop: false }` [INFO] [stdout] c1ebd3707e1853e2a50177c6844de1a506b06f3f72a21671d6ef0264110c9f31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cfa5bba4de345f73970f6e1db82246d5edbb74043275395eccffdcbb5fef4dfa [INFO] running `Command { std: "docker" "start" "-a" "cfa5bba4de345f73970f6e1db82246d5edbb74043275395eccffdcbb5fef4dfa", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Tensor` [INFO] [stderr] --> img_classify_core/src/resource.rs:3:34 [INFO] [stderr] | [INFO] [stderr] 3 | use candle_core::{DType, Device, Tensor}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `ops::softmax` [INFO] [stderr] --> img_classify_core/src/resource.rs:4:17 [INFO] [stderr] | [INFO] [stderr] 4 | use candle_nn::{ops::softmax, VarBuilder}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rust_embed::Embed` [INFO] [stderr] --> img_classify_core/src/resource.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use rust_embed::Embed; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> img_classify_core/src/resource.rs:22:15 [INFO] [stderr] | [INFO] [stderr] 22 | fn get(_: &str) -> Option { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 22 | fn get(_: &str) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `img_classify_core` (lib) generated 4 warnings (run `cargo fix --lib -p img_classify_core` to apply 3 suggestions) [INFO] [stderr] warning: `img_classify_core` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/app-a7cc06b3ad696796) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/cli.rs (/opt/rustwide/target/debug/deps/cli-38c0805c70962fb9) [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/img_classify_core-c456eceac9eca1d3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests app [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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] [stderr] Doc-tests img_classify_core [INFO] [stdout] [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" "cfa5bba4de345f73970f6e1db82246d5edbb74043275395eccffdcbb5fef4dfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfa5bba4de345f73970f6e1db82246d5edbb74043275395eccffdcbb5fef4dfa", kill_on_drop: false }` [INFO] [stdout] cfa5bba4de345f73970f6e1db82246d5edbb74043275395eccffdcbb5fef4dfa