[INFO] fetching crate megamorse 1.0.1... [INFO] testing megamorse-1.0.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate megamorse 1.0.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate megamorse 1.0.1 [INFO] finished tweaking crates.io crate megamorse 1.0.1 [INFO] tweaked toml for crates.io crate megamorse 1.0.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate megamorse 1.0.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9d602dc29ac31079e395188f5476dde264ee1192a2176e22b4da76da41f1682 [INFO] running `Command { std: "docker" "start" "-a" "c9d602dc29ac31079e395188f5476dde264ee1192a2176e22b4da76da41f1682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9d602dc29ac31079e395188f5476dde264ee1192a2176e22b4da76da41f1682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9d602dc29ac31079e395188f5476dde264ee1192a2176e22b4da76da41f1682", kill_on_drop: false }` [INFO] [stdout] c9d602dc29ac31079e395188f5476dde264ee1192a2176e22b4da76da41f1682 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e45ce25112be7d1b870283df8c458b20576fb23fa378207c2023dd620eee88a2 [INFO] running `Command { std: "docker" "start" "-a" "e45ce25112be7d1b870283df8c458b20576fb23fa378207c2023dd620eee88a2", kill_on_drop: false }` [INFO] [stderr] Compiling megamorse_core v1.0.1 [INFO] [stderr] Compiling megamorse_proc_macro v1.0.1 [INFO] [stderr] Compiling megamorse v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "e45ce25112be7d1b870283df8c458b20576fb23fa378207c2023dd620eee88a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e45ce25112be7d1b870283df8c458b20576fb23fa378207c2023dd620eee88a2", kill_on_drop: false }` [INFO] [stdout] e45ce25112be7d1b870283df8c458b20576fb23fa378207c2023dd620eee88a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5ab151fe18af083c7c019f36be27dea67e24edaf817c499c0385aeb14aaa610 [INFO] running `Command { std: "docker" "start" "-a" "c5ab151fe18af083c7c019f36be27dea67e24edaf817c499c0385aeb14aaa610", kill_on_drop: false }` [INFO] [stderr] Compiling megamorse v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "c5ab151fe18af083c7c019f36be27dea67e24edaf817c499c0385aeb14aaa610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5ab151fe18af083c7c019f36be27dea67e24edaf817c499c0385aeb14aaa610", kill_on_drop: false }` [INFO] [stdout] c5ab151fe18af083c7c019f36be27dea67e24edaf817c499c0385aeb14aaa610 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f53a3510e7e7de7accf8e77d62bf0e87642b05eee14652a51041b6feb9a19a74 [INFO] running `Command { std: "docker" "start" "-a" "f53a3510e7e7de7accf8e77d62bf0e87642b05eee14652a51041b6feb9a19a74", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/megamorse-60a0d1b95b64c38d) [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 megamorse [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - (line 9) ... ok [INFO] [stdout] test src/lib.rs - MorseDecoder::on (line 93) ... FAILED [INFO] [stdout] test src/lib.rs - MorseDecoder::off (line 122) ... FAILED [INFO] [stdout] test src/lib.rs - morse (line 58) ... FAILED [INFO] [stdout] test src/lib.rs - MorsePlayer::play_str (line 193) ... FAILED [INFO] [stdout] test src/lib.rs - MorsePlayer::play_word (line 229) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - MorseDecoder::on (line 93) stdout ---- [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/lib.rs:94:7 [INFO] [stdout] | [INFO] [stdout] 94 | fn on(&mut self, timeunits: usize) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope [INFO] [stdout] --> src/lib.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | sleep(timeunits * timeunit_ms); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 93 + use std::thread::sleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_led` in this scope [INFO] [stdout] --> src/lib.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | let led = get_led(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Self` in this scope [INFO] [stdout] --> src/lib.rs:94:50 [INFO] [stdout] | [INFO] [stdout] 94 | fn on(&mut self, timeunits: usize) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - MorseDecoder::off (line 122) stdout ---- [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/lib.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn off(&mut self, timeunits: usize) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope [INFO] [stdout] --> src/lib.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | sleep(timeunits * timeunit_ms); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 122 + use std::thread::sleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `Self` in this scope [INFO] [stdout] --> src/lib.rs:123:51 [INFO] [stdout] | [INFO] [stdout] 123 | fn off(&mut self, timeunits: usize) -> Result<(), Self::Error> { [INFO] [stdout] | ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - morse (line 58) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `MorseWord` in this scope [INFO] [stdout] --> src/lib.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | const SOS: [MorseWord; 3] = morse!(... ___ ...); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 57 + use megamorse::MorseWord; [INFO] [stdout] | [INFO] [stdout] 57 + use megamorse_core::MorseWord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MorseWord: const From<[MorseCode; 3]>` is not satisfied [INFO] [stdout] --> src/lib.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | const SOS: [MorseWord; 3] = morse!(... ___ ...); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: trait `From` is implemented but not `const` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/megamorse_core-1.0.1/src/word.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | impl From<[MorseCode; $num]> for MorseWord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | from_word!(3); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] = note: this error originates in the macro `morse` which comes from the expansion of the macro `from_word` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - MorsePlayer::play_str (line 193) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `MorsePlayer` in this scope [INFO] [stdout] --> src/lib.rs:194:14 [INFO] [stdout] | [INFO] [stdout] 194 | let player = MorsePlayer::new(MyDecoder::new()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MorsePlayer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 193 + use megamorse::MorsePlayer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `MyDecoder` in this scope [INFO] [stdout] --> src/lib.rs:194:31 [INFO] [stdout] | [INFO] [stdout] 194 | let player = MorsePlayer::new(MyDecoder::new()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MyDecoder` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - MorsePlayer::play_word (line 229) stdout ---- [INFO] [stdout] error: cannot find macro `morse` in this scope [INFO] [stdout] --> src/lib.rs:232:11 [INFO] [stdout] | [INFO] [stdout] 232 | let sos = morse!(... ___ ...); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these macros [INFO] [stdout] | [INFO] [stdout] 229 + use megamorse::morse; [INFO] [stdout] | [INFO] [stdout] 229 + use megamorse_proc_macro::morse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `MorsePlayer` in this scope [INFO] [stdout] --> src/lib.rs:230:14 [INFO] [stdout] | [INFO] [stdout] 230 | let player = MorsePlayer::new(MyDecoder::new()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MorsePlayer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 229 + use megamorse::MorsePlayer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `MyDecoder` in this scope [INFO] [stdout] --> src/lib.rs:230:31 [INFO] [stdout] | [INFO] [stdout] 230 | let player = MorsePlayer::new(MyDecoder::new()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MyDecoder` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - MorseDecoder::off (line 122) [INFO] [stdout] src/lib.rs - MorseDecoder::on (line 93) [INFO] [stdout] src/lib.rs - MorsePlayer::play_str (line 193) [INFO] [stdout] src/lib.rs - MorsePlayer::play_word (line 229) [INFO] [stdout] src/lib.rs - morse (line 58) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.54s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f53a3510e7e7de7accf8e77d62bf0e87642b05eee14652a51041b6feb9a19a74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f53a3510e7e7de7accf8e77d62bf0e87642b05eee14652a51041b6feb9a19a74", kill_on_drop: false }` [INFO] [stdout] f53a3510e7e7de7accf8e77d62bf0e87642b05eee14652a51041b6feb9a19a74