[INFO] fetching crate rtt-target 0.6.2... [INFO] testing rtt-target-0.6.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate rtt-target 0.6.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate rtt-target 0.6.2 [INFO] finished tweaking crates.io crate rtt-target 0.6.2 [INFO] tweaked toml for crates.io crate rtt-target 0.6.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rtt-target 0.6.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rtt-target 0.6.2 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99b87d54c9b7d46a0cb3f2c2ec6a006bbbd8c66017433dee7d8ab222d832a4a0 [INFO] running `Command { std: "docker" "start" "-a" "99b87d54c9b7d46a0cb3f2c2ec6a006bbbd8c66017433dee7d8ab222d832a4a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99b87d54c9b7d46a0cb3f2c2ec6a006bbbd8c66017433dee7d8ab222d832a4a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99b87d54c9b7d46a0cb3f2c2ec6a006bbbd8c66017433dee7d8ab222d832a4a0", kill_on_drop: false }` [INFO] [stdout] 99b87d54c9b7d46a0cb3f2c2ec6a006bbbd8c66017433dee7d8ab222d832a4a0 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8af96db89c5c3070545868e173ba240702a5a4985b7a83585ba14e94cff50af6 [INFO] running `Command { std: "docker" "start" "-a" "8af96db89c5c3070545868e173ba240702a5a4985b7a83585ba14e94cff50af6", kill_on_drop: false }` [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling ufmt-write v0.1.0 [INFO] [stderr] Compiling rtt-target v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:228:14 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn u(&mut self) -> uWriter { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 228 | pub fn u(&mut self) -> uWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:397:18 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn write(&mut self, number: u8) -> TerminalWriter { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 397 | pub fn write(&mut self, number: u8) -> TerminalWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.25s [INFO] running `Command { std: "docker" "inspect" "8af96db89c5c3070545868e173ba240702a5a4985b7a83585ba14e94cff50af6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8af96db89c5c3070545868e173ba240702a5a4985b7a83585ba14e94cff50af6", kill_on_drop: false }` [INFO] [stdout] 8af96db89c5c3070545868e173ba240702a5a4985b7a83585ba14e94cff50af6 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f99e7a7690db8656937da2e28d782331905e5d4ca1fc83f7d02a65e031c7d96d [INFO] running `Command { std: "docker" "start" "-a" "f99e7a7690db8656937da2e28d782331905e5d4ca1fc83f7d02a65e031c7d96d", kill_on_drop: false }` [INFO] [stderr] Compiling rtt-target v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:228:14 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn u(&mut self) -> uWriter { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 228 | pub fn u(&mut self) -> uWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:397:18 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn write(&mut self, number: u8) -> TerminalWriter { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 397 | pub fn write(&mut self, number: u8) -> TerminalWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:228:14 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn u(&mut self) -> uWriter { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 228 | pub fn u(&mut self) -> uWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:397:18 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn write(&mut self, number: u8) -> TerminalWriter { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 397 | pub fn write(&mut self, number: u8) -> TerminalWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "f99e7a7690db8656937da2e28d782331905e5d4ca1fc83f7d02a65e031c7d96d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f99e7a7690db8656937da2e28d782331905e5d4ca1fc83f7d02a65e031c7d96d", kill_on_drop: false }` [INFO] [stdout] f99e7a7690db8656937da2e28d782331905e5d4ca1fc83f7d02a65e031c7d96d [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0e21375c39b19de3224a20c0c5a18db4d3db41f337f2df5aeb05dd137582b061 [INFO] running `Command { std: "docker" "start" "-a" "0e21375c39b19de3224a20c0c5a18db4d3db41f337f2df5aeb05dd137582b061", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:228:14 [INFO] [stderr] | [INFO] [stderr] 228 | pub fn u(&mut self) -> uWriter { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 228 | pub fn u(&mut self) -> uWriter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:397:18 [INFO] [stderr] | [INFO] [stderr] 397 | pub fn write(&mut self, number: u8) -> TerminalWriter { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 397 | pub fn write(&mut self, number: u8) -> TerminalWriter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rtt-target` (lib) generated 2 warnings (run `cargo fix --lib -p rtt-target` to apply 2 suggestions) [INFO] [stderr] warning: `rtt-target` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rtt_target-cc7a11eadeee1826) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Doc-tests rtt_target [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/init.rs - init::rtt_init_default (line 212) ... FAILED [INFO] [stdout] test src/lib.rs - (line 82) ... FAILED [INFO] [stdout] test src/lib.rs - (line 142) ... FAILED [INFO] [stdout] test src/lib.rs - UpChannel::u (line 224) ... FAILED [INFO] [stdout] test src/init.rs - init::rtt_init (line 121) ... FAILED [INFO] [stdout] test src/lib.rs - (line 100) ... FAILED [INFO] [stdout] test src/init.rs - init::rtt_init (line 76) ... FAILED [INFO] [stdout] test src/init.rs - init::rtt_init (line 130) ... FAILED [INFO] [stdout] test src/lib.rs - (line 121) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/init.rs - init::rtt_init_default (line 212) stdout ---- [INFO] [stdout] error: cannot find macro `rtt_init` in this scope [INFO] [stdout] --> src/init.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | rtt_init! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 212 + use rtt_target::rtt_init; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 82) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rtt_target::rtt_init_log` [INFO] [stdout] --> src/lib.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | use rtt_target::rtt_init_log; [INFO] [stdout] | ^^^^^^^^^^^^------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `rtt_init` [INFO] [stdout] | no `rtt_init_log` in the root [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `log` [INFO] [stdout] --> src/lib.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | log::info!("Hello, world!"); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 142) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `read` in this scope [INFO] [stdout] --> src/lib.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | read = channels.down.0.read(&mut read_buf); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 148 | let read = channels.down.0.read(&mut read_buf); [INFO] [stdout] | +++ [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 144 + use std::fs::read; [INFO] [stdout] | [INFO] [stdout] 144 + use std::ptr::read; [INFO] [stdout] | [INFO] [stdout] 144 + use core::ptr::read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `channels` in this scope [INFO] [stdout] --> src/lib.rs:148:16 [INFO] [stdout] | [INFO] [stdout] 148 | read = channels.down.0.read(&mut read_buf); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `read_buf` in this scope [INFO] [stdout] --> src/lib.rs:148:42 [INFO] [stdout] | [INFO] [stdout] 148 | read = channels.down.0.read(&mut read_buf); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `read` in this scope [INFO] [stdout] --> src/lib.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | for i in 0..read { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 144 + use std::fs::read; [INFO] [stdout] | [INFO] [stdout] 144 + use std::ptr::read; [INFO] [stdout] | [INFO] [stdout] 144 + use core::ptr::read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `read_buf` in this scope [INFO] [stdout] --> src/lib.rs:150:19 [INFO] [stdout] | [INFO] [stdout] 150 | match read_buf[i] as char { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0571]: `break` with value from a `for` loop [INFO] [stdout] --> src/lib.rs:151:24 [INFO] [stdout] | [INFO] [stdout] 149 | for i in 0..read { [INFO] [stdout] | ---------------- you can't `break` with a value in a `for` loop [INFO] [stdout] 150 | match read_buf[i] as char { [INFO] [stdout] 151 | '0' => break 0, [INFO] [stdout] | ^^^^^^^ can only break with a value inside `loop` or breakable block [INFO] [stdout] | [INFO] [stdout] help: use `break` on its own without a value inside this `for` loop [INFO] [stdout] | [INFO] [stdout] 151 - '0' => break 0, [INFO] [stdout] 151 + '0' => break, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0571]: `break` with value from a `for` loop [INFO] [stdout] --> src/lib.rs:152:24 [INFO] [stdout] | [INFO] [stdout] 149 | for i in 0..read { [INFO] [stdout] | ---------------- you can't `break` with a value in a `for` loop [INFO] [stdout] ... [INFO] [stdout] 152 | '1' => break 1, [INFO] [stdout] | ^^^^^^^ can only break with a value inside `loop` or breakable block [INFO] [stdout] | [INFO] [stdout] help: use `break` on its own without a value inside this `for` loop [INFO] [stdout] | [INFO] [stdout] 152 - '1' => break 1, [INFO] [stdout] 152 + '1' => break, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0571. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - UpChannel::u (line 224) stdout ---- [INFO] [stdout] error: cannot find macro `uwriteln` in this scope [INFO] [stdout] --> src/lib.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | uwriteln!(output.u(), "Hello, ufmt!"); [INFO] [stdout] | ^^^^^^^^ help: a macro with a similar name exists: `writeln` [INFO] [stdout] | [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/macros/mod.rs:645:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `writeln` defined here [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `channels` in this scope [INFO] [stdout] --> src/lib.rs:225:18 [INFO] [stdout] | [INFO] [stdout] 225 | let mut output = channels.up.0; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/init.rs - init::rtt_init (line 121) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `UpChannel` in this scope [INFO] [stdout] --> src/init.rs:123:10 [INFO] [stdout] | [INFO] [stdout] 123 | up: (UpChannel, UpChannel), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 121 + use rtt_target::UpChannel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UpChannel` in this scope [INFO] [stdout] --> src/init.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | up: (UpChannel, UpChannel), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 121 + use rtt_target::UpChannel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DownChannel` in this scope [INFO] [stdout] --> src/init.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | down: (DownChannel,), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 121 + use rtt_target::DownChannel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 100) stdout ---- [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcy7wToG/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librtt_target-49efc156d8c54967,libcritical_section-7ae85dd10a4c8596,libportable_atomic-89fa909e696c8203,libufmt_write-32cc3a1b093b461b}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcy7wToG/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/rustdoctest93rN7Q/rust_out" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: _critical_section_1_0_acquire [INFO] [stdout] >>> referenced by rust_out.260fb57164326a3b-cgu.0 [INFO] [stdout] >>> /tmp/rustdoctest93rN7Q/rust_out.rust_out.260fb57164326a3b-cgu.0.rcgu.o:(critical_section::with::h3fe1ca2d4e15cc39) [INFO] [stdout] >>> referenced by lib.rs:202 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/critical-section-1.2.0/src/lib.rs:202) [INFO] [stdout] >>> rtt_target-49efc156d8c54967.rtt_target.23d9e24da8b9959-cgu.0.rcgu.o:(critical_section::with::h0e7d5f7f535915a2) in archive /opt/rustwide/target/debug/deps/librtt_target-49efc156d8c54967.rlib [INFO] [stdout] >>> referenced by lib.rs:202 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/critical-section-1.2.0/src/lib.rs:202) [INFO] [stdout] >>> rtt_target-49efc156d8c54967.rtt_target.23d9e24da8b9959-cgu.0.rcgu.o:(critical_section::with::hb28d7a3735721a1f) in archive /opt/rustwide/target/debug/deps/librtt_target-49efc156d8c54967.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: _critical_section_1_0_release [INFO] [stdout] >>> referenced by lib.rs:219 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/critical-section-1.2.0/src/lib.rs:219) [INFO] [stdout] >>> rtt_target-49efc156d8c54967.rtt_target.23d9e24da8b9959-cgu.0.rcgu.o:(core::ptr::drop_in_place$LT$critical_section..with..Guard$GT$::h2b557ac57447f798) in archive /opt/rustwide/target/debug/deps/librtt_target-49efc156d8c54967.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/init.rs - init::rtt_init (line 76) stdout ---- [INFO] [stdout] error: cannot find macro `rtt_init` in this scope [INFO] [stdout] --> src/init.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | let channels = rtt_init! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 76 + use rtt_target::rtt_init; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/init.rs - init::rtt_init (line 130) stdout ---- [INFO] [stdout] error: cannot find macro `rtt_init` in this scope [INFO] [stdout] --> src/init.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 133 | let channels = rtt_init! { ... }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 130 + use rtt_target::rtt_init; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 121) stdout ---- [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcrdHcTs/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librtt_target-49efc156d8c54967,libcritical_section-7ae85dd10a4c8596,libportable_atomic-89fa909e696c8203,libufmt_write-32cc3a1b093b461b}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcrdHcTs/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/rustdoctest6JaKWJ/rust_out" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: _critical_section_1_0_acquire [INFO] [stdout] >>> referenced by rust_out.260fb57164326a3b-cgu.0 [INFO] [stdout] >>> /tmp/rustdoctest6JaKWJ/rust_out.rust_out.260fb57164326a3b-cgu.0.rcgu.o:(critical_section::with::h3fe1ca2d4e15cc39) [INFO] [stdout] >>> referenced by lib.rs:202 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/critical-section-1.2.0/src/lib.rs:202) [INFO] [stdout] >>> rtt_target-49efc156d8c54967.rtt_target.23d9e24da8b9959-cgu.0.rcgu.o:(critical_section::with::h0e7d5f7f535915a2) in archive /opt/rustwide/target/debug/deps/librtt_target-49efc156d8c54967.rlib [INFO] [stdout] >>> referenced by lib.rs:202 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/critical-section-1.2.0/src/lib.rs:202) [INFO] [stdout] >>> rtt_target-49efc156d8c54967.rtt_target.23d9e24da8b9959-cgu.0.rcgu.o:(critical_section::with::hb28d7a3735721a1f) in archive /opt/rustwide/target/debug/deps/librtt_target-49efc156d8c54967.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: _critical_section_1_0_release [INFO] [stdout] >>> referenced by lib.rs:219 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/critical-section-1.2.0/src/lib.rs:219) [INFO] [stdout] >>> rtt_target-49efc156d8c54967.rtt_target.23d9e24da8b9959-cgu.0.rcgu.o:(core::ptr::drop_in_place$LT$critical_section..with..Guard$GT$::h2b557ac57447f798) in archive /opt/rustwide/target/debug/deps/librtt_target-49efc156d8c54967.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/init.rs - init::rtt_init (line 121) [INFO] [stdout] src/init.rs - init::rtt_init (line 130) [INFO] [stdout] src/init.rs - init::rtt_init (line 76) [INFO] [stdout] src/init.rs - init::rtt_init_default (line 212) [INFO] [stdout] src/lib.rs - (line 100) [INFO] [stdout] src/lib.rs - (line 121) [INFO] [stdout] src/lib.rs - (line 142) [INFO] [stdout] src/lib.rs - (line 82) [INFO] [stdout] src/lib.rs - UpChannel::u (line 224) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0e21375c39b19de3224a20c0c5a18db4d3db41f337f2df5aeb05dd137582b061", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e21375c39b19de3224a20c0c5a18db4d3db41f337f2df5aeb05dd137582b061", kill_on_drop: false }` [INFO] [stdout] 0e21375c39b19de3224a20c0c5a18db4d3db41f337f2df5aeb05dd137582b061