[INFO] fetching crate rtt-target 0.3.1... [INFO] testing rtt-target-0.3.1 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate rtt-target 0.3.1 into /workspace/builds/worker-80/source [INFO] validating manifest of crates.io crate rtt-target 0.3.1 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-80/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded riscv v0.6.0 [INFO] [stderr] Downloaded riscv-target v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3fe9c0bc568acaac34afd9b323813cb7d60fae73a86ef964d0e4b6bf59bc65cf [INFO] running `Command { std: "docker" "start" "-a" "3fe9c0bc568acaac34afd9b323813cb7d60fae73a86ef964d0e4b6bf59bc65cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fe9c0bc568acaac34afd9b323813cb7d60fae73a86ef964d0e4b6bf59bc65cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fe9c0bc568acaac34afd9b323813cb7d60fae73a86ef964d0e4b6bf59bc65cf", kill_on_drop: false }` [INFO] [stdout] 3fe9c0bc568acaac34afd9b323813cb7d60fae73a86ef964d0e4b6bf59bc65cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8df106d6cfae16ec44909c2c16dc56d42415d99dd197fe786511bcee15d4ece [INFO] running `Command { std: "docker" "start" "-a" "e8df106d6cfae16ec44909c2c16dc56d42415d99dd197fe786511bcee15d4ece", 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 0.65s [INFO] running `Command { std: "docker" "inspect" "e8df106d6cfae16ec44909c2c16dc56d42415d99dd197fe786511bcee15d4ece", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8df106d6cfae16ec44909c2c16dc56d42415d99dd197fe786511bcee15d4ece", kill_on_drop: false }` [INFO] [stdout] e8df106d6cfae16ec44909c2c16dc56d42415d99dd197fe786511bcee15d4ece [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07a6538c7b59bfc7a1cd5c8ce4ca2e48e1751be7ba353531098cc4439945544e [INFO] running `Command { std: "docker" "start" "-a" "07a6538c7b59bfc7a1cd5c8ce4ca2e48e1751be7ba353531098cc4439945544e", kill_on_drop: false }` [INFO] [stderr] Compiling rtt-target v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "07a6538c7b59bfc7a1cd5c8ce4ca2e48e1751be7ba353531098cc4439945544e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07a6538c7b59bfc7a1cd5c8ce4ca2e48e1751be7ba353531098cc4439945544e", kill_on_drop: false }` [INFO] [stdout] 07a6538c7b59bfc7a1cd5c8ce4ca2e48e1751be7ba353531098cc4439945544e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a359da47174ec08236aa3106155f0af64ee43b0353b7bbfcfc9ca3546df99a99 [INFO] running `Command { std: "docker" "start" "-a" "a359da47174ec08236aa3106155f0af64ee43b0353b7bbfcfc9ca3546df99a99", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rtt_target-b7d931d1aeb292c5) [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 7 tests [INFO] [stdout] test src/lib.rs - (line 71) ... FAILED [INFO] [stdout] test src/init.rs - init::rtt_init_default (line 170) ... FAILED [INFO] [stdout] test src/lib.rs - UpChannel::u (line 141) ... FAILED [INFO] [stdout] test src/init.rs - init::rtt_init (line 108) ... 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] test src/init.rs - init::rtt_init (line 66) ... 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] [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_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/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/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/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] ---- 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] [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.10s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "a359da47174ec08236aa3106155f0af64ee43b0353b7bbfcfc9ca3546df99a99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a359da47174ec08236aa3106155f0af64ee43b0353b7bbfcfc9ca3546df99a99", kill_on_drop: false }` [INFO] [stdout] a359da47174ec08236aa3106155f0af64ee43b0353b7bbfcfc9ca3546df99a99