[INFO] fetching crate embedded-timers 0.4.0... [INFO] testing embedded-timers-0.4.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate embedded-timers 0.4.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate embedded-timers 0.4.0 [INFO] finished tweaking crates.io crate embedded-timers 0.4.0 [INFO] tweaked toml for crates.io crate embedded-timers 0.4.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate embedded-timers 0.4.0 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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 33 packages to latest compatible versions [INFO] [stderr] Adding embedded-hal-mock v0.8.0 (available: v0.11.1) [INFO] [stderr] Adding mockall v0.11.4 (available: v0.14.0) [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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] ddbdc93389663877f445c58a8ba1283ffd2e2c9c7f9e9314eabd3707b7b3984b [INFO] running `Command { std: "docker" "start" "-a" "ddbdc93389663877f445c58a8ba1283ffd2e2c9c7f9e9314eabd3707b7b3984b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddbdc93389663877f445c58a8ba1283ffd2e2c9c7f9e9314eabd3707b7b3984b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddbdc93389663877f445c58a8ba1283ffd2e2c9c7f9e9314eabd3707b7b3984b", kill_on_drop: false }` [INFO] [stdout] ddbdc93389663877f445c58a8ba1283ffd2e2c9c7f9e9314eabd3707b7b3984b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 6ca046261ed7c2c77d7caeee71fc5d8cad021bdca63e2e153406970f8bcb0a67 [INFO] running `Command { std: "docker" "start" "-a" "6ca046261ed7c2c77d7caeee71fc5d8cad021bdca63e2e153406970f8bcb0a67", kill_on_drop: false }` [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling embedded-timers v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "6ca046261ed7c2c77d7caeee71fc5d8cad021bdca63e2e153406970f8bcb0a67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ca046261ed7c2c77d7caeee71fc5d8cad021bdca63e2e153406970f8bcb0a67", kill_on_drop: false }` [INFO] [stdout] 6ca046261ed7c2c77d7caeee71fc5d8cad021bdca63e2e153406970f8bcb0a67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 3a6f4f8e17525442342aa96effe1481493f85d2dc9652dca0e815271d8b360ef [INFO] running `Command { std: "docker" "start" "-a" "3a6f4f8e17525442342aa96effe1481493f85d2dc9652dca0e815271d8b360ef", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling predicates-core v1.0.10 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling fragile v2.1.0 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling predicates-tree v1.0.13 [INFO] [stderr] Compiling embedded-hal-mock v0.8.0 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Compiling predicates v2.1.5 [INFO] [stderr] Compiling mockall v0.11.4 [INFO] [stderr] Compiling embedded-timers v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 14.31s [INFO] running `Command { std: "docker" "inspect" "3a6f4f8e17525442342aa96effe1481493f85d2dc9652dca0e815271d8b360ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a6f4f8e17525442342aa96effe1481493f85d2dc9652dca0e815271d8b360ef", kill_on_drop: false }` [INFO] [stdout] 3a6f4f8e17525442342aa96effe1481493f85d2dc9652dca0e815271d8b360ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 45d7d83c8f270b6bff84908b5df1c62a10a03368aea0180001c3f8a158430a52 [INFO] running `Command { std: "docker" "start" "-a" "45d7d83c8f270b6bff84908b5df1c62a10a03368aea0180001c3f8a158430a52", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/embedded_timers-c635a9ce2a763d9c) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test timer::tests::test_clock_mock ... ok [INFO] [stdout] test timer::tests::test_timer_basic ... ok [INFO] [stdout] test delay::tests::delay_us_basic ... ok [INFO] [stdout] test delay::tests::delay_ms_basic ... ok [INFO] [stdout] test timer::tests::test_timer_cancel ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Doc-tests embedded_timers [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/instant.rs - instant::Instant::duration_since (line 84) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 77) ... FAILED [INFO] [stdout] test src/lib.rs - (line 175) - compile ... FAILED [INFO] [stdout] test src/instant.rs - instant::Instant::saturating_duration_since (line 144) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 145) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 119) - compile ... FAILED [INFO] [stdout] test src/instant.rs - instant::Instant::checked_duration_since (line 115) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 92) ... ok [INFO] [stdout] test src/clock.rs - clock::Clock::elapsed (line 60) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 48) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 77) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `std::time::Instant: embedded_timers::instant::Instant` is not satisfied [INFO] [stdout] --> src/lib.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | type Instant = std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `embedded_timers::instant::Instant` is not implemented for `std::time::Instant` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `embedded_timers::instant::Instant` [INFO] [stdout] --> src/instant.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | impl Instant for TimespecInstant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TimespecInstant` [INFO] [stdout] ... [INFO] [stdout] 334 | impl Instant for $instant_name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Instant32` [INFO] [stdout] | `Instant64` [INFO] [stdout] ... [INFO] [stdout] 429 | impl_instant!(Instant32, u32); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] 430 | impl_instant!(Instant64, u64); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] note: required by a bound in `embedded_timers::clock::Clock::Instant` [INFO] [stdout] --> src/clock.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | type Instant: Instant; [INFO] [stdout] | ^^^^^^^ required by this bound in `Clock::Instant` [INFO] [stdout] = note: this error originates in the macro `impl_instant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 175) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `std::time::Instant: embedded_timers::instant::Instant` is not satisfied [INFO] [stdout] --> src/lib.rs:183:20 [INFO] [stdout] | [INFO] [stdout] 183 | type Instant = std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `embedded_timers::instant::Instant` is not implemented for `std::time::Instant` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `embedded_timers::instant::Instant` [INFO] [stdout] --> src/instant.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | impl Instant for TimespecInstant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TimespecInstant` [INFO] [stdout] ... [INFO] [stdout] 334 | impl Instant for $instant_name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Instant32` [INFO] [stdout] | `Instant64` [INFO] [stdout] ... [INFO] [stdout] 429 | impl_instant!(Instant32, u32); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] 430 | impl_instant!(Instant64, u64); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] note: required by a bound in `embedded_timers::clock::Clock::Instant` [INFO] [stdout] --> src/clock.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | type Instant: Instant; [INFO] [stdout] | ^^^^^^^ required by this bound in `Clock::Instant` [INFO] [stdout] = note: this error originates in the macro `impl_instant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 145) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `std::time::Instant: embedded_timers::instant::Instant` is not satisfied [INFO] [stdout] --> src/lib.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | type Instant = std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `embedded_timers::instant::Instant` is not implemented for `std::time::Instant` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `embedded_timers::instant::Instant` [INFO] [stdout] --> src/instant.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | impl Instant for TimespecInstant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TimespecInstant` [INFO] [stdout] ... [INFO] [stdout] 334 | impl Instant for $instant_name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Instant32` [INFO] [stdout] | `Instant64` [INFO] [stdout] ... [INFO] [stdout] 429 | impl_instant!(Instant32, u32); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] 430 | impl_instant!(Instant64, u64); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] note: required by a bound in `embedded_timers::clock::Clock::Instant` [INFO] [stdout] --> src/clock.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | type Instant: Instant; [INFO] [stdout] | ^^^^^^^ required by this bound in `Clock::Instant` [INFO] [stdout] = note: this error originates in the macro `impl_instant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 119) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `std::time::Instant: embedded_timers::instant::Instant` is not satisfied [INFO] [stdout] --> src/lib.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | type Instant = std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `embedded_timers::instant::Instant` is not implemented for `std::time::Instant` [INFO] [stdout] | [INFO] [stdout] help: the following other types implement trait `embedded_timers::instant::Instant` [INFO] [stdout] --> src/instant.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | impl Instant for TimespecInstant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TimespecInstant` [INFO] [stdout] ... [INFO] [stdout] 334 | impl Instant for $instant_name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Instant32` [INFO] [stdout] | `Instant64` [INFO] [stdout] ... [INFO] [stdout] 429 | impl_instant!(Instant32, u32); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] 430 | impl_instant!(Instant64, u64); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] note: required by a bound in `embedded_timers::clock::Clock::Instant` [INFO] [stdout] --> src/clock.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | type Instant: Instant; [INFO] [stdout] | ^^^^^^^ required by this bound in `Clock::Instant` [INFO] [stdout] = note: this error originates in the macro `impl_instant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 119) [INFO] [stdout] src/lib.rs - (line 145) [INFO] [stdout] src/lib.rs - (line 175) [INFO] [stdout] src/lib.rs - (line 77) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 6 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.56s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "45d7d83c8f270b6bff84908b5df1c62a10a03368aea0180001c3f8a158430a52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45d7d83c8f270b6bff84908b5df1c62a10a03368aea0180001c3f8a158430a52", kill_on_drop: false }` [INFO] [stdout] 45d7d83c8f270b6bff84908b5df1c62a10a03368aea0180001c3f8a158430a52