[INFO] cloning repository https://github.com/sondrelg/celery-rust-python-interop-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sondrelg/celery-rust-python-interop-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsondrelg%2Fcelery-rust-python-interop-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsondrelg%2Fcelery-rust-python-interop-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 81344959dffa64d06c933a3faab75410bea6c6af [INFO] testing sondrelg/celery-rust-python-interop-demo against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsondrelg%2Fcelery-rust-python-interop-demo" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sondrelg/celery-rust-python-interop-demo [INFO] finished tweaking git repo https://github.com/sondrelg/celery-rust-python-interop-demo [INFO] tweaked toml for git repo https://github.com/sondrelg/celery-rust-python-interop-demo written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sondrelg/celery-rust-python-interop-demo on toolchain 1.99.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sondrelg/celery-rust-python-interop-demo 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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 177f6d8b6d477c71363479b2968cdae383b01136997a106bdc21b77d8b0e003a [INFO] running `Command { std: "docker" "start" "177f6d8b6d477c71363479b2968cdae383b01136997a106bdc21b77d8b0e003a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "177f6d8b6d477c71363479b2968cdae383b01136997a106bdc21b77d8b0e003a", 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" "177f6d8b6d477c71363479b2968cdae383b01136997a106bdc21b77d8b0e003a" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "177f6d8b6d477c71363479b2968cdae383b01136997a106bdc21b77d8b0e003a", 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" "177f6d8b6d477c71363479b2968cdae383b01136997a106bdc21b77d8b0e003a" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling cc v1.0.76 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling serde_derive v1.0.147 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling openssl-sys v0.9.77 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling openssl v0.10.42 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling regex v1.7.0 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling num_cpus v1.14.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling serde_json v1.0.87 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.12 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling amq-protocol-uri v6.1.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling amq-protocol v6.1.0 [INFO] [stderr] Compiling cookie-factory v0.3.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling lapin v1.10.0 [INFO] [stderr] Compiling async-trait v0.1.58 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling tcp-stream v0.20.10 [INFO] [stderr] Compiling amq-protocol-tcp v6.1.0 [INFO] [stderr] Compiling pinky-swear v4.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling async-task v4.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling futures-executor v0.3.25 [INFO] [stderr] Compiling combine v4.6.6 [INFO] [stderr] Compiling futures v0.3.25 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling arc-swap v1.5.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling globset v0.4.9 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling amq-protocol-types v6.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-stream v0.1.11 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling celery-codegen v0.4.0-rcn.11 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling redis v0.21.6 [INFO] [stderr] Compiling tokio-amqp v1.1.0 [INFO] [stderr] Compiling celery v0.4.0-rcn.11 [INFO] [stderr] Compiling celery_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | let app = celery::app!( [INFO] [stdout] | _______________^ [INFO] [stdout] 20 | | broker = AMQPBroker { "amqp://127.0.0.1:5672" }, [INFO] [stdout] 21 | | tasks = [say_hello,], [INFO] [stdout] 22 | | task_routes = ["rust_*" => "rust-queue",], [INFO] [stdout] 23 | | prefetch_count = 2, [INFO] [stdout] 24 | | heartbeat = Some(10), [INFO] [stdout] 25 | | ).await?; [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 a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `celery::app` (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] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[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_say_hello` [INFO] [stdout] 10 | fn say_hello() -> TaskResult<()> { [INFO] [stdout] | --------- `say_hello` 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] [stderr] Finished `release` profile [optimized] target(s) in 3m 09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: celery v0.4.0-rcn.11, celery_demo v0.1.0 (/opt/rustwide/workdir), openssl v0.10.42, redis v0.21.6 [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" "177f6d8b6d477c71363479b2968cdae383b01136997a106bdc21b77d8b0e003a", 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" "177f6d8b6d477c71363479b2968cdae383b01136997a106bdc21b77d8b0e003a" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling celery_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | let app = celery::app!( [INFO] [stdout] | _______________^ [INFO] [stdout] 20 | | broker = AMQPBroker { "amqp://127.0.0.1:5672" }, [INFO] [stdout] 21 | | tasks = [say_hello,], [INFO] [stdout] 22 | | task_routes = ["rust_*" => "rust-queue",], [INFO] [stdout] 23 | | prefetch_count = 2, [INFO] [stdout] 24 | | heartbeat = Some(10), [INFO] [stdout] 25 | | ).await?; [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 a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `celery::app` (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] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[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_say_hello` [INFO] [stdout] 10 | fn say_hello() -> TaskResult<()> { [INFO] [stdout] | --------- `say_hello` 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] [stderr] Finished `release` profile [optimized] target(s) in 0.55s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: celery v0.4.0-rcn.11, celery_demo v0.1.0 (/opt/rustwide/workdir), openssl v0.10.42, redis v0.21.6 [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" "177f6d8b6d477c71363479b2968cdae383b01136997a106bdc21b77d8b0e003a", 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" "177f6d8b6d477c71363479b2968cdae383b01136997a106bdc21b77d8b0e003a" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `async_trait::async_trait` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use async_trait::async_trait; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/main.rs:19:15 [INFO] [stderr] | [INFO] [stderr] 19 | let app = celery::app!( [INFO] [stderr] | _______________^ [INFO] [stderr] 20 | | broker = AMQPBroker { "amqp://127.0.0.1:5672" }, [INFO] [stderr] 21 | | tasks = [say_hello,], [INFO] [stderr] 22 | | task_routes = ["rust_*" => "rust-queue",], [INFO] [stderr] 23 | | prefetch_count = 2, [INFO] [stderr] 24 | | heartbeat = Some(10), [INFO] [stderr] 25 | | ).await?; [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `celery::app` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/main.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[celery::task] [INFO] [stderr] | ^-------------- [INFO] [stderr] | | [INFO] [stderr] | `Task` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_CELERY_TASK_FOR_say_hello` [INFO] [stderr] 10 | fn say_hello() -> TaskResult<()> { [INFO] [stderr] | --------- `say_hello` is not local [INFO] [stderr] | [INFO] [stderr] = note: the attribute macro `celery::task` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `celery::task` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `celery_demo` (bin "celery_demo" test) generated 3 warnings (run `cargo fix --bin "celery_demo" -p celery_demo --tests` to apply 1 suggestion) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: celery v0.4.0-rcn.11, celery_demo v0.1.0 (/opt/rustwide/workdir), openssl v0.10.42, redis v0.21.6 [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/main.rs (/opt/rustwide/target/release/deps/celery_demo-2bb33b66d9d86348) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "177f6d8b6d477c71363479b2968cdae383b01136997a106bdc21b77d8b0e003a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "177f6d8b6d477c71363479b2968cdae383b01136997a106bdc21b77d8b0e003a", kill_on_drop: false }` [INFO] [stdout] 177f6d8b6d477c71363479b2968cdae383b01136997a106bdc21b77d8b0e003a