[INFO] fetching crate celery 0.5.5... [INFO] checking celery-0.5.5 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate celery 0.5.5 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate celery 0.5.5 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate celery 0.5.5 [INFO] tweaked toml for crates.io crate celery 0.5.5 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate celery 0.5.5 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate celery 0.5.5 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded executor-trait v2.1.0 [INFO] [stderr] Downloaded tokio-executor-trait v2.1.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.67 [INFO] [stderr] Downloaded celery-codegen v0.5.5 [INFO] [stderr] Downloaded rustls-connector v0.18.3 [INFO] [stderr] Downloaded amq-protocol-uri v7.1.2 [INFO] [stderr] Downloaded amq-protocol-tcp v7.1.2 [INFO] [stderr] Downloaded iter-read v0.3.1 [INFO] [stderr] Downloaded tcp-stream v0.26.1 [INFO] [stderr] Downloaded amq-protocol v7.1.2 [INFO] [stderr] Downloaded termcolor v1.3.0 [INFO] [stderr] Downloaded globset v0.4.13 [INFO] [stderr] Downloaded async-global-executor v2.3.1 [INFO] [stderr] Downloaded base64 v0.21.4 [INFO] [stderr] Downloaded arc-swap v1.6.0 [INFO] [stderr] Downloaded lapin v2.3.1 [INFO] [stderr] Downloaded tokio-util v0.7.9 [INFO] [stderr] Downloaded rmpv v1.0.1 [INFO] [stderr] Downloaded p12 v0.6.3 [INFO] [stderr] Downloaded rustls-webpki v0.101.6 [INFO] [stderr] Downloaded redis v0.22.3 [INFO] [stderr] Downloaded syn v2.0.37 [INFO] [stderr] Downloaded amq-protocol-types v7.1.2 [INFO] [stderr] Downloaded serde-pickle v1.1.1 [INFO] [stderr] Downloaded rustls v0.21.7 [INFO] [stderr] Downloaded blocking v1.3.1 [INFO] [stderr] Downloaded rustix v0.37.23 [INFO] [stderr] Downloaded async-trait v0.1.73 [INFO] [stderr] Downloaded bstr v1.6.2 [INFO] [stderr] Downloaded cookie-factory v0.3.2 [INFO] [stderr] Downloaded thiserror v1.0.48 [INFO] [stderr] Downloaded serde_yaml v0.9.25 [INFO] [stderr] Downloaded thiserror-impl v1.0.48 [INFO] [stderr] Downloaded async-global-executor-trait v2.1.0 [INFO] [stderr] Downloaded pinky-swear v6.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 571528df8022b009cf9e288a2d6cdd5155c3e082d2b64ac1e75b89b57b473f25 [INFO] running `Command { std: "docker" "start" "-a" "571528df8022b009cf9e288a2d6cdd5155c3e082d2b64ac1e75b89b57b473f25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "571528df8022b009cf9e288a2d6cdd5155c3e082d2b64ac1e75b89b57b473f25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "571528df8022b009cf9e288a2d6cdd5155c3e082d2b64ac1e75b89b57b473f25", kill_on_drop: false }` [INFO] [stdout] 571528df8022b009cf9e288a2d6cdd5155c3e082d2b64ac1e75b89b57b473f25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 256c3d7a647d1a8bf1360697aeb61b3a549fc9152ce283a1704bc0de7f09b150 [INFO] running `Command { std: "docker" "start" "-a" "256c3d7a647d1a8bf1360697aeb61b3a549fc9152ce283a1704bc0de7f09b150", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking parking v2.1.0 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking base64 v0.21.4 [INFO] [stderr] Compiling rustls v0.21.7 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Compiling rustix v0.38.14 [INFO] [stderr] Checking concurrent-queue v2.2.0 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking rustls-pemfile v1.0.3 [INFO] [stderr] Checking async-task v4.4.0 [INFO] [stderr] Checking cookie-factory v0.3.2 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking futures-channel v0.3.28 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking atomic-waker v1.1.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling amq-protocol v7.1.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking aho-corasick v1.1.1 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling lapin v2.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking rmp v0.8.12 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking bstr v1.6.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking async-executor v1.5.1 [INFO] [stderr] Checking blocking v1.3.1 [INFO] [stderr] Checking arc-swap v1.6.0 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking colored v2.0.4 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Checking iter-read v0.3.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.9 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking des v0.8.1 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking rc2 v0.8.1 [INFO] [stderr] Checking p12 v0.6.3 [INFO] [stderr] Checking async-global-executor v2.3.1 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking globset v0.4.13 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling celery-codegen v0.5.5 [INFO] [stderr] Checking futures-util v0.3.28 [INFO] [stderr] Checking pinky-swear v6.1.0 [INFO] [stderr] Checking executor-trait v2.1.0 [INFO] [stderr] Checking reactor-trait v1.1.0 [INFO] [stderr] Checking async-global-executor-trait v2.1.0 [INFO] [stderr] Checking async-reactor-trait v1.1.0 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking rustls-webpki v0.101.6 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking rustls-connector v0.18.3 [INFO] [stderr] Checking tcp-stream v0.26.1 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-util v0.7.9 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking tokio-executor-trait v2.1.1 [INFO] [stderr] Checking tokio-reactor-trait v1.1.0 [INFO] [stderr] Checking serde_json v1.0.107 [INFO] [stderr] Checking serde_bytes v0.11.12 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking serde-pickle v1.1.1 [INFO] [stderr] Checking rmp-serde v1.1.2 [INFO] [stderr] Checking serde_yaml v0.9.25 [INFO] [stderr] Checking combine v4.6.6 [INFO] [stderr] Checking rmpv v1.0.1 [INFO] [stderr] Checking amq-protocol-types v7.1.2 [INFO] [stderr] Checking amq-protocol-uri v7.1.2 [INFO] [stderr] Checking amq-protocol-tcp v7.1.2 [INFO] [stderr] Checking redis v0.22.3 [INFO] [stderr] Checking celery v0.5.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/broker/redis.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | async fn remove_task(&self, delivery: &Delivery) -> Result<(), BrokerError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/broker/redis.rs:200:14 [INFO] [stdout] | [INFO] [stdout] 200 | .query_async(&mut self.connection.clone()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 200 | .query_async::<_, ()>(&mut self.connection.clone()) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/broker/redis.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | async fn close(&self) -> Result<(), BrokerError> { [INFO] [stdout] | ^^^^^ [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: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/broker/redis.rs:375:28 [INFO] [stdout] | [INFO] [stdout] 375 | redis::cmd("QUIT").query_async(&mut conn).await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 375 | redis::cmd("QUIT").query_async::<_, ()>(&mut conn).await?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/broker/redis.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | async fn remove_task(&self, delivery: &Delivery) -> Result<(), BrokerError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/broker/redis.rs:200:14 [INFO] [stdout] | [INFO] [stdout] 200 | .query_async(&mut self.connection.clone()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 200 | .query_async::<_, ()>(&mut self.connection.clone()) [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/broker/redis.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | async fn close(&self) -> Result<(), BrokerError> { [INFO] [stdout] | ^^^^^ [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: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/broker/redis.rs:375:28 [INFO] [stdout] | [INFO] [stdout] 375 | redis::cmd("QUIT").query_async(&mut conn).await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 375 | redis::cmd("QUIT").query_async::<_, ()>(&mut conn).await?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/beat_app.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[celery::task] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `Task` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_CELERY_TASK_FOR_add` [INFO] [stdout] 12 | fn add(x: i32, y: i32) -> TaskResult { [INFO] [stdout] | --- `add` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `celery::task` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `celery::task` may come from an old version of the `celery_codegen` crate, try updating your dependency with `cargo update -p celery_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `celery::task` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/beat_app.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[celery::task] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `Task` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_CELERY_TASK_FOR_long_running_task` [INFO] [stdout] 17 | fn long_running_task(secs: Option) -> TaskResult<()> { [INFO] [stdout] | ----------------- `long_running_task` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `celery::task` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `celery::task` may come from an old version of the `celery_codegen` crate, try updating your dependency with `cargo update -p celery_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `celery::task` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/celery_app.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[celery::task] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `Task` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_CELERY_TASK_FOR_add` [INFO] [stdout] 12 | fn add(x: i32, y: i32) -> TaskResult { [INFO] [stdout] | --- `add` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `celery::task` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `celery::task` may come from an old version of the `celery_codegen` crate, try updating your dependency with `cargo update -p celery_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `celery::task` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/celery_app.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[celery::task(max_retries = 3)] [INFO] [stdout] | ^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Task` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_CELERY_TASK_FOR_buggy_task` [INFO] [stdout] 19 | async fn buggy_task() -> TaskResult<()> { [INFO] [stdout] | ---------- `buggy_task` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `celery::task` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `celery::task` may come from an old version of the `celery_codegen` crate, try updating your dependency with `cargo update -p celery_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `celery::task` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/celery_app.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | #[celery::task(max_retries = 2)] [INFO] [stdout] | ^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Task` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_CELERY_TASK_FOR_long_running_task` [INFO] [stdout] 32 | async fn long_running_task(secs: Option) { [INFO] [stdout] | ----------------- `long_running_task` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `celery::task` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `celery::task` may come from an old version of the `celery_codegen` crate, try updating your dependency with `cargo update -p celery_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `celery::task` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/celery_app.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | #[celery::task(bind = true)] [INFO] [stdout] | ^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Task` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_CELERY_TASK_FOR_bound_task` [INFO] [stdout] 39 | fn bound_task(task: &Self) { [INFO] [stdout] | ---------- `bound_task` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `celery::task` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `celery::task` may come from an old version of the `celery_codegen` crate, try updating your dependency with `cargo update -p celery_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `celery::task` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `task_on_failure` is never used [INFO] [stdout] --> tests/task_codegen/mod.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | async fn task_on_failure(task: &T, _err: &TaskError) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `task_on_success` is never used [INFO] [stdout] --> tests/task_codegen/mod.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | async fn task_on_success(task: &T, _ret: &T::Returns) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/task_codegen/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[celery::task(name = "add")] [INFO] [stdout] | ^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Task` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_CELERY_TASK_FOR_add` [INFO] [stdout] 5 | fn add(x: i32, y: i32) -> TaskResult { [INFO] [stdout] | --- `add` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `celery::task` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `celery::task` may come from an old version of the `celery_codegen` crate, try updating your dependency with `cargo update -p celery_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `celery::task` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/task_codegen/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[celery::task] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `Task` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_CELERY_TASK_FOR_add_auto_name` [INFO] [stdout] 20 | fn add_auto_name(x: i32, y: i32) -> TaskResult { [INFO] [stdout] | ------------- `add_auto_name` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `celery::task` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `celery::task` may come from an old version of the `celery_codegen` crate, try updating your dependency with `cargo update -p celery_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `celery::task` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/task_codegen/mod.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[celery::task( [INFO] [stdout] | _^ [INFO] [stdout] 30 | | time_limit = 2, [INFO] [stdout] 31 | | hard_time_limit = 3, [INFO] [stdout] 32 | | max_retries = 3, [INFO] [stdout] ... | [INFO] [stdout] 36 | | acks_late = true [INFO] [stdout] 37 | | )] [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |__`Task` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_CELERY_TASK_FOR_task_with_options` [INFO] [stdout] 38 | fn task_with_options() -> TaskResult { [INFO] [stdout] | ----------------- `task_with_options` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `celery::task` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `celery::task` may come from an old version of the `celery_codegen` crate, try updating your dependency with `cargo update -p celery_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `celery::task` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/task_codegen/mod.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | #[celery::task(bind = true)] [INFO] [stdout] | ^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Task` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_CELERY_TASK_FOR_bound_task` [INFO] [stdout] 57 | fn bound_task(t: &Self) -> TaskResult> { [INFO] [stdout] | ---------- `bound_task` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `celery::task` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `celery::task` may come from an old version of the `celery_codegen` crate, try updating your dependency with `cargo update -p celery_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `celery::task` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/task_codegen/mod.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | #[celery::task(bind = true)] [INFO] [stdout] | ^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Task` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_CELERY_TASK_FOR_bound_task_with_other_params` [INFO] [stdout] 63 | fn bound_task_with_other_params(t: &Self, default_time_limit: u32) -> TaskResult { [INFO] [stdout] | ---------------------------- `bound_task_with_other_params` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `celery::task` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `celery::task` may come from an old version of the `celery_codegen` crate, try updating your dependency with `cargo update -p celery_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `celery::task` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/task_codegen/mod.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | #[celery::task] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `Task` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_CELERY_TASK_FOR_task_with_strings` [INFO] [stdout] 80 | fn task_with_strings(s1: String, s2: String) -> TaskResult { [INFO] [stdout] | ----------------- `task_with_strings` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `celery::task` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `celery::task` may come from an old version of the `celery_codegen` crate, try updating your dependency with `cargo update -p celery_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `celery::task` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/task_codegen/mod.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | #[celery::task(on_failure = task_on_failure, on_success = task_on_success)] [INFO] [stdout] | ^-------------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Task` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_CELERY_TASK_FOR_task_with_callbacks` [INFO] [stdout] 97 | fn task_with_callbacks() { [INFO] [stdout] | ------------------- `task_with_callbacks` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `celery::task` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `celery::task` may come from an old version of the `celery_codegen` crate, try updating your dependency with `cargo update -p celery_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `celery::task` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/task_codegen/mod.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | #[celery::task] [INFO] [stdout] | ^-------------- [INFO] [stdout] | | [INFO] [stdout] | `Task` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_CELERY_TASK_FOR_inferred_return_type` [INFO] [stdout] 102 | fn inferred_return_type() { [INFO] [stdout] | -------------------- `inferred_return_type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `celery::task` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `celery::task` may come from an old version of the `celery_codegen` crate, try updating your dependency with `cargo update -p celery_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `celery::task` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/task_codegen/mod.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | #[celery::task(content_type = MsgPack)] [INFO] [stdout] | ^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Task` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_CELERY_TASK_FOR_custom_content_type` [INFO] [stdout] 109 | fn custom_content_type() { [INFO] [stdout] | ------------------- `custom_content_type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `celery::task` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `celery::task` may come from an old version of the `celery_codegen` crate, try updating your dependency with `cargo update -p celery_codegen` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `celery::task` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: celery v0.5.5 (/opt/rustwide/workdir), redis v0.22.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "256c3d7a647d1a8bf1360697aeb61b3a549fc9152ce283a1704bc0de7f09b150", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "256c3d7a647d1a8bf1360697aeb61b3a549fc9152ce283a1704bc0de7f09b150", kill_on_drop: false }` [INFO] [stdout] 256c3d7a647d1a8bf1360697aeb61b3a549fc9152ce283a1704bc0de7f09b150