[INFO] fetching crate flagsmith 2.0.0... [INFO] testing flagsmith-2.0.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-2 [INFO] extracting crate flagsmith 2.0.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate flagsmith 2.0.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate flagsmith 2.0.0 [INFO] tweaked toml for crates.io crate flagsmith 2.0.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate flagsmith 2.0.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 288 packages to latest compatible versions [INFO] [stderr] Adding flume v0.10.14 (available: v0.11.1) [INFO] [stderr] Adding httpmock v0.6.8 (available: v0.7.0) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] [stderr] Adding rstest v0.12.0 (available: v0.26.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfd27b707ef667c47ca48c380906279e292ffd8bf79d32cb4cb26841b3960cc2 [INFO] running `Command { std: "docker" "start" "-a" "cfd27b707ef667c47ca48c380906279e292ffd8bf79d32cb4cb26841b3960cc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfd27b707ef667c47ca48c380906279e292ffd8bf79d32cb4cb26841b3960cc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfd27b707ef667c47ca48c380906279e292ffd8bf79d32cb4cb26841b3960cc2", kill_on_drop: false }` [INFO] [stdout] cfd27b707ef667c47ca48c380906279e292ffd8bf79d32cb4cb26841b3960cc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fa52962fb8b7aed1cc86a4a80f761bab8c04fd6242d736df1cb6b4f18cb2f25 [INFO] running `Command { std: "docker" "start" "-a" "8fa52962fb8b7aed1cc86a4a80f761bab8c04fd6242d736df1cb6b4f18cb2f25", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling flagsmith-flag-engine v0.4.0 [INFO] [stderr] Compiling flagsmith v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 39s [INFO] running `Command { std: "docker" "inspect" "8fa52962fb8b7aed1cc86a4a80f761bab8c04fd6242d736df1cb6b4f18cb2f25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fa52962fb8b7aed1cc86a4a80f761bab8c04fd6242d736df1cb6b4f18cb2f25", kill_on_drop: false }` [INFO] [stdout] 8fa52962fb8b7aed1cc86a4a80f761bab8c04fd6242d736df1cb6b4f18cb2f25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1472936fecc9710501a9c0e611e00f1623bcfce47c9b87bd4b27d3c1127fef70 [INFO] running `Command { std: "docker" "start" "-a" "1472936fecc9710501a9c0e611e00f1623bcfce47c9b87bd4b27d3c1127fef70", kill_on_drop: false }` [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling libnghttp2-sys v0.1.11+1.64.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling curl-sys v0.4.83+curl-8.15.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling polling v3.10.0 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling async-signal v0.2.12 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling curl v0.4.49 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-process v2.4.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling isahc v1.7.2 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling rstest v0.12.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling sluice v0.5.5 [INFO] [stderr] Compiling castaway v0.1.2 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling serde_regex v1.1.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling levenshtein v1.0.5 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling async-object-pool v0.1.5 [INFO] [stderr] Compiling basic-cookies v0.1.5 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling flagsmith v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling httpmock v0.6.8 [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/flagsmith/models.rs:227:59 [INFO] [stdout] | [INFO] [stdout] 227 | serde_json::from_str(FEATURE_STATE_JSON_STRING.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "1472936fecc9710501a9c0e611e00f1623bcfce47c9b87bd4b27d3c1127fef70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1472936fecc9710501a9c0e611e00f1623bcfce47c9b87bd4b27d3c1127fef70", kill_on_drop: false }` [INFO] [stdout] 1472936fecc9710501a9c0e611e00f1623bcfce47c9b87bd4b27d3c1127fef70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c884c4a28a764e7d9a2052ca2677b6c62a2843f5a4ea6ddaa6861294d5f85ee7 [INFO] running `Command { std: "docker" "start" "-a" "c884c4a28a764e7d9a2052ca2677b6c62a2843f5a4ea6ddaa6861294d5f85ee7", kill_on_drop: false }` [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/flagsmith/models.rs:227:59 [INFO] [stderr] | [INFO] [stderr] 227 | serde_json::from_str(FEATURE_STATE_JSON_STRING.clone()).unwrap(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `flagsmith` (lib test) generated 1 warning (run `cargo fix --lib -p flagsmith --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/flagsmith-6d40101cb0701c01) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test flagsmith::models::tests::can_create_flag_from_feature_state ... ok [INFO] [stdout] test flagsmith::models::tests::can_create_flag_from_from_api_flag ... ok [INFO] [stdout] test flagsmith::models::tests::value_as_i64 ... ok [INFO] [stdout] test flagsmith::models::tests::value_as_string ... ok [INFO] [stdout] test flagsmith::models::tests::value_as_type_returns_none_if_value_is_of_a_different_type ... ok [INFO] [stdout] test flagsmith::tests::client_implements_send_and_sync ... ok [INFO] [stdout] test flagsmith::models::tests::value_as_f64 ... ok [INFO] [stdout] test flagsmith::tests::test_local_evaluation_identity_override_evaluate_expected ... ok [INFO] [stdout] test flagsmith::models::tests::value_as_bool ... ok [INFO] [stdout] test flagsmith::tests::polling_thread_updates_environment_on_start ... ok [INFO] [stdout] test flagsmith::offline_handler::tests::test_local_file_handler ... ok [INFO] [stdout] test flagsmith::analytics::tests::track_feature_updates_analytics_data ... ok [INFO] [stdout] test flagsmith::analytics::tests::test_analytics_processor ... ok [INFO] [stdout] test flagsmith::tests::polling_thread_updates_environment_on_each_refresh ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.66s [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-f42f0c855ace0f86) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test test_default_flag_is_used_when_no_matching_environment_flag_returned ... ok [INFO] [stdout] test test_flagsmith_api_error_is_returned_if_something_goes_wrong_with_the_request ... ok [INFO] [stdout] test test_default_flag_is_used_when_no_matching_identity_flags_returned ... ok [INFO] [stdout] test test_flagsmith_client_error_is_returned_if_get_flag_is_called_with_a_flag_that_does_not_exists_without_default_handler ... ok [INFO] [stdout] test test_default_flags_are_used_if_api_error_and_default_flag_handler_given_for_identity ... ok [INFO] [stdout] test test_default_flags_are_used_if_api_error_and_default_flag_handler_given_for_environment ... ok [INFO] [stdout] test test_default_flag_is_not_used_when_identity_flags_returned ... ok [INFO] [stdout] test test_default_flag_is_not_used_when_environment_flags_returned ... ok [INFO] [stdout] test test_flagsmith_panics_if_both_default_handler_and_offline_hanlder_are_set - should panic ... ok [INFO] [stdout] test test_get_environment_flags_calls_api_when_no_local_environment ... ok [INFO] [stdout] test test_flagsmith_panics_if_offline_mode_is_used_without_offline_hanlder - should panic ... ok [INFO] [stdout] test test_get_environment_flags_uses_local_environment_when_available ... ok [INFO] [stdout] test test_flagsmith_should_panic_if_local_evaluation_mode_is_used_with_offline_handler - should panic ... ok [INFO] [stdout] test test_get_identity_flags_calls_api_when_no_local_environment_with_transient_identity ... ok [INFO] [stdout] test test_get_identity_segments_with_valid_trait ... ok [INFO] [stdout] test test_get_identity_flags_uses_local_environment_when_available ... ok [INFO] [stdout] test test_get_identity_flags_calls_api_when_no_local_environment_with_traits ... ok [INFO] [stdout] test test_get_identity_segments_no_traits ... ok [INFO] [stdout] test test_get_identity_flags_calls_api_when_no_local_environment_no_traits ... ok [INFO] [stdout] test test_get_identity_flags_calls_api_when_no_local_environment_with_transient_traits ... ok [INFO] [stdout] test test_offline_mode ... ok [INFO] [stdout] test test_offline_handler_is_used_if_request_fails ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.13s [INFO] [stdout] [INFO] [stderr] Doc-tests flagsmith [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" "c884c4a28a764e7d9a2052ca2677b6c62a2843f5a4ea6ddaa6861294d5f85ee7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c884c4a28a764e7d9a2052ca2677b6c62a2843f5a4ea6ddaa6861294d5f85ee7", kill_on_drop: false }` [INFO] [stdout] c884c4a28a764e7d9a2052ca2677b6c62a2843f5a4ea6ddaa6861294d5f85ee7