[INFO] fetching crate rjq 0.3.0... [INFO] testing rjq-0.3.0 against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-3 [INFO] extracting crate rjq 0.3.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate rjq 0.3.0 [INFO] finished tweaking crates.io crate rjq 0.3.0 [INFO] tweaked toml for crates.io crate rjq 0.3.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rjq 0.3.0 on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "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" "+1.99.0-beta.8" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 31 packages to highest compatible versions [INFO] [stderr] Adding redis v0.8.0 (available: v1.7.1) [INFO] [stderr] Adding uuid v0.5.1 (available: v1.28.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `rjq` (manifest) generated 1 warning [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand v0.4.6 [INFO] [stderr] Downloaded rand v0.3.23 [INFO] [stderr] Downloaded rand_core v0.4.3 [INFO] [stderr] Downloaded rand_core v0.3.2 [INFO] [stderr] Downloaded matches v0.1.10 [INFO] [stderr] Downloaded sha1 v0.2.0 [INFO] [stderr] Downloaded uuid v0.5.1 [INFO] [stderr] Downloaded redis v0.8.0 [INFO] [stderr] Downloaded unicode-normalization v0.1.26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 697211edc874e66d371fd8e0c8d819271d86ed70ddeed30e152a7a874a687de1 [INFO] running `Command { std: "docker" "start" "697211edc874e66d371fd8e0c8d819271d86ed70ddeed30e152a7a874a687de1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "697211edc874e66d371fd8e0c8d819271d86ed70ddeed30e152a7a874a687de1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "697211edc874e66d371fd8e0c8d819271d86ed70ddeed30e152a7a874a687de1" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "697211edc874e66d371fd8e0c8d819271d86ed70ddeed30e152a7a874a687de1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "697211edc874e66d371fd8e0c8d819271d86ed70ddeed30e152a7a874a687de1" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `rjq` (manifest) generated 1 warning [INFO] [stderr] Compiling libc v0.2.191 [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Compiling tinyvec v1.13.3 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Compiling unicode-ident v1.0.27 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling redis v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.154 [INFO] [stderr] Compiling memchr v2.8.3 [INFO] [stderr] Compiling sha1 v0.2.0 [INFO] [stderr] Compiling unicode-normalization v0.1.26 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling syn v3.0.9 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling rjq v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:196:28 [INFO] [stdout] | [INFO] [stdout] 196 | -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 196 | -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:124:42 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn drop(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 | pub fn drop(&self) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:141:83 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn enqueue(&self, args: Vec, expire: usize) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 141 | pub fn enqueue(&self, args: Vec, expire: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:160:60 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn status(&self, uuid: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 160 | pub fn status(&self, uuid: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:187:66 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn work) -> Result> + Send + Sync + 'static> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 187 | pub fn work) -> Result> + Send + Sync + 'static> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:278:68 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn result(&self, uuid: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 278 | pub fn result(&self, uuid: &str) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn drop(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 128 | conn.del(format!("{}:uuids", self.name))?; [INFO] [stdout] | ^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 128 | conn.del::<_, ()>(format!("{}:uuids", self.name))?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn enqueue(&self, args: Vec, expire: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | conn.set_ex(format!("{}:{}", self.name, job.uuid), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 147 ~ conn.set_ex::<_, _, ()>(format!("{}:{}", self.name, job.uuid), [INFO] [stdout] 148 | serde_json::to_string(&job)?, [INFO] [stdout] 149 | expire)?; [INFO] [stdout] 150 ~ conn.rpush::<_, _, ()>(format!("{}:uuids", self.name), &job.uuid)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | / pub fn work) -> Result> + Send + Sync + 'static> [INFO] [stdout] 188 | | (&self, [INFO] [stdout] 189 | | fun: F, [INFO] [stdout] 190 | | wait: Option, [INFO] [stdout] ... | [INFO] [stdout] 195 | | infinite: Option) [INFO] [stdout] 196 | | -> Result<(), Box> { [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | conn.set_ex(&key, serde_json::to_string(&job)?, timeout + expire)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 233 ~ conn.set_ex::<_, _, ()>(&key, serde_json::to_string(&job)?, timeout + expire)?; [INFO] [stdout] 234 | [INFO] [stdout] ... [INFO] [stdout] 258 | } [INFO] [stdout] 259 ~ conn.set_ex::<_, _, ()>(&key, serde_json::to_string(&job)?, expire)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 13.95s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.8.0, rjq v0.3.0 (/opt/rustwide/workdir) [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" "697211edc874e66d371fd8e0c8d819271d86ed70ddeed30e152a7a874a687de1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "697211edc874e66d371fd8e0c8d819271d86ed70ddeed30e152a7a874a687de1" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `rjq` (manifest) generated 1 warning [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:196:28 [INFO] [stdout] | [INFO] [stdout] 196 | -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 196 | -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:124:42 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn drop(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 | pub fn drop(&self) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:141:83 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn enqueue(&self, args: Vec, expire: usize) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 141 | pub fn enqueue(&self, args: Vec, expire: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:160:60 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn status(&self, uuid: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 160 | pub fn status(&self, uuid: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rjq v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:187:66 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn work) -> Result> + Send + Sync + 'static> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 187 | pub fn work) -> Result> + Send + Sync + 'static> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:278:68 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn result(&self, uuid: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 278 | pub fn result(&self, uuid: &str) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn drop(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 128 | conn.del(format!("{}:uuids", self.name))?; [INFO] [stdout] | ^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 128 | conn.del::<_, ()>(format!("{}:uuids", self.name))?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn enqueue(&self, args: Vec, expire: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | conn.set_ex(format!("{}:{}", self.name, job.uuid), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 147 ~ conn.set_ex::<_, _, ()>(format!("{}:{}", self.name, job.uuid), [INFO] [stdout] 148 | serde_json::to_string(&job)?, [INFO] [stdout] 149 | expire)?; [INFO] [stdout] 150 ~ conn.rpush::<_, _, ()>(format!("{}:uuids", self.name), &job.uuid)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | / pub fn work) -> Result> + Send + Sync + 'static> [INFO] [stdout] 188 | | (&self, [INFO] [stdout] 189 | | fun: F, [INFO] [stdout] 190 | | wait: Option, [INFO] [stdout] ... | [INFO] [stdout] 195 | | infinite: Option) [INFO] [stdout] 196 | | -> Result<(), Box> { [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | conn.set_ex(&key, serde_json::to_string(&job)?, timeout + expire)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 233 ~ conn.set_ex::<_, _, ()>(&key, serde_json::to_string(&job)?, timeout + expire)?; [INFO] [stdout] 234 | [INFO] [stdout] ... [INFO] [stdout] 258 | } [INFO] [stdout] 259 ~ conn.set_ex::<_, _, ()>(&key, serde_json::to_string(&job)?, expire)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/mod.rs:35:63 [INFO] [stdout] | [INFO] [stdout] 35 | fn fn_ok(_: String, _: Vec) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | fn fn_ok(_: String, _: Vec) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/mod.rs:59:63 [INFO] [stdout] | [INFO] [stdout] 59 | fn fn_ok(_: String, _: Vec) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 | fn fn_ok(_: String, _: Vec) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/mod.rs:83:64 [INFO] [stdout] | [INFO] [stdout] 83 | fn fn_err(_: String, _: Vec) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 | fn fn_err(_: String, _: Vec) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/mod.rs:107:63 [INFO] [stdout] | [INFO] [stdout] 107 | fn fn_ok(_: String, _: Vec) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 | fn fn_ok(_: String, _: Vec) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:196:28 [INFO] [stdout] | [INFO] [stdout] 196 | -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 196 | -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:124:42 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn drop(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 | pub fn drop(&self) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:141:83 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn enqueue(&self, args: Vec, expire: usize) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 141 | pub fn enqueue(&self, args: Vec, expire: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:160:60 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn status(&self, uuid: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 160 | pub fn status(&self, uuid: &str) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:187:66 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn work) -> Result> + Send + Sync + 'static> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 187 | pub fn work) -> Result> + Send + Sync + 'static> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:278:68 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn result(&self, uuid: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 278 | pub fn result(&self, uuid: &str) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn drop(&self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 128 | conn.del(format!("{}:uuids", self.name))?; [INFO] [stdout] | ^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 128 | conn.del::<_, ()>(format!("{}:uuids", self.name))?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn enqueue(&self, args: Vec, expire: usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | conn.set_ex(format!("{}:{}", self.name, job.uuid), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 147 ~ conn.set_ex::<_, _, ()>(format!("{}:{}", self.name, job.uuid), [INFO] [stdout] 148 | serde_json::to_string(&job)?, [INFO] [stdout] 149 | expire)?; [INFO] [stdout] 150 ~ conn.rpush::<_, _, ()>(format!("{}:uuids", self.name), &job.uuid)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/lib.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | / pub fn work) -> Result> + Send + Sync + 'static> [INFO] [stdout] 188 | | (&self, [INFO] [stdout] 189 | | fun: F, [INFO] [stdout] 190 | | wait: Option, [INFO] [stdout] ... | [INFO] [stdout] 195 | | infinite: Option) [INFO] [stdout] 196 | | -> Result<(), Box> { [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/lib.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | conn.set_ex(&key, serde_json::to_string(&job)?, timeout + expire)?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 233 ~ conn.set_ex::<_, _, ()>(&key, serde_json::to_string(&job)?, timeout + expire)?; [INFO] [stdout] 234 | [INFO] [stdout] ... [INFO] [stdout] 258 | } [INFO] [stdout] 259 ~ conn.set_ex::<_, _, ()>(&key, serde_json::to_string(&job)?, expire)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/worker.rs:9:68 [INFO] [stdout] | [INFO] [stdout] 9 | fn process(uuid: String, _: Vec) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | fn process(uuid: String, _: Vec) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 2.94s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.8.0, rjq v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "697211edc874e66d371fd8e0c8d819271d86ed70ddeed30e152a7a874a687de1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "697211edc874e66d371fd8e0c8d819271d86ed70ddeed30e152a7a874a687de1" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `rjq` (manifest) generated 1 warning [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:196:28 [INFO] [stderr] | [INFO] [stderr] 196 | -> Result<(), Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 196 | -> Result<(), Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:124:42 [INFO] [stderr] | [INFO] [stderr] 124 | pub fn drop(&self) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 124 | pub fn drop(&self) -> Result<(), Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:141:83 [INFO] [stderr] | [INFO] [stderr] 141 | pub fn enqueue(&self, args: Vec, expire: usize) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 141 | pub fn enqueue(&self, args: Vec, expire: usize) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:160:60 [INFO] [stderr] | [INFO] [stderr] 160 | pub fn status(&self, uuid: &str) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 160 | pub fn status(&self, uuid: &str) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:187:66 [INFO] [stderr] | [INFO] [stderr] 187 | pub fn work) -> Result> + Send + Sync + 'static> [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 187 | pub fn work) -> Result> + Send + Sync + 'static> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:278:68 [INFO] [stderr] | [INFO] [stderr] 278 | pub fn result(&self, uuid: &str) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 278 | pub fn result(&self, uuid: &str) -> Result, Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/lib.rs:124:5 [INFO] [stderr] | [INFO] [stderr] 124 | pub fn drop(&self) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> src/lib.rs:128:14 [INFO] [stderr] | [INFO] [stderr] 128 | conn.del(format!("{}:uuids", self.name))?; [INFO] [stderr] | ^^^ [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 128 | conn.del::<_, ()>(format!("{}:uuids", self.name))?; [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/lib.rs:141:5 [INFO] [stderr] | [INFO] [stderr] 141 | pub fn enqueue(&self, args: Vec, expire: usize) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> src/lib.rs:147:14 [INFO] [stderr] | [INFO] [stderr] 147 | conn.set_ex(format!("{}:{}", self.name, job.uuid), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 147 ~ conn.set_ex::<_, _, ()>(format!("{}:{}", self.name, job.uuid), [INFO] [stderr] 148 | serde_json::to_string(&job)?, [INFO] [stderr] 149 | expire)?; [INFO] [stderr] 150 ~ conn.rpush::<_, _, ()>(format!("{}:uuids", self.name), &job.uuid)?; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/lib.rs:187:5 [INFO] [stderr] | [INFO] [stderr] 187 | / pub fn work) -> Result> + Send + Sync + 'static> [INFO] [stderr] 188 | | (&self, [INFO] [stderr] 189 | | fun: F, [INFO] [stderr] 190 | | wait: Option, [INFO] [stderr] ... | [INFO] [stderr] 195 | | infinite: Option) [INFO] [stderr] 196 | | -> Result<(), Box> { [INFO] [stderr] | |__________________________________^ [INFO] [stderr] | [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> src/lib.rs:233:18 [INFO] [stderr] | [INFO] [stderr] 233 | conn.set_ex(&key, serde_json::to_string(&job)?, timeout + expire)?; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 233 ~ conn.set_ex::<_, _, ()>(&key, serde_json::to_string(&job)?, timeout + expire)?; [INFO] [stderr] 234 | [INFO] [stderr] ... [INFO] [stderr] 258 | } [INFO] [stderr] 259 ~ conn.set_ex::<_, _, ()>(&key, serde_json::to_string(&job)?, expire)?; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rjq` (lib) generated 9 warnings (run `cargo fix --lib -p rjq` to apply 9 suggestions) [INFO] [stderr] warning: `rjq` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/worker.rs:9:68 [INFO] [stderr] | [INFO] [stderr] 9 | fn process(uuid: String, _: Vec) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 9 | fn process(uuid: String, _: Vec) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/mod.rs:35:63 [INFO] [stderr] | [INFO] [stderr] 35 | fn fn_ok(_: String, _: Vec) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 35 | fn fn_ok(_: String, _: Vec) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/mod.rs:59:63 [INFO] [stderr] | [INFO] [stderr] 59 | fn fn_ok(_: String, _: Vec) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 59 | fn fn_ok(_: String, _: Vec) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/mod.rs:83:64 [INFO] [stderr] | [INFO] [stderr] 83 | fn fn_err(_: String, _: Vec) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 83 | fn fn_err(_: String, _: Vec) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/mod.rs:107:63 [INFO] [stderr] | [INFO] [stderr] 107 | fn fn_ok(_: String, _: Vec) -> Result> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 107 | fn fn_ok(_: String, _: Vec) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `rjq` (example "worker") generated 1 warning (run `cargo fix --example "worker" -p rjq` to apply 1 suggestion) [INFO] [stderr] warning: `rjq` (test "mod") generated 4 warnings (run `cargo fix --test "mod" -p rjq` to apply 4 suggestions) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.05s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.8.0, rjq v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/rjq-094f53da7655aa65) [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 tests/mod.rs (/opt/rustwide/target/release/deps/mod-7b3be5ef739d43bf) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test test_job_queued ... FAILED [INFO] [stdout] test test_job_expired - should panic ... ok [INFO] [stdout] test test_job_failed ... FAILED [INFO] [stdout] test test_job_result ... FAILED [INFO] [stderr] error: test failed, to rerun pass `--test mod` [INFO] [stdout] test test_job_finished ... FAILED [INFO] [stdout] test test_job_lost ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_job_queued stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_job_queued' (729) panicked at tests/mod.rs:13:18: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Connection refused (os error 111) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5e15349b3371 - <::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5e15349c89fa - core[df12db4294e9bfd3]::fmt::write [INFO] [stdout] 2: 0x5e15349b7ddc - as core[df12db4294e9bfd3]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x5e153498ee06 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5e15349ab339 - std[70759c8f55707aa4]::panicking::default_hook [INFO] [stdout] 5: 0x5e15349201e0 - test[9d35eded1c95d3be]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x5e15349ab4f2 - std[70759c8f55707aa4]::panicking::panic_with_hook [INFO] [stdout] 7: 0x5e153498eeb2 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x5e1534987b59 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x5e153498fc9d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind [INFO] [stdout] 10: 0x5e15349c912c - core[df12db4294e9bfd3]::panicking::panic_fmt [INFO] [stdout] 11: 0x5e15349c8f02 - core[df12db4294e9bfd3]::result::unwrap_failed [INFO] [stdout] 12: 0x5e153490fb56 - >::call_once [INFO] [stdout] 13: 0x5e15349134cb - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>> [INFO] [stdout] 14: 0x5e1534920b35 - test[9d35eded1c95d3be]::run_test::{closure#0} [INFO] [stdout] 15: 0x5e153491a3f4 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 16: 0x5e1534923c92 - ::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 17: 0x5e15349b2729 - ::new::thread_start [INFO] [stdout] 18: 0x7b1e5be54dfa - [INFO] [stdout] 19: 0x7b1e5bee83d4 - clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_job_failed stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_job_failed' (726) panicked at tests/mod.rs:89:18: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Connection refused (os error 111) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5e15349b3371 - <::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5e15349c89fa - core[df12db4294e9bfd3]::fmt::write [INFO] [stdout] 2: 0x5e15349b7ddc - as core[df12db4294e9bfd3]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x5e153498ee06 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5e15349ab339 - std[70759c8f55707aa4]::panicking::default_hook [INFO] [stdout] 5: 0x5e15349201e0 - test[9d35eded1c95d3be]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x5e15349ab4f2 - std[70759c8f55707aa4]::panicking::panic_with_hook [INFO] [stdout] 7: 0x5e153498eeb2 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x5e1534987b59 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x5e153498fc9d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind [INFO] [stdout] 10: 0x5e15349c912c - core[df12db4294e9bfd3]::panicking::panic_fmt [INFO] [stdout] 11: 0x5e15349c8f02 - core[df12db4294e9bfd3]::result::unwrap_failed [INFO] [stdout] 12: 0x5e153490f8cd - >::call_once [INFO] [stdout] 13: 0x5e15349134cb - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>> [INFO] [stdout] 14: 0x5e1534920b35 - test[9d35eded1c95d3be]::run_test::{closure#0} [INFO] [stdout] 15: 0x5e153491a3f4 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 16: 0x5e1534923c92 - ::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 17: 0x5e15349b2729 - ::new::thread_start [INFO] [stdout] 18: 0x7b1e5be54dfa - [INFO] [stdout] 19: 0x7b1e5bee83d4 - clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_job_result stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_job_result' (730) panicked at tests/mod.rs:65:18: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Connection refused (os error 111) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5e15349b3371 - <::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5e15349c89fa - core[df12db4294e9bfd3]::fmt::write [INFO] [stdout] 2: 0x5e15349b7ddc - as core[df12db4294e9bfd3]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x5e153498ee06 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5e15349ab339 - std[70759c8f55707aa4]::panicking::default_hook [INFO] [stdout] 5: 0x5e15349201e0 - test[9d35eded1c95d3be]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x5e15349ab4f2 - std[70759c8f55707aa4]::panicking::panic_with_hook [INFO] [stdout] 7: 0x5e153498eeb2 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x5e1534987b59 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x5e153498fc9d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind [INFO] [stdout] 10: 0x5e15349c912c - core[df12db4294e9bfd3]::panicking::panic_fmt [INFO] [stdout] 11: 0x5e15349c8f02 - core[df12db4294e9bfd3]::result::unwrap_failed [INFO] [stdout] 12: 0x5e153490fe2c - >::call_once [INFO] [stdout] 13: 0x5e15349134cb - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>> [INFO] [stdout] 14: 0x5e1534920b35 - test[9d35eded1c95d3be]::run_test::{closure#0} [INFO] [stdout] 15: 0x5e153491a3f4 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 16: 0x5e1534923c92 - ::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 17: 0x5e15349b2729 - ::new::thread_start [INFO] [stdout] 18: 0x7b1e5be54dfa - [INFO] [stdout] 19: 0x7b1e5bee83d4 - clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_job_finished stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_job_finished' (727) panicked at tests/mod.rs:41:18: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Connection refused (os error 111) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5e15349b3371 - <::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5e15349c89fa - core[df12db4294e9bfd3]::fmt::write [INFO] [stdout] 2: 0x5e15349b7ddc - as core[df12db4294e9bfd3]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x5e153498ee06 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5e15349ab339 - std[70759c8f55707aa4]::panicking::default_hook [INFO] [stdout] 5: 0x5e15349201e0 - test[9d35eded1c95d3be]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x5e15349ab4f2 - std[70759c8f55707aa4]::panicking::panic_with_hook [INFO] [stdout] 7: 0x5e153498eeb2 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x5e1534987b59 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x5e153498fc9d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind [INFO] [stdout] 10: 0x5e15349c912c - core[df12db4294e9bfd3]::panicking::panic_fmt [INFO] [stdout] 11: 0x5e15349c8f02 - core[df12db4294e9bfd3]::result::unwrap_failed [INFO] [stdout] 12: 0x5e153491034d - >::call_once [INFO] [stdout] 13: 0x5e15349134cb - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>> [INFO] [stdout] 14: 0x5e1534920b35 - test[9d35eded1c95d3be]::run_test::{closure#0} [INFO] [stdout] 15: 0x5e153491a3f4 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 16: 0x5e1534923c92 - ::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 17: 0x5e15349b2729 - ::new::thread_start [INFO] [stdout] 18: 0x7b1e5be54dfa - [INFO] [stdout] 19: 0x7b1e5bee83d4 - clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_job_lost stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_job_lost' (728) panicked at tests/mod.rs:113:18: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Connection refused (os error 111) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5e15349b3371 - <::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5e15349c89fa - core[df12db4294e9bfd3]::fmt::write [INFO] [stdout] 2: 0x5e15349b7ddc - as core[df12db4294e9bfd3]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x5e153498ee06 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5e15349ab339 - std[70759c8f55707aa4]::panicking::default_hook [INFO] [stdout] 5: 0x5e15349201e0 - test[9d35eded1c95d3be]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x5e15349ab4f2 - std[70759c8f55707aa4]::panicking::panic_with_hook [INFO] [stdout] 7: 0x5e153498eeb2 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x5e1534987b59 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x5e153498fc9d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind [INFO] [stdout] 10: 0x5e15349c912c - core[df12db4294e9bfd3]::panicking::panic_fmt [INFO] [stdout] 11: 0x5e15349c8f02 - core[df12db4294e9bfd3]::result::unwrap_failed [INFO] [stdout] 12: 0x5e153490f5fd - >::call_once [INFO] [stdout] 13: 0x5e15349134cb - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>> [INFO] [stdout] 14: 0x5e1534920b35 - test[9d35eded1c95d3be]::run_test::{closure#0} [INFO] [stdout] 15: 0x5e153491a3f4 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 16: 0x5e1534923c92 - ::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 17: 0x5e15349b2729 - ::new::thread_start [INFO] [stdout] 18: 0x7b1e5be54dfa - [INFO] [stdout] 19: 0x7b1e5bee83d4 - clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_job_failed [INFO] [stdout] test_job_finished [INFO] [stdout] test_job_lost [INFO] [stdout] test_job_queued [INFO] [stdout] test_job_result [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "697211edc874e66d371fd8e0c8d819271d86ed70ddeed30e152a7a874a687de1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "697211edc874e66d371fd8e0c8d819271d86ed70ddeed30e152a7a874a687de1", kill_on_drop: false }` [INFO] [stdout] 697211edc874e66d371fd8e0c8d819271d86ed70ddeed30e152a7a874a687de1