[INFO] fetching crate rtic-syntax 1.0.0... [INFO] testing rtic-syntax-1.0.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate rtic-syntax 1.0.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate rtic-syntax 1.0.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rtic-syntax 1.0.0 [INFO] finished tweaking crates.io crate rtic-syntax 1.0.0 [INFO] tweaked toml for crates.io crate rtic-syntax 1.0.0 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate crates.io crate rtic-syntax 1.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trybuild v1.0.32 [INFO] [stderr] Downloaded syn v1.0.39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 87fca96ee56477ed195eaab55458ebdb4661ffc69ce729518d8c676b566afb7b [INFO] running `Command { std: "docker" "start" "-a" "87fca96ee56477ed195eaab55458ebdb4661ffc69ce729518d8c676b566afb7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87fca96ee56477ed195eaab55458ebdb4661ffc69ce729518d8c676b566afb7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87fca96ee56477ed195eaab55458ebdb4661ffc69ce729518d8c676b566afb7b", kill_on_drop: false }` [INFO] [stdout] 87fca96ee56477ed195eaab55458ebdb4661ffc69ce729518d8c676b566afb7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 48a499cfe320d3d151c379f9f5f4f0c330c4b9e203280a9179df199d14a6902d [INFO] running `Command { std: "docker" "start" "-a" "48a499cfe320d3d151c379f9f5f4f0c330c4b9e203280a9179df199d14a6902d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rtic-syntax v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.30s [INFO] running `Command { std: "docker" "inspect" "48a499cfe320d3d151c379f9f5f4f0c330c4b9e203280a9179df199d14a6902d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48a499cfe320d3d151c379f9f5f4f0c330c4b9e203280a9179df199d14a6902d", kill_on_drop: false }` [INFO] [stdout] 48a499cfe320d3d151c379f9f5f4f0c330c4b9e203280a9179df199d14a6902d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 504870bcd1ab25e5c7a00cb220e61833bf8c81738b6efa59376f39f908ca7760 [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" "504870bcd1ab25e5c7a00cb220e61833bf8c81738b6efa59376f39f908ca7760", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling trybuild v1.0.32 [INFO] [stderr] Compiling rtic-syntax v1.0.0 (/opt/rustwide/workdir) [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: 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] = note: `init` is in scope, but it is a function, not an attribute [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] = note: `idle` is in scope, but it is a function, not an attribute [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[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] [stderr] error: could not compile `rtic-syntax` due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/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: 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] = note: `init` is in scope, but it is a function, not an attribute [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] = note: `idle` is in scope, but it is a function, not an attribute [INFO] [stdout] [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] [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 `init` in this scope [INFO] [stdout] --> examples/test_nr.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[init] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `init` is in scope, but it is a function, not an attribute [INFO] [stdout] [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] = note: `idle` is in scope, but it is a function, not an attribute [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] [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] [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: 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "504870bcd1ab25e5c7a00cb220e61833bf8c81738b6efa59376f39f908ca7760", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "504870bcd1ab25e5c7a00cb220e61833bf8c81738b6efa59376f39f908ca7760", kill_on_drop: false }` [INFO] [stdout] 504870bcd1ab25e5c7a00cb220e61833bf8c81738b6efa59376f39f908ca7760