[INFO] fetching crate rtt-target 0.3.1... [INFO] testing rtt-target-0.3.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate rtt-target 0.3.1 into /workspace/builds/worker-113/source [INFO] validating manifest of crates.io crate rtt-target 0.3.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rtt-target 0.3.1 [INFO] finished tweaking crates.io crate rtt-target 0.3.1 [INFO] tweaked toml for crates.io crate rtt-target 0.3.1 written to /workspace/builds/worker-113/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e907c00199b3a50ba4b6aad332d5dfa09890427605c60da848195639cf7f617a [INFO] running `Command { std: "docker" "start" "-a" "e907c00199b3a50ba4b6aad332d5dfa09890427605c60da848195639cf7f617a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e907c00199b3a50ba4b6aad332d5dfa09890427605c60da848195639cf7f617a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e907c00199b3a50ba4b6aad332d5dfa09890427605c60da848195639cf7f617a", kill_on_drop: false }` [INFO] [stdout] e907c00199b3a50ba4b6aad332d5dfa09890427605c60da848195639cf7f617a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c484143a04d103c3828321b2db77296e0e03aac46a2af2caf65f8cefed5f80af [INFO] running `Command { std: "docker" "start" "-a" "c484143a04d103c3828321b2db77296e0e03aac46a2af2caf65f8cefed5f80af", kill_on_drop: false }` [INFO] [stderr] Compiling ufmt-write v0.1.0 [INFO] [stderr] Compiling rtt-target v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.06s [INFO] running `Command { std: "docker" "inspect" "c484143a04d103c3828321b2db77296e0e03aac46a2af2caf65f8cefed5f80af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c484143a04d103c3828321b2db77296e0e03aac46a2af2caf65f8cefed5f80af", kill_on_drop: false }` [INFO] [stdout] c484143a04d103c3828321b2db77296e0e03aac46a2af2caf65f8cefed5f80af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73a04db8a4288e756ee49be3f33dd31cdec57771f6e9c1cf06f30152e32e3785 [INFO] running `Command { std: "docker" "start" "-a" "73a04db8a4288e756ee49be3f33dd31cdec57771f6e9c1cf06f30152e32e3785", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rtt-target v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.93s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/rtt_target-6d1dcb7065a2b742) [INFO] running `Command { std: "docker" "inspect" "73a04db8a4288e756ee49be3f33dd31cdec57771f6e9c1cf06f30152e32e3785", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73a04db8a4288e756ee49be3f33dd31cdec57771f6e9c1cf06f30152e32e3785", kill_on_drop: false }` [INFO] [stdout] 73a04db8a4288e756ee49be3f33dd31cdec57771f6e9c1cf06f30152e32e3785 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 09abf8ccef4583582416363062fcbb76db3292a037c3aa88b244f4d8cca489de [INFO] running `Command { std: "docker" "start" "-a" "09abf8ccef4583582416363062fcbb76db3292a037c3aa88b244f4d8cca489de", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rtt_target-6d1dcb7065a2b742) [INFO] [stderr] Doc-tests rtt-target [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] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - (line 71) ... FAILED [INFO] [stdout] test src/init.rs - init::rtt_init (line 66) ... FAILED [INFO] [stdout] test src/init.rs - init::rtt_init_default (line 170) ... FAILED [INFO] [stdout] test src/init.rs - init::rtt_init (line 108) ... FAILED [INFO] [stdout] test src/lib.rs - UpChannel::u (line 141) ... FAILED [INFO] [stdout] test src/print.rs - print::set_print_channel_cs (line 27) ... FAILED [INFO] [stdout] test src/init.rs - init::rtt_init (line 99) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 71) stdout ---- [INFO] [stdout] error: rtt_init_print! is only available if a platform support feature is enabled. [INFO] [stdout] Solutions: [INFO] [stdout] - Enable a platform support feature: [INFO] [stdout] # Cargo.toml [INFO] [stdout] rtt-target = { version = "x.y.z", features = ["cortex-m"] } [INFO] [stdout] # or rtt-target = { version = "x.y.z", features = ["riscv"] } [INFO] [stdout] - OR use set_print_channel_cs() instead if you want to provide your own locking. [INFO] [stdout] --> src/lib.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 6 | rtt_init_print!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rtt_init_print` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/init.rs - init::rtt_init (line 66) stdout ---- [INFO] [stdout] error: cannot find macro `rtt_init` in this scope [INFO] [stdout] --> src/init.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 3 | let channels = rtt_init! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rtt_target::rtt_init [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/init.rs - init::rtt_init_default (line 170) stdout ---- [INFO] [stdout] error: cannot find macro `rtt_init` in this scope [INFO] [stdout] --> src/init.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 3 | rtt_init! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rtt_target::rtt_init [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/init.rs - init::rtt_init (line 108) stdout ---- [INFO] [stdout] error: cannot find macro `rtt_init` in this scope [INFO] [stdout] --> src/init.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 5 | let channels = rtt_init! { ... }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rtt_target::rtt_init [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - UpChannel::u (line 141) stdout ---- [INFO] [stdout] error: cannot find macro `uwriteln` in this scope [INFO] [stdout] --> src/lib.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 4 | uwriteln!(output.u(), "Hello, ufmt!"); [INFO] [stdout] | ^^^^^^^^ help: a macro with a similar name exists: `writeln` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `channels` in this scope [INFO] [stdout] --> src/lib.rs:142: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/print.rs - print::set_print_channel_cs (line 27) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rtt_target::rtt_init_detault` [INFO] [stdout] --> src/print.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 3 | use rtt_target::{rtt_init_detault, rprintln}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `rtt_init_detault` in the root [INFO] [stdout] | help: a similar name exists in the module: `rtt_init_default` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `platform_specific` [INFO] [stdout] --> src/print.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 4 | use platform_specific::interrupt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `platform_specific` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rtt_init_detault` [INFO] [stdout] --> src/print.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 7 | let channels = rtt_init_detault!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/init.rs - init::rtt_init (line 99) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `UpChannel` in this scope [INFO] [stdout] --> src/init.rs:101: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:101: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:102: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] [INFO] [stdout] failures: [INFO] [stdout] src/init.rs - init::rtt_init (line 108) [INFO] [stdout] src/init.rs - init::rtt_init (line 66) [INFO] [stdout] src/init.rs - init::rtt_init (line 99) [INFO] [stdout] src/init.rs - init::rtt_init_default (line 170) [INFO] [stdout] src/lib.rs - (line 71) [INFO] [stdout] src/lib.rs - UpChannel::u (line 141) [INFO] [stdout] src/print.rs - print::set_print_channel_cs (line 27) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "09abf8ccef4583582416363062fcbb76db3292a037c3aa88b244f4d8cca489de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09abf8ccef4583582416363062fcbb76db3292a037c3aa88b244f4d8cca489de", kill_on_drop: false }` [INFO] [stdout] 09abf8ccef4583582416363062fcbb76db3292a037c3aa88b244f4d8cca489de