[INFO] fetching crate rtic-syntax 0.5.0-alpha.4... [INFO] checking rtic-syntax-0.5.0-alpha.4 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate rtic-syntax 0.5.0-alpha.4 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate rtic-syntax 0.5.0-alpha.4 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rtic-syntax 0.5.0-alpha.4 [INFO] finished tweaking crates.io crate rtic-syntax 0.5.0-alpha.4 [INFO] tweaked toml for crates.io crate rtic-syntax 0.5.0-alpha.4 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate crates.io crate rtic-syntax 0.5.0-alpha.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5012dfcaabf44cbcfb0a9c659be2f46ec92651abca8f841c6c5a80fbd5f7818 [INFO] running `Command { std: "docker" "start" "-a" "a5012dfcaabf44cbcfb0a9c659be2f46ec92651abca8f841c6c5a80fbd5f7818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5012dfcaabf44cbcfb0a9c659be2f46ec92651abca8f841c6c5a80fbd5f7818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5012dfcaabf44cbcfb0a9c659be2f46ec92651abca8f841c6c5a80fbd5f7818", kill_on_drop: false }` [INFO] [stdout] a5012dfcaabf44cbcfb0a9c659be2f46ec92651abca8f841c6c5a80fbd5f7818 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74cb89330ce25f365244849b9149adce346a73c4b3fb126dd8a4daaf303b3141 [INFO] running `Command { std: "docker" "start" "-a" "74cb89330ce25f365244849b9149adce346a73c4b3fb126dd8a4daaf303b3141", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Checking quote v1.0.7 [INFO] [stderr] Checking syn v1.0.39 [INFO] [stderr] Checking rtic-syntax v0.5.0-alpha.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Checking serde v1.0.115 [INFO] [stderr] Checking serde_json v1.0.57 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking trybuild v1.0.32 [INFO] [stdout] error[E0432]: unresolved imports `crate::bar`, `crate::foo` [INFO] [stdout] --> examples/extern_task.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{bar, foo}; [INFO] [stdout] | ^^^ ^^^ no `foo` in the root [INFO] [stdout] | | [INFO] [stdout] | no `bar` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mock` [INFO] [stdout] --> examples/extern_task.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[mock::app(parse_binds, dispatchers = [UART1])] [INFO] [stdout] | ^^^^ use of undeclared crate or module `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mock` [INFO] [stdout] --> examples/test_nr.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[mock::app(parse_binds, [INFO] [stdout] | ^^^^ use of undeclared crate or module `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mock` [INFO] [stdout] --> examples/dispatchers.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[mock::app(parse_binds, [INFO] [stdout] | ^^^^ use of undeclared crate or module `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `shared` in this scope [INFO] [stdout] --> examples/test_nr.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[shared] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `local` in this scope [INFO] [stdout] --> examples/test_nr.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[local] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `shared` in this scope [INFO] [stdout] --> examples/extern_task.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[shared] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `local` in this scope [INFO] [stdout] --> examples/extern_task.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[local] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `init` in this scope [INFO] [stdout] --> examples/extern_task.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | #[init] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `idle` in this scope [INFO] [stdout] --> examples/extern_task.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[idle] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> examples/extern_task.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | #[task(shared = [a], priority = 2)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> examples/extern_task.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[task(binds = UART0, shared = [a], priority = 2)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `init` [INFO] [stdout] --> examples/extern_task.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | fn init(_: init::Context) -> (Shared, Local, init::Monotonics) {} [INFO] [stdout] | ^^^^ use of undeclared crate or module `init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `init` [INFO] [stdout] --> examples/extern_task.rs:17:50 [INFO] [stdout] | [INFO] [stdout] 17 | fn init(_: init::Context) -> (Shared, Local, init::Monotonics) {} [INFO] [stdout] | ^^^^ use of undeclared crate or module `init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `idle` [INFO] [stdout] --> examples/extern_task.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | fn idle(_: idle::Context) -> ! {} [INFO] [stdout] | ^^^^ use of undeclared crate or module `idle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `extern_task` [INFO] [stdout] --> examples/extern_task.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! examples/extern_task [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | #[mock::app(parse_binds, dispatchers = [UART1])] [INFO] [stdout] 4 | | mod app { [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `examples/extern_task.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `init` in this scope [INFO] [stdout] --> examples/test_nr.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[init] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/extern_task.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | fn idle(_: idle::Context) -> ! {} [INFO] [stdout] | ---- ^ expected `!`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected type `!` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `idle` in this scope [INFO] [stdout] --> examples/test_nr.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[idle] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> examples/test_nr.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[task] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> examples/test_nr.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[task(local = [ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> examples/test_nr.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[task(local = [ohno: u32 = 0])] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> examples/test_nr.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | #[task(local = [ohno: u32 = 0])] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rtic-syntax` due to 14 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `init` [INFO] [stdout] --> examples/test_nr.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | fn init(_: init::Context) -> (Shared, Local, init::Monotonics) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `init` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `init` [INFO] [stdout] --> examples/test_nr.rs:29:50 [INFO] [stdout] | [INFO] [stdout] 29 | fn init(_: init::Context) -> (Shared, Local, init::Monotonics) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `init` [INFO] [stdout] --> examples/test_nr.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | init::LateResources {} [INFO] [stdout] | ^^^^ use of undeclared crate or module `init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `idle` [INFO] [stdout] --> examples/test_nr.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | fn idle(_: idle::Context) -> ! { [INFO] [stdout] | ^^^^ use of undeclared crate or module `idle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `t1` [INFO] [stdout] --> examples/test_nr.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | fn t1(_: t1::Context) {} [INFO] [stdout] | ^^ use of undeclared crate or module `t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `t2` [INFO] [stdout] --> examples/test_nr.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | fn t2(_: t2::Context) {} [INFO] [stdout] | ^^ use of undeclared crate or module `t2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `t3` [INFO] [stdout] --> examples/test_nr.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | fn t3(_: t3::Context) {} [INFO] [stdout] | ^^ use of undeclared crate or module `t3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `t4` [INFO] [stdout] --> examples/test_nr.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | fn t4(_: t4::Context) {} [INFO] [stdout] | ^^ use of undeclared crate or module `t4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `test_nr` [INFO] [stdout] --> examples/test_nr.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! Full syntax [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | #[mock::app(parse_binds, [INFO] [stdout] 4 | | dispatchers = [ [INFO] [stdout] ... | [INFO] [stdout] 53 | | fn t4(_: t4::Context) {} [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `examples/test_nr.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `shared` in this scope [INFO] [stdout] --> examples/dispatchers.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[shared] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `local` in this scope [INFO] [stdout] --> examples/dispatchers.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[local] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `init` in this scope [INFO] [stdout] --> examples/dispatchers.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[init] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `idle` in this scope [INFO] [stdout] --> examples/dispatchers.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[idle] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> examples/dispatchers.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[task(binds = UART0)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `init` [INFO] [stdout] --> examples/dispatchers.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | fn init(_: init::Context) -> (Shared, Local, init::Monotonics) {} [INFO] [stdout] | ^^^^ use of undeclared crate or module `init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `init` [INFO] [stdout] --> examples/dispatchers.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | fn init(_: init::Context) -> (Shared, Local, init::Monotonics) {} [INFO] [stdout] | ^^^^ use of undeclared crate or module `init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `idle` [INFO] [stdout] --> examples/dispatchers.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | fn idle(_: idle::Context) -> ! {} [INFO] [stdout] | ^^^^ use of undeclared crate or module `idle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `foo` [INFO] [stdout] --> examples/dispatchers.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | fn foo(_: foo::Context) {} [INFO] [stdout] | ^^^ use of undeclared crate or module `foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `dispatchers` [INFO] [stdout] --> examples/dispatchers.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! Test binds [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | #[mock::app(parse_binds, [INFO] [stdout] 4 | | dispatchers = [ [INFO] [stdout] ... | [INFO] [stdout] 25 | | fn foo(_: foo::Context) {} [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `examples/dispatchers.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/dispatchers.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | fn idle(_: idle::Context) -> ! {} [INFO] [stdout] | ---- ^ expected `!`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected type `!` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "74cb89330ce25f365244849b9149adce346a73c4b3fb126dd8a4daaf303b3141", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74cb89330ce25f365244849b9149adce346a73c4b3fb126dd8a4daaf303b3141", kill_on_drop: false }` [INFO] [stdout] 74cb89330ce25f365244849b9149adce346a73c4b3fb126dd8a4daaf303b3141