[INFO] fetching crate rtic-syntax 0.5.0-alpha.0... [INFO] checking rtic-syntax-0.5.0-alpha.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate rtic-syntax 0.5.0-alpha.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate rtic-syntax 0.5.0-alpha.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rtic-syntax 0.5.0-alpha.0 [INFO] finished tweaking crates.io crate rtic-syntax 0.5.0-alpha.0 [INFO] tweaked toml for crates.io crate rtic-syntax 0.5.0-alpha.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate crates.io crate rtic-syntax 0.5.0-alpha.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trybuild v1.0.32 [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40dfde596b80549a866ab647d2afac3288761377534ce5cbe94a67f8a9c2631d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "40dfde596b80549a866ab647d2afac3288761377534ce5cbe94a67f8a9c2631d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40dfde596b80549a866ab647d2afac3288761377534ce5cbe94a67f8a9c2631d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40dfde596b80549a866ab647d2afac3288761377534ce5cbe94a67f8a9c2631d", kill_on_drop: false }` [INFO] [stdout] 40dfde596b80549a866ab647d2afac3288761377534ce5cbe94a67f8a9c2631d [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4585fccacc8012e2e26849dfaa32f0474a921df27b69163d6d31a8da4c3e6d4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f4585fccacc8012e2e26849dfaa32f0474a921df27b69163d6d31a8da4c3e6d4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.39 [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 termcolor v1.1.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Checking proc-macro2 v1.0.19 [INFO] [stderr] Checking quote v1.0.7 [INFO] [stderr] Checking rtic-syntax v0.5.0-alpha.0 (/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[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[E0433]: failed to resolve: use of undeclared crate or module `mock` [INFO] [stdout] --> examples/single.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[mock::app] [INFO] [stdout] | ^^^^ use of undeclared crate or module `mock` [INFO] [stdout] [INFO] [stdout] [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/local.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[mock::app] [INFO] [stdout] | ^^^^ use of undeclared crate or module `mock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `init` in this scope [INFO] [stdout] --> examples/dispatchers.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[init] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `idle` in this scope [INFO] [stdout] --> examples/dispatchers.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[idle] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> examples/dispatchers.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[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:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | fn init(_: init::Context) -> 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 `init` [INFO] [stdout] --> examples/dispatchers.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | fn init(_: init::Context) -> 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 `init` [INFO] [stdout] --> examples/dispatchers.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | 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/dispatchers.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | 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:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | 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] 21 | | fn foo(_: foo::Context) {} [INFO] [stdout] 22 | | } [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:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | 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 11 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: could not compile `rtic-syntax` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find attribute `resources` in this scope [INFO] [stdout] --> examples/single.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[resources] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `init` in this scope [INFO] [stdout] --> examples/single.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | #[init(0)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `init` in this scope [INFO] [stdout] --> examples/single.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[init(0)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `init` in this scope [INFO] [stdout] --> examples/single.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[init( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `idle` in this scope [INFO] [stdout] --> examples/single.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[idle( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> examples/single.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[task( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> examples/single.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[task( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `init` [INFO] [stdout] --> examples/single.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | fn init(_: init::Context) -> 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 `init` [INFO] [stdout] --> examples/single.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | fn init(_: init::Context) -> 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 `init` [INFO] [stdout] --> examples/single.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | init::LateResources { a: 0, b: 0 } [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/single.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | 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/single.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | fn foo(_: foo::Context) { [INFO] [stdout] | ^^^ use of undeclared crate or module `foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bar` [INFO] [stdout] --> examples/single.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | fn bar(_: bar::Context, _: u32) { [INFO] [stdout] | ^^^ use of undeclared crate or module `bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `single` [INFO] [stdout] --> examples/single.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! Full syntax [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | #[mock::app] [INFO] [stdout] 4 | | mod app { [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `examples/single.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `u32` cannot be dereferenced [INFO] [stdout] --> examples/single.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | *X += 1; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `u32` cannot be dereferenced [INFO] [stdout] --> examples/single.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | *X += 1; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0601, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `resources` in this scope [INFO] [stdout] --> examples/local.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[resources] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `init` in this scope [INFO] [stdout] --> examples/local.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | #[init(0)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `init` in this scope [INFO] [stdout] --> examples/local.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | #[init(0)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task_local` in this scope [INFO] [stdout] --> examples/local.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | #[task_local] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task_local` in this scope [INFO] [stdout] --> examples/local.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | #[task_local] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `init` in this scope [INFO] [stdout] --> examples/local.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | #[init(0)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `lock_free` in this scope [INFO] [stdout] --> examples/local.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[lock_free] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `init` in this scope [INFO] [stdout] --> examples/local.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[init( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `idle` in this scope [INFO] [stdout] --> examples/local.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[idle( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> examples/local.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[task( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> examples/local.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | #[task( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> examples/local.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | #[task( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `init` [INFO] [stdout] --> examples/local.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | fn init(_: init::Context) -> 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 `init` [INFO] [stdout] --> examples/local.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | fn init(_: init::Context) -> 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 `init` [INFO] [stdout] --> examples/local.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | init::LateResources { a: 0, b: 0 } [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/local.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | 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/local.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | fn foo(_: foo::Context) { [INFO] [stdout] | ^^^ use of undeclared crate or module `foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bar` [INFO] [stdout] --> examples/local.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | fn bar(_: bar::Context, _: u32) { [INFO] [stdout] | ^^^ use of undeclared crate or module `bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `task_local_fn` [INFO] [stdout] --> examples/local.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | fn task_local_fn(_: task_local_fn::Context) {} [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `task_local_fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `local` [INFO] [stdout] --> examples/local.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! examples/local.rs [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | #[mock::app] [INFO] [stdout] 4 | | mod app { [INFO] [stdout] ... | [INFO] [stdout] 63 | | fn task_local_fn(_: task_local_fn::Context) {} [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `examples/local.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `u32` cannot be dereferenced [INFO] [stdout] --> examples/local.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | *X += 1; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `u32` cannot be dereferenced [INFO] [stdout] --> examples/local.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | *X += 1; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0601, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `resources` in this scope [INFO] [stdout] --> examples/extern_task.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[resources] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `init` in this scope [INFO] [stdout] --> examples/extern_task.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[init()] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `idle` in this scope [INFO] [stdout] --> examples/extern_task.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[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(resources = [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, resources = [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:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | fn init(_: init::Context) -> 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 `init` [INFO] [stdout] --> examples/extern_task.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | fn init(_: init::Context) -> 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 `init` [INFO] [stdout] --> examples/extern_task.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | 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/extern_task.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | 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: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f4585fccacc8012e2e26849dfaa32f0474a921df27b69163d6d31a8da4c3e6d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4585fccacc8012e2e26849dfaa32f0474a921df27b69163d6d31a8da4c3e6d4", kill_on_drop: false }` [INFO] [stdout] f4585fccacc8012e2e26849dfaa32f0474a921df27b69163d6d31a8da4c3e6d4