[INFO] fetching crate rtfm-syntax 0.4.0... [INFO] checking rtfm-syntax-0.4.0 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] extracting crate rtfm-syntax 0.4.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate rtfm-syntax 0.4.0 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rtfm-syntax 0.4.0 [INFO] finished tweaking crates.io crate rtfm-syntax 0.4.0 [INFO] tweaked toml for crates.io crate rtfm-syntax 0.4.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate rtfm-syntax 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7722368e6b606dd468d179710d9d8cd2dfe6ff06e46ed078a1e13d559e2f747 [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" "e7722368e6b606dd468d179710d9d8cd2dfe6ff06e46ed078a1e13d559e2f747", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7722368e6b606dd468d179710d9d8cd2dfe6ff06e46ed078a1e13d559e2f747", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7722368e6b606dd468d179710d9d8cd2dfe6ff06e46ed078a1e13d559e2f747", kill_on_drop: false }` [INFO] [stdout] e7722368e6b606dd468d179710d9d8cd2dfe6ff06e46ed078a1e13d559e2f747 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bf24296de38d8741fe1f2f0682777186c94d01ac327a302fd65434e75d43c61 [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" "2bf24296de38d8741fe1f2f0682777186c94d01ac327a302fd65434e75d43c61", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking proc-macro2 v1.0.6 [INFO] [stderr] Checking quote v1.0.2 [INFO] [stderr] Checking rtfm-syntax v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Checking toml v0.5.5 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking trybuild v1.0.17 [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[E0428]: the name `init` is defined multiple times [INFO] [stdout] --> examples/multi.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 15 | fn init(_: init::Context) -> init::LateResources { [INFO] [stdout] | ------------------------------------------------ previous definition of the value `init` here [INFO] [stdout] ... [INFO] [stdout] 23 | fn init(_: init::Context) -> init::LateResources { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `init` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `init` must be defined only once in the value namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `idle` is defined multiple times [INFO] [stdout] --> examples/multi.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn idle(_: idle::Context) -> ! { [INFO] [stdout] | ------------------------------ previous definition of the value `idle` here [INFO] [stdout] ... [INFO] [stdout] 37 | fn idle(_: idle::Context) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `idle` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `idle` must be defined only once in the value namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mock` [INFO] [stdout] --> examples/multi.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[mock::app(cores = 2, parse_cores, parse_binds)] [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/multi.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | #[init(0)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `init` in this scope [INFO] [stdout] --> examples/multi.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[init(0)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `init` in this scope [INFO] [stdout] --> examples/single.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | #[init(0)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `init` in this scope [INFO] [stdout] --> examples/single.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[init(0)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `init` in this scope [INFO] [stdout] --> examples/single.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[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:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[task( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> examples/single.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[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:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | 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:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | 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:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | fn bar(_: bar::Context, _: u32) { [INFO] [stdout] | ^^^ use of undeclared crate or module `bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `init` in this scope [INFO] [stdout] --> examples/multi.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[init(core = 0, late = [a], spawn = [foo, bar])] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `init` in this scope [INFO] [stdout] --> examples/multi.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[init(core = 1, spawn = [foo, bar])] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `idle` in this scope [INFO] [stdout] --> examples/multi.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[idle(core = 0, spawn = [foo, bar], resources = [&a, b, &c])] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `idle` in this scope [INFO] [stdout] --> examples/multi.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[idle(core = 1, spawn = [foo, bar], resources = [&a, &c, d])] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> examples/multi.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[task(core = 0, spawn = [bar], resources = [b])] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> examples/multi.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | #[task(core = 1, spawn = [foo], resources = [d])] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> examples/multi.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | #[task(core = 0, binds = SysTick)] [INFO] [stdout] | ^^^^ [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 for single core [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | #[mock::app] [INFO] [stdout] 4 | | const APP: () = { [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] 56 | | }; [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:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | *X += 1; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `u32` cannot be dereferenced [INFO] [stdout] --> examples/single.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | *X += 1; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> examples/multi.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | #[task(core = 1, binds = SysTick)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> examples/multi.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | #[task(core = 0, binds = UART0)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `task` in this scope [INFO] [stdout] --> examples/multi.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | #[task(core = 1, 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/multi.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | 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/multi.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | 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/multi.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | init::LateResources { a: 0 } [INFO] [stdout] | ^^^^ use of undeclared crate or module `init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `init` [INFO] [stdout] --> examples/multi.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | 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/multi.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | 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/multi.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | init::LateResources { b: 0 } [INFO] [stdout] | ^^^^ use of undeclared crate or module `init` [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[E0433]: failed to resolve: use of undeclared crate or module `idle` [INFO] [stdout] --> examples/multi.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | 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 `idle` [INFO] [stdout] --> examples/multi.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | 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/multi.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | fn foo(_: foo::Context, _: u32) { [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/multi.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | fn bar(_: bar::Context) { [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 `e0` [INFO] [stdout] --> examples/multi.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | fn e0(_: e0::Context) {} [INFO] [stdout] | ^^ use of undeclared crate or module `e0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `e1` [INFO] [stdout] --> examples/multi.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | fn e1(_: e1::Context) {} [INFO] [stdout] | ^^ use of undeclared crate or module `e1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `i0` [INFO] [stdout] --> examples/multi.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | fn i0(_: i0::Context) {} [INFO] [stdout] | ^^ use of undeclared crate or module `i0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `i1` [INFO] [stdout] --> examples/multi.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | fn i1(_: i1::Context) {} [INFO] [stdout] | ^^ use of undeclared crate or module `i1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `multi` [INFO] [stdout] --> examples/multi.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! Full syntax for multi core [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | #[mock::app(cores = 2, parse_cores, parse_binds)] [INFO] [stdout] 4 | | const APP: () = { [INFO] [stdout] ... | [INFO] [stdout] 63 | | fn i1(_: i1::Context) {} [INFO] [stdout] 64 | | }; [INFO] [stdout] | |__^ consider adding a `main` function to `examples/multi.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0428, E0433, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0428`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rtfm-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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2bf24296de38d8741fe1f2f0682777186c94d01ac327a302fd65434e75d43c61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bf24296de38d8741fe1f2f0682777186c94d01ac327a302fd65434e75d43c61", kill_on_drop: false }` [INFO] [stdout] 2bf24296de38d8741fe1f2f0682777186c94d01ac327a302fd65434e75d43c61