[INFO] fetching crate rtt-target 0.6.1... [INFO] testing rtt-target-0.6.1 against beta-2025-06-26 for beta-1.89-1 [INFO] extracting crate rtt-target 0.6.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate rtt-target 0.6.1 [INFO] finished tweaking crates.io crate rtt-target 0.6.1 [INFO] tweaked toml for crates.io crate rtt-target 0.6.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rtt-target 0.6.1 on toolchain beta-2025-06-26 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-06-26" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-06-26" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 18 packages to latest compatible versions [INFO] [stderr] Adding defmt v0.3.100 (available: v1.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-06-26" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-06-26" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e8b6bc24cc759115f3d9dc061f8ba703fd4eb80311c0ff0fdff084c93267c5a [INFO] running `Command { std: "docker" "start" "-a" "1e8b6bc24cc759115f3d9dc061f8ba703fd4eb80311c0ff0fdff084c93267c5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e8b6bc24cc759115f3d9dc061f8ba703fd4eb80311c0ff0fdff084c93267c5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e8b6bc24cc759115f3d9dc061f8ba703fd4eb80311c0ff0fdff084c93267c5a", kill_on_drop: false }` [INFO] [stdout] 1e8b6bc24cc759115f3d9dc061f8ba703fd4eb80311c0ff0fdff084c93267c5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-06-26" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9605bebaea60386fa2de69be9bbc981bc59a2d073110be17b1e8bf8f44d9f9a4 [INFO] running `Command { std: "docker" "start" "-a" "9605bebaea60386fa2de69be9bbc981bc59a2d073110be17b1e8bf8f44d9f9a4", 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.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:228:14 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn u(&mut self) -> uWriter { [INFO] [stdout] | ^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 228 | pub fn u(&mut self) -> uWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:397:18 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn write(&mut self, number: u8) -> TerminalWriter { [INFO] [stdout] | ^^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 397 | pub fn write(&mut self, number: u8) -> TerminalWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/rtt.rs:66:45 [INFO] [stdout] | [INFO] [stdout] 66 | ptr::write_volatile(&mut self.size, (*buffer).len()); [INFO] [stdout] | ^^------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut [u8]` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[u8]` [INFO] [stdout] --> src/rtt.rs:66:45 [INFO] [stdout] | [INFO] [stdout] 66 | ptr::write_volatile(&mut self.size, (*buffer).len()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/a8d097a4ed17700a4aaa3548dacdbca30c034277/library/core/src/slice/mod.rs:116:5 [INFO] [stdout] = note: `#[warn(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 66 | ptr::write_volatile(&mut self.size, (&(*buffer)).len()); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.22s [INFO] running `Command { std: "docker" "inspect" "9605bebaea60386fa2de69be9bbc981bc59a2d073110be17b1e8bf8f44d9f9a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9605bebaea60386fa2de69be9bbc981bc59a2d073110be17b1e8bf8f44d9f9a4", kill_on_drop: false }` [INFO] [stdout] 9605bebaea60386fa2de69be9bbc981bc59a2d073110be17b1e8bf8f44d9f9a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-06-26" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6656e1673bcccd85f831afbb3108f6232ec753abe3589a78b0582b16a73e6c2 [INFO] running `Command { std: "docker" "start" "-a" "f6656e1673bcccd85f831afbb3108f6232ec753abe3589a78b0582b16a73e6c2", kill_on_drop: false }` [INFO] [stderr] Compiling rtt-target v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:228:14 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn u(&mut self) -> uWriter { [INFO] [stdout] | ^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 228 | pub fn u(&mut self) -> uWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:397:18 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn write(&mut self, number: u8) -> TerminalWriter { [INFO] [stdout] | ^^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 397 | pub fn write(&mut self, number: u8) -> TerminalWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/rtt.rs:66:45 [INFO] [stdout] | [INFO] [stdout] 66 | ptr::write_volatile(&mut self.size, (*buffer).len()); [INFO] [stdout] | ^^------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut [u8]` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[u8]` [INFO] [stdout] --> src/rtt.rs:66:45 [INFO] [stdout] | [INFO] [stdout] 66 | ptr::write_volatile(&mut self.size, (*buffer).len()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/a8d097a4ed17700a4aaa3548dacdbca30c034277/library/core/src/slice/mod.rs:116:5 [INFO] [stdout] = note: `#[warn(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 66 | ptr::write_volatile(&mut self.size, (&(*buffer)).len()); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:228:14 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn u(&mut self) -> uWriter { [INFO] [stdout] | ^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 228 | pub fn u(&mut self) -> uWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:397:18 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn write(&mut self, number: u8) -> TerminalWriter { [INFO] [stdout] | ^^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 397 | pub fn write(&mut self, number: u8) -> TerminalWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/rtt.rs:66:45 [INFO] [stdout] | [INFO] [stdout] 66 | ptr::write_volatile(&mut self.size, (*buffer).len()); [INFO] [stdout] | ^^------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut [u8]` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[u8]` [INFO] [stdout] --> src/rtt.rs:66:45 [INFO] [stdout] | [INFO] [stdout] 66 | ptr::write_volatile(&mut self.size, (*buffer).len()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/a8d097a4ed17700a4aaa3548dacdbca30c034277/library/core/src/slice/mod.rs:116:5 [INFO] [stdout] = note: `#[warn(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 66 | ptr::write_volatile(&mut self.size, (&(*buffer)).len()); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "f6656e1673bcccd85f831afbb3108f6232ec753abe3589a78b0582b16a73e6c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6656e1673bcccd85f831afbb3108f6232ec753abe3589a78b0582b16a73e6c2", kill_on_drop: false }` [INFO] [stdout] f6656e1673bcccd85f831afbb3108f6232ec753abe3589a78b0582b16a73e6c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-06-26" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a1bf3b12df1d5b5c2995859449c59c48a638d255aa63545b1ab66b4c71066a97 [INFO] running `Command { std: "docker" "start" "-a" "a1bf3b12df1d5b5c2995859449c59c48a638d255aa63545b1ab66b4c71066a97", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:228:14 [INFO] [stderr] | [INFO] [stderr] 228 | pub fn u(&mut self) -> uWriter { [INFO] [stderr] | ^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 228 | pub fn u(&mut self) -> uWriter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:397:18 [INFO] [stderr] | [INFO] [stderr] 397 | pub fn write(&mut self, number: u8) -> TerminalWriter { [INFO] [stderr] | ^^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 397 | pub fn write(&mut self, number: u8) -> TerminalWriter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/rtt.rs:66:45 [INFO] [stderr] | [INFO] [stderr] 66 | ptr::write_volatile(&mut self.size, (*buffer).len()); [INFO] [stderr] | ^^------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*mut [u8]` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&[u8]` [INFO] [stderr] --> src/rtt.rs:66:45 [INFO] [stderr] | [INFO] [stderr] 66 | ptr::write_volatile(&mut self.size, (*buffer).len()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] note: method calls to `len` require a reference [INFO] [stderr] --> /rustc/a8d097a4ed17700a4aaa3548dacdbca30c034277/library/core/src/slice/mod.rs:116:5 [INFO] [stderr] = note: `#[warn(dangerous_implicit_autorefs)]` on by default [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 66 | ptr::write_volatile(&mut self.size, (&(*buffer)).len()); [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: `rtt-target` (lib) generated 3 warnings (run `cargo fix --lib -p rtt-target` to apply 2 suggestions) [INFO] [stderr] warning: `rtt-target` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rtt_target-5cc6495606174aa1) [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] [stdout] [INFO] [stderr] Doc-tests rtt_target [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/lib.rs - (line 82) ... FAILED [INFO] [stdout] test src/init.rs - init::rtt_init (line 109) ... FAILED [INFO] [stdout] test src/lib.rs - UpChannel::u (line 224) ... FAILED [INFO] [stdout] test src/init.rs - init::rtt_init (line 67) ... FAILED [INFO] [stdout] test src/init.rs - init::rtt_init_default (line 186) ... FAILED [INFO] [stdout] test src/init.rs - init::rtt_init (line 100) ... FAILED [INFO] [stdout] test src/lib.rs - (line 142) ... FAILED [INFO] [stdout] test src/lib.rs - (line 121) ... FAILED [INFO] [stdout] test src/lib.rs - (line 100) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 4 | 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] 9 | 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/init.rs - init::rtt_init (line 109) stdout ---- [INFO] [stdout] error: cannot find macro `rtt_init` in this scope [INFO] [stdout] --> src/init.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 5 | let channels = rtt_init! { ... }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + 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 - 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] 4 | uwriteln!(output.u(), "Hello, ufmt!"); [INFO] [stdout] | ^^^^^^^^ help: a macro with a similar name exists: `writeln` [INFO] [stdout] --> /rustc/a8d097a4ed17700a4aaa3548dacdbca30c034277/library/core/src/macros/mod.rs:657:1 [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] 3 | 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 67) stdout ---- [INFO] [stdout] error: cannot find macro `rtt_init` in this scope [INFO] [stdout] --> src/init.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 3 | let channels = rtt_init! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + 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_default (line 186) stdout ---- [INFO] [stdout] error: cannot find macro `rtt_init` in this scope [INFO] [stdout] --> src/init.rs:187:1 [INFO] [stdout] | [INFO] [stdout] 3 | rtt_init! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + 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 100) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `UpChannel` in this scope [INFO] [stdout] --> src/init.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 4 | up: (UpChannel, UpChannel), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rtt_target::UpChannel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UpChannel` in this scope [INFO] [stdout] --> src/init.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 4 | up: (UpChannel, UpChannel), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rtt_target::UpChannel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DownChannel` in this scope [INFO] [stdout] --> src/init.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 5 | down: (DownChannel,), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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 142) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `read` in this scope [INFO] [stdout] --> src/lib.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 8 | 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] 8 | let read = channels.down.0.read(&mut read_buf); [INFO] [stdout] | +++ [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 4 + use std::fs::read; [INFO] [stdout] | [INFO] [stdout] 4 + use std::ptr::read; [INFO] [stdout] | [INFO] [stdout] 4 + 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] 8 | 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] 8 | 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] 9 | 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] 4 + use std::fs::read; [INFO] [stdout] | [INFO] [stdout] 4 + use std::ptr::read; [INFO] [stdout] | [INFO] [stdout] 4 + 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] 10 | 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] 9 | for i in 0..read { [INFO] [stdout] | ---------------- you can't `break` with a value in a `for` loop [INFO] [stdout] 10 | match read_buf[i] as char { [INFO] [stdout] 11 | '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] 11 - '0' => break 0, [INFO] [stdout] 11 + '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] 9 | for i in 0..read { [INFO] [stdout] | ---------------- you can't `break` with a value in a `for` loop [INFO] [stdout] ... [INFO] [stdout] 12 | '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] 12 - '1' => break 1, [INFO] [stdout] 12 + '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 - (line 121) stdout ---- [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcJJcdxX/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librtt_target-3ea6aac2dc7343f6.rlib,libcritical_section-fb1ca78526e87a67.rlib,libportable_atomic-3c115b85306dcff0.rlib,libufmt_write-f4f98d81b395309a.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcJJcdxX/raw-dylibs" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/rustdoctestbohFHI/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: /usr/bin/ld: /tmp/rustdoctestbohFHI/rust_out.rust_out.5d88e8272f5f14c2-cgu.0.rcgu.o: in function `critical_section::with': [INFO] [stdout] rust_out.5d88e8272f5f14c2-cgu.0:(.text._ZN16critical_section4with17hb516d9c74ce9748dE+0x16): undefined reference to `_critical_section_1_0_acquire' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/librtt_target-3ea6aac2dc7343f6.rlib(rtt_target-3ea6aac2dc7343f6.rtt_target.397b353f4b6320cf-cgu.0.rcgu.o): in function `critical_section::acquire': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/critical-section-1.2.0/src/lib.rs:202:(.text._ZN16critical_section4with17h572068a12a6f385bE+0x20): undefined reference to `_critical_section_1_0_acquire' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/critical-section-1.2.0/src/lib.rs:202:(.text._ZN16critical_section4with17h7038afc9403c466bE+0x20): undefined reference to `_critical_section_1_0_acquire' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/librtt_target-3ea6aac2dc7343f6.rlib(rtt_target-3ea6aac2dc7343f6.rtt_target.397b353f4b6320cf-cgu.0.rcgu.o): in function `critical_section::release': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/critical-section-1.2.0/src/lib.rs:219:(.text._ZN4core3ptr50drop_in_place$LT$critical_section..with..Guard$GT$17ha4050ee14df1f2baE+0x10): undefined reference to `_critical_section_1_0_release' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [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 100) stdout ---- [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustc188ogT/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librtt_target-3ea6aac2dc7343f6.rlib,libcritical_section-fb1ca78526e87a67.rlib,libportable_atomic-3c115b85306dcff0.rlib,libufmt_write-f4f98d81b395309a.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc188ogT/raw-dylibs" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/rustdoctest7EBa5I/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: /usr/bin/ld: /tmp/rustdoctest7EBa5I/rust_out.rust_out.5d88e8272f5f14c2-cgu.0.rcgu.o: in function `critical_section::with': [INFO] [stdout] rust_out.5d88e8272f5f14c2-cgu.0:(.text._ZN16critical_section4with17hb516d9c74ce9748dE+0x16): undefined reference to `_critical_section_1_0_acquire' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/librtt_target-3ea6aac2dc7343f6.rlib(rtt_target-3ea6aac2dc7343f6.rtt_target.397b353f4b6320cf-cgu.0.rcgu.o): in function `critical_section::acquire': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/critical-section-1.2.0/src/lib.rs:202:(.text._ZN16critical_section4with17h572068a12a6f385bE+0x20): undefined reference to `_critical_section_1_0_acquire' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/critical-section-1.2.0/src/lib.rs:202:(.text._ZN16critical_section4with17h7038afc9403c466bE+0x20): undefined reference to `_critical_section_1_0_acquire' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/librtt_target-3ea6aac2dc7343f6.rlib(rtt_target-3ea6aac2dc7343f6.rtt_target.397b353f4b6320cf-cgu.0.rcgu.o): in function `critical_section::release': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/critical-section-1.2.0/src/lib.rs:219:(.text._ZN4core3ptr50drop_in_place$LT$critical_section..with..Guard$GT$17ha4050ee14df1f2baE+0x10): undefined reference to `_critical_section_1_0_release' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [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 100) [INFO] [stdout] src/init.rs - init::rtt_init (line 109) [INFO] [stdout] src/init.rs - init::rtt_init (line 67) [INFO] [stdout] src/init.rs - init::rtt_init_default (line 186) [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.48s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a1bf3b12df1d5b5c2995859449c59c48a638d255aa63545b1ab66b4c71066a97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1bf3b12df1d5b5c2995859449c59c48a638d255aa63545b1ab66b4c71066a97", kill_on_drop: false }` [INFO] [stdout] a1bf3b12df1d5b5c2995859449c59c48a638d255aa63545b1ab66b4c71066a97