[INFO] fetching crate rtt-target 0.2.2... [INFO] testing rtt-target-0.2.2 against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] extracting crate rtt-target 0.2.2 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate rtt-target 0.2.2 on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate rtt-target 0.2.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rtt-target 0.2.2 [INFO] tweaked toml for crates.io crate rtt-target 0.2.2 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate crates.io crate rtt-target 0.2.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--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-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5fd8f9351cfc018fdf17c73ae4327bbcc13fa1580ca364dc6a539994e17aa6d3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5fd8f9351cfc018fdf17c73ae4327bbcc13fa1580ca364dc6a539994e17aa6d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fd8f9351cfc018fdf17c73ae4327bbcc13fa1580ca364dc6a539994e17aa6d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fd8f9351cfc018fdf17c73ae4327bbcc13fa1580ca364dc6a539994e17aa6d3", kill_on_drop: false }` [INFO] [stdout] 5fd8f9351cfc018fdf17c73ae4327bbcc13fa1580ca364dc6a539994e17aa6d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3343205c55281aa2dfbeb27e5a0d2419bc66347931f3cdae65334406a3afe69 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b3343205c55281aa2dfbeb27e5a0d2419bc66347931f3cdae65334406a3afe69", kill_on_drop: false }` [INFO] [stderr] Compiling ufmt-write v0.1.0 [INFO] [stderr] Compiling rtt-target v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/lib.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 178 | #[link_name = "_SEGGER_RTT"] [INFO] [stdout] 179 | static mut CONTROL_BLOCK: MaybeUninit; [INFO] [stdout] | ------------------------------------------------------ not a function or static [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.05s [INFO] running `Command { std: "docker" "inspect" "b3343205c55281aa2dfbeb27e5a0d2419bc66347931f3cdae65334406a3afe69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3343205c55281aa2dfbeb27e5a0d2419bc66347931f3cdae65334406a3afe69", kill_on_drop: false }` [INFO] [stdout] b3343205c55281aa2dfbeb27e5a0d2419bc66347931f3cdae65334406a3afe69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b73407a182f34d87d9b33ad763a195b69ccc2b6e770705d09dc6b8d43243fc4a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b73407a182f34d87d9b33ad763a195b69ccc2b6e770705d09dc6b8d43243fc4a", kill_on_drop: false }` [INFO] [stderr] Compiling rtt-target v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/lib.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 178 | #[link_name = "_SEGGER_RTT"] [INFO] [stdout] 179 | static mut CONTROL_BLOCK: MaybeUninit; [INFO] [stdout] | ------------------------------------------------------ not a function or static [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/lib.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 178 | #[link_name = "_SEGGER_RTT"] [INFO] [stdout] 179 | static mut CONTROL_BLOCK: MaybeUninit; [INFO] [stdout] | ------------------------------------------------------ not a function or static [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "b73407a182f34d87d9b33ad763a195b69ccc2b6e770705d09dc6b8d43243fc4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b73407a182f34d87d9b33ad763a195b69ccc2b6e770705d09dc6b8d43243fc4a", kill_on_drop: false }` [INFO] [stdout] b73407a182f34d87d9b33ad763a195b69ccc2b6e770705d09dc6b8d43243fc4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d9f6526ef5410cd15dd79efd08b7afa281f9f18f40367ce6b2924dee82ab7a13 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d9f6526ef5410cd15dd79efd08b7afa281f9f18f40367ce6b2924dee82ab7a13", kill_on_drop: false }` [INFO] [stderr] warning: attribute should be applied to a function or static [INFO] [stderr] --> src/lib.rs:177:13 [INFO] [stderr] | [INFO] [stderr] 177 | #[no_mangle] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 178 | #[link_name = "_SEGGER_RTT"] [INFO] [stderr] 179 | static mut CONTROL_BLOCK: MaybeUninit; [INFO] [stderr] | ------------------------------------------------------ not a function or static [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: attribute should be applied to a function or static [INFO] [stderr] --> src/lib.rs:177:13 [INFO] [stderr] | [INFO] [stderr] 177 | #[no_mangle] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 178 | #[link_name = "_SEGGER_RTT"] [INFO] [stderr] 179 | static mut CONTROL_BLOCK: MaybeUninit; [INFO] [stderr] | ------------------------------------------------------ not a function or static [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rtt_target-8cac1b5bc87c3a88 [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/init.rs - rtt_init (line 108) ... FAILED [INFO] [stdout] test src/init.rs - rtt_init_default (line 170) ... FAILED [INFO] [stdout] test src/init.rs - rtt_init (line 99) ... FAILED [INFO] [stdout] test src/init.rs - rtt_init (line 66) ... FAILED [INFO] [stdout] test src/print.rs - print::set_print_channel_cs (line 27) ... FAILED [INFO] [stdout] test src/lib.rs - (line 71) ... FAILED [INFO] [stdout] test src/lib.rs - UpChannel::u (line 141) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/init.rs - 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/init.rs - 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 - 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 - 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/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/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 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 a macro (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/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] [INFO] [stdout] failures: [INFO] [stdout] src/init.rs - rtt_init (line 108) [INFO] [stdout] src/init.rs - rtt_init (line 66) [INFO] [stdout] src/init.rs - rtt_init (line 99) [INFO] [stdout] src/init.rs - 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 [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "d9f6526ef5410cd15dd79efd08b7afa281f9f18f40367ce6b2924dee82ab7a13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9f6526ef5410cd15dd79efd08b7afa281f9f18f40367ce6b2924dee82ab7a13", kill_on_drop: false }` [INFO] [stdout] d9f6526ef5410cd15dd79efd08b7afa281f9f18f40367ce6b2924dee82ab7a13