[INFO] fetching crate rtt-target 0.6.1... [INFO] testing rtt-target-0.6.1 against 1.88.0 for beta-1.89-1 [INFO] extracting crate rtt-target 0.6.1 into /workspace/builds/worker-5-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rtt-target 0.6.1 on toolchain 1.88.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.88.0" "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" "+1.88.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+1.88.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Downloaded defmt v0.3.100 [INFO] [stderr] Downloaded proc-macro-error2 v2.0.1 [INFO] [stderr] Downloaded defmt-parser v1.0.0 [INFO] [stderr] Downloaded defmt v1.0.1 [INFO] [stderr] Downloaded defmt-macros v1.0.1 [INFO] [stderr] Downloaded ufmt-write v0.1.0 [INFO] [stderr] Downloaded portable-atomic v1.11.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+1.88.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48010f0b32178c5ab2b9c90717d391e7c72ce6cda7df72a888aed5879a9a7402 [INFO] running `Command { std: "docker" "start" "-a" "48010f0b32178c5ab2b9c90717d391e7c72ce6cda7df72a888aed5879a9a7402", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48010f0b32178c5ab2b9c90717d391e7c72ce6cda7df72a888aed5879a9a7402", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48010f0b32178c5ab2b9c90717d391e7c72ce6cda7df72a888aed5879a9a7402", kill_on_drop: false }` [INFO] [stdout] 48010f0b32178c5ab2b9c90717d391e7c72ce6cda7df72a888aed5879a9a7402 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+1.88.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c24667ffdec2f34a9529dc53f5d22d283fe093344783e926d2daa23aabd7d503 [INFO] running `Command { std: "docker" "start" "-a" "c24667ffdec2f34a9529dc53f5d22d283fe093344783e926d2daa23aabd7d503", kill_on_drop: false }` [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling ufmt-write v0.1.0 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling rtt-target v0.6.1 (/opt/rustwide/workdir) [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] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [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.28s [INFO] running `Command { std: "docker" "inspect" "c24667ffdec2f34a9529dc53f5d22d283fe093344783e926d2daa23aabd7d503", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c24667ffdec2f34a9529dc53f5d22d283fe093344783e926d2daa23aabd7d503", kill_on_drop: false }` [INFO] [stdout] c24667ffdec2f34a9529dc53f5d22d283fe093344783e926d2daa23aabd7d503 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+1.88.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81f88ecac87b68e7569ad271670af3010914b7689ce110aacf09e458ef2fa79c [INFO] running `Command { std: "docker" "start" "-a" "81f88ecac87b68e7569ad271670af3010914b7689ce110aacf09e458ef2fa79c", kill_on_drop: false }` [INFO] [stderr] Compiling rtt-target v0.6.1 (/opt/rustwide/workdir) [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] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [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: 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] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [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.47s [INFO] running `Command { std: "docker" "inspect" "81f88ecac87b68e7569ad271670af3010914b7689ce110aacf09e458ef2fa79c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81f88ecac87b68e7569ad271670af3010914b7689ce110aacf09e458ef2fa79c", kill_on_drop: false }` [INFO] [stdout] 81f88ecac87b68e7569ad271670af3010914b7689ce110aacf09e458ef2fa79c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+1.88.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 021c77eb6b84023249a0b40a9b67625fd055d11d9f082c69adc9ca22379ff0bd [INFO] running `Command { std: "docker" "start" "-a" "021c77eb6b84023249a0b40a9b67625fd055d11d9f082c69adc9ca22379ff0bd", kill_on_drop: false }` [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] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [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 1 warning [INFO] [stderr] warning: `rtt-target` (lib test) generated 1 warning (1 duplicate) [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-57e0c2b28ad68d9f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests rtt_target [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] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/lib.rs - (line 82) ... FAILED [INFO] [stdout] test src/init.rs - init::rtt_init_default (line 186) ... FAILED [INFO] [stdout] test src/init.rs - init::rtt_init (line 67) ... FAILED [INFO] [stdout] test src/init.rs - init::rtt_init (line 100) ... FAILED [INFO] [stdout] test src/lib.rs - UpChannel::u (line 224) ... FAILED [INFO] [stdout] test src/init.rs - init::rtt_init (line 109) ... 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_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 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 (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 - 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/6b00bc3880198600130e1cf62b8f8a93494488cc/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 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 - (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/rustcQOWYTQ/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librtt_target-3e337466bbc0412c.rlib,libcritical_section-9808535c5522725b.rlib,libportable_atomic-3fd16b3ad53e2663.rlib,libufmt_write-a8e32d1426285d03.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-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcQOWYTQ/raw-dylibs" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/rustdoctest7ZJLHP/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/rustdoctest7ZJLHP/rust_out.rust_out.bab8712d30a6d254-cgu.0.rcgu.o: in function `critical_section::with': [INFO] [stdout] rust_out.bab8712d30a6d254-cgu.0:(.text._ZN16critical_section4with17h4b5d13e75e3719cdE+0x16): undefined reference to `_critical_section_1_0_acquire' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/librtt_target-3e337466bbc0412c.rlib(rtt_target-3e337466bbc0412c.rtt_target.2b40b4de4030d24f-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_section4with17h53eeb7d9732206f2E+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_section4with17h583bb2f856044e4dE+0x20): undefined reference to `_critical_section_1_0_acquire' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/librtt_target-3e337466bbc0412c.rlib(rtt_target-3e337466bbc0412c.rtt_target.2b40b4de4030d24f-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$17hc5c73096f393cbbcE+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] [stderr] error: doctest failed, to rerun pass `--doc` [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/rustc4LZzkt/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librtt_target-3e337466bbc0412c.rlib,libcritical_section-9808535c5522725b.rlib,libportable_atomic-3fd16b3ad53e2663.rlib,libufmt_write-a8e32d1426285d03.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-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc4LZzkt/raw-dylibs" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/rustdoctestVhiBQP/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/rustdoctestVhiBQP/rust_out.rust_out.bab8712d30a6d254-cgu.0.rcgu.o: in function `critical_section::with': [INFO] [stdout] rust_out.bab8712d30a6d254-cgu.0:(.text._ZN16critical_section4with17h4b5d13e75e3719cdE+0x16): undefined reference to `_critical_section_1_0_acquire' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/librtt_target-3e337466bbc0412c.rlib(rtt_target-3e337466bbc0412c.rtt_target.2b40b4de4030d24f-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_section4with17h53eeb7d9732206f2E+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_section4with17h583bb2f856044e4dE+0x20): undefined reference to `_critical_section_1_0_acquire' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/librtt_target-3e337466bbc0412c.rlib(rtt_target-3e337466bbc0412c.rtt_target.2b40b4de4030d24f-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$17hc5c73096f393cbbcE+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.38s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "021c77eb6b84023249a0b40a9b67625fd055d11d9f082c69adc9ca22379ff0bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "021c77eb6b84023249a0b40a9b67625fd055d11d9f082c69adc9ca22379ff0bd", kill_on_drop: false }` [INFO] [stdout] 021c77eb6b84023249a0b40a9b67625fd055d11d9f082c69adc9ca22379ff0bd