[INFO] fetching crate myrtio-mqtt 0.3.0... [INFO] testing myrtio-mqtt-0.3.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate myrtio-mqtt 0.3.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate myrtio-mqtt 0.3.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate myrtio-mqtt 0.3.0 [INFO] tweaked toml for crates.io crate myrtio-mqtt 0.3.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate myrtio-mqtt 0.3.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate myrtio-mqtt 0.3.0 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78b8c6b67786df6c23b208284386ace3f7acfa0d203adcb073dc4b91c30cd08b [INFO] running `Command { std: "docker" "start" "-a" "78b8c6b67786df6c23b208284386ace3f7acfa0d203adcb073dc4b91c30cd08b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78b8c6b67786df6c23b208284386ace3f7acfa0d203adcb073dc4b91c30cd08b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78b8c6b67786df6c23b208284386ace3f7acfa0d203adcb073dc4b91c30cd08b", kill_on_drop: false }` [INFO] [stdout] 78b8c6b67786df6c23b208284386ace3f7acfa0d203adcb073dc4b91c30cd08b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 980822070f4ca5406566a15e7ca23ee48391f37273004a74dc964a3ce6407308 [INFO] running `Command { std: "docker" "start" "-a" "980822070f4ca5406566a15e7ca23ee48391f37273004a74dc964a3ce6407308", kill_on_drop: false }` [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling embedded-io-async v0.6.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Compiling embedded-io v0.6.1 [INFO] [stderr] Compiling embassy-time-driver v0.2.1 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling smoltcp v0.12.0 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling embassy-sync v0.7.2 [INFO] [stderr] Compiling managed v0.8.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-nal v0.9.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling heapless v0.9.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling embassy-net-driver v0.2.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling embassy-futures v0.1.2 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling embedded-nal-async v0.8.0 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Compiling embassy-time v0.5.0 [INFO] [stderr] Compiling embassy-net v0.7.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling myrtio-mqtt v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.76s [INFO] running `Command { std: "docker" "inspect" "980822070f4ca5406566a15e7ca23ee48391f37273004a74dc964a3ce6407308", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "980822070f4ca5406566a15e7ca23ee48391f37273004a74dc964a3ce6407308", kill_on_drop: false }` [INFO] [stdout] 980822070f4ca5406566a15e7ca23ee48391f37273004a74dc964a3ce6407308 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc7b4df6b02aa82427208ff36cc2e543d6cacb79db1a4ce470d05265b54db83c [INFO] running `Command { std: "docker" "start" "-a" "dc7b4df6b02aa82427208ff36cc2e543d6cacb79db1a4ce470d05265b54db83c", kill_on_drop: false }` [INFO] [stderr] Compiling myrtio-mqtt v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `myrtio_mqtt::runtime::Context` [INFO] [stdout] --> examples/dynamic_topics_module.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | runtime::{Context, MqttModule, TopicRegistry}, [INFO] [stdout] | ^^^^^^^ no `Context` in `runtime` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] core::task::Context [INFO] [stdout] futures::task::Context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `myrtio_mqtt::runtime::Context` [INFO] [stdout] --> examples/const_topics_module.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | runtime::{Context, MqttModule, TopicRegistry}, [INFO] [stdout] | ^^^^^^^ no `Context` in `runtime` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] core::task::Context [INFO] [stdout] futures::task::Context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> examples/dynamic_topics_module.rs:86:61 [INFO] [stdout] | [INFO] [stdout] 86 | impl<'a, T, const MAX_TOPICS: usize, const BUF_SIZE: usize> MqttModule<'a, T, MAX_TOPICS, BUF_SIZE> [INFO] [stdout] | ^^^^^^^^^^ -- help: remove the lifetime argument [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 lifetime parameters [INFO] [stdout] --> src/runtime/traits.rs:131:11 [INFO] [stdout] | [INFO] [stdout] 131 | pub trait MqttModule { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> examples/const_topics_module.rs:70:61 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'a, T, const MAX_TOPICS: usize, const BUF_SIZE: usize> MqttModule<'a, T, MAX_TOPICS, BUF_SIZE> [INFO] [stdout] | ^^^^^^^^^^ -- help: remove the lifetime argument [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 lifetime parameters [INFO] [stdout] --> src/runtime/traits.rs:131:11 [INFO] [stdout] | [INFO] [stdout] 131 | pub trait MqttModule { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> examples/const_topics_module.rs:70:61 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'a, T, const MAX_TOPICS: usize, const BUF_SIZE: usize> MqttModule<'a, T, MAX_TOPICS, BUF_SIZE> [INFO] [stdout] | ^^^^^^^^^^ ---------------------- help: remove the unnecessary generic arguments [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 generic parameters [INFO] [stdout] --> src/runtime/traits.rs:131:11 [INFO] [stdout] | [INFO] [stdout] 131 | pub trait MqttModule { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> examples/const_topics_module.rs:79:50 [INFO] [stdout] | [INFO] [stdout] 79 | fn register<'reg>(&'reg self, registry: &mut TopicRegistry<'reg, MAX_TOPICS>) { [INFO] [stdout] | ^^^^^^^^^^^^^ ---- help: remove the lifetime argument [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> src/runtime/registry.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct TopicRegistry { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0207]: the type parameter `T` is not constrained by the impl trait, self type, or predicates [INFO] [stdout] --> examples/const_topics_module.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'a, T, const MAX_TOPICS: usize, const BUF_SIZE: usize> MqttModule<'a, T, MAX_TOPICS, BUF_SIZE> [INFO] [stdout] | ^ unconstrained type parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0207]: the const parameter `MAX_TOPICS` is not constrained by the impl trait, self type, or predicates [INFO] [stdout] --> examples/const_topics_module.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'a, T, const MAX_TOPICS: usize, const BUF_SIZE: usize> MqttModule<'a, T, MAX_TOPICS, BUF_SIZE> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ unconstrained const parameter [INFO] [stdout] | [INFO] [stdout] = note: expressions using a const parameter must map each value to a distinct output value [INFO] [stdout] = note: proving the result of expressions other than the parameter are unique is not supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 3 generic arguments were supplied [INFO] [stdout] --> examples/dynamic_topics_module.rs:86:61 [INFO] [stdout] | [INFO] [stdout] 86 | impl<'a, T, const MAX_TOPICS: usize, const BUF_SIZE: usize> MqttModule<'a, T, MAX_TOPICS, BUF_SIZE> [INFO] [stdout] | ^^^^^^^^^^ ---------------------- help: remove the unnecessary generic arguments [INFO] [stdout] | | [INFO] [stdout] | expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 0 generic parameters [INFO] [stdout] --> src/runtime/traits.rs:131:11 [INFO] [stdout] | [INFO] [stdout] 131 | pub trait MqttModule { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> examples/dynamic_topics_module.rs:97:50 [INFO] [stdout] | [INFO] [stdout] 97 | fn register<'reg>(&'reg self, registry: &mut TopicRegistry<'reg, MAX_TOPICS>) { [INFO] [stdout] | ^^^^^^^^^^^^^ ---- help: remove the lifetime argument [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> src/runtime/registry.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct TopicRegistry { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0207]: the type parameter `T` is not constrained by the impl trait, self type, or predicates [INFO] [stdout] --> examples/dynamic_topics_module.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | impl<'a, T, const MAX_TOPICS: usize, const BUF_SIZE: usize> MqttModule<'a, T, MAX_TOPICS, BUF_SIZE> [INFO] [stdout] | ^ unconstrained type parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0207]: the const parameter `BUF_SIZE` is not constrained by the impl trait, self type, or predicates [INFO] [stdout] --> examples/const_topics_module.rs:70:38 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'a, T, const MAX_TOPICS: usize, const BUF_SIZE: usize> MqttModule<'a, T, MAX_TOPICS, BUF_SIZE> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unconstrained const parameter [INFO] [stdout] | [INFO] [stdout] = note: expressions using a const parameter must map each value to a distinct output value [INFO] [stdout] = note: proving the result of expressions other than the parameter are unique is not supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0207]: the const parameter `MAX_TOPICS` is not constrained by the impl trait, self type, or predicates [INFO] [stdout] --> examples/dynamic_topics_module.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | impl<'a, T, const MAX_TOPICS: usize, const BUF_SIZE: usize> MqttModule<'a, T, MAX_TOPICS, BUF_SIZE> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ unconstrained const parameter [INFO] [stdout] | [INFO] [stdout] = note: expressions using a const parameter must map each value to a distinct output value [INFO] [stdout] = note: proving the result of expressions other than the parameter are unique is not supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0207]: the const parameter `BUF_SIZE` is not constrained by the impl trait, self type, or predicates [INFO] [stdout] --> examples/dynamic_topics_module.rs:86:38 [INFO] [stdout] | [INFO] [stdout] 86 | impl<'a, T, const MAX_TOPICS: usize, const BUF_SIZE: usize> MqttModule<'a, T, MAX_TOPICS, BUF_SIZE> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unconstrained const parameter [INFO] [stdout] | [INFO] [stdout] = note: expressions using a const parameter must map each value to a distinct output value [INFO] [stdout] = note: proving the result of expressions other than the parameter are unique is not supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0207, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0207, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `myrtio-mqtt` (example "dynamic_topics_module") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `myrtio-mqtt` (example "const_topics_module") due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "dc7b4df6b02aa82427208ff36cc2e543d6cacb79db1a4ce470d05265b54db83c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc7b4df6b02aa82427208ff36cc2e543d6cacb79db1a4ce470d05265b54db83c", kill_on_drop: false }` [INFO] [stdout] dc7b4df6b02aa82427208ff36cc2e543d6cacb79db1a4ce470d05265b54db83c