[INFO] fetching crate embedded-time 0.8.1... [INFO] checking embedded-time-0.8.1 against try#d990716b6a1fdde1300748828a9c9e79dfd0b898 for pr-74846 [INFO] extracting crate embedded-time 0.8.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate embedded-time 0.8.1 on toolchain d990716b6a1fdde1300748828a9c9e79dfd0b898 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate embedded-time 0.8.1 [INFO] finished tweaking crates.io crate embedded-time 0.8.1 [INFO] tweaked toml for crates.io crate embedded-time 0.8.1 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-complex v0.3.0 [INFO] [stderr] Downloaded num v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cbacc172eaecea0092803450561645a638d00461d3d05bca5aa2d37f87b48ebf [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" "cbacc172eaecea0092803450561645a638d00461d3d05bca5aa2d37f87b48ebf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbacc172eaecea0092803450561645a638d00461d3d05bca5aa2d37f87b48ebf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbacc172eaecea0092803450561645a638d00461d3d05bca5aa2d37f87b48ebf", kill_on_drop: false }` [INFO] [stdout] cbacc172eaecea0092803450561645a638d00461d3d05bca5aa2d37f87b48ebf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d680c5d147d94a7e34d59057fc7ccc751b92c3a325a8519060611d1fb8a33e55 [INFO] running `Command { std: "docker" "start" "-a" "d680c5d147d94a7e34d59057fc7ccc751b92c3a325a8519060611d1fb8a33e55", 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] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rayon-core v1.7.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rayon v1.3.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking num-complex v0.3.0 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking num v0.3.0 [INFO] [stderr] Checking embedded-time v0.8.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Checking criterion v0.3.3 [INFO] [stdout] error[E0599]: no method named `count` found for struct `embedded_time::duration::units::Milliseconds` in the current scope [INFO] [stdout] --> benches/duration.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | let count = duration.count(); [INFO] [stdout] | ^^^^^ method not found in `embedded_time::duration::units::Milliseconds` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/duration.rs:623:5 [INFO] [stdout] | [INFO] [stdout] 623 | impl_duration![Milliseconds, (1, 1_000), from_millis, as_millis]; [INFO] [stdout] | ----------------------------------------------------------------- doesn't satisfy `_: std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the method `count` exists but the following trait bounds were not satisfied: [INFO] [stdout] `embedded_time::duration::units::Milliseconds: std::iter::Iterator` [INFO] [stdout] which is required by `&mut embedded_time::duration::units::Milliseconds: std::iter::Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `traits` [INFO] [stdout] --> benches/duration.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use embedded_time::{duration::units::*, traits::*}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `traits::*` [INFO] [stdout] --> benches/duration_vs_rate.rs:2:57 [INFO] [stdout] | [INFO] [stdout] 2 | use embedded_time::{duration::units::*, rate::units::*, traits::*}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::time::Duration` [INFO] [stdout] --> benches/duration_vs_rate.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use core::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `embedded-time`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `count` found for struct `embedded_time::duration::units::Seconds` in the current scope [INFO] [stdout] --> benches/duration_vs_rate.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | let count = rem.count(); [INFO] [stdout] | ^^^^^ method not found in `embedded_time::duration::units::Seconds` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/duration.rs:622:5 [INFO] [stdout] | [INFO] [stdout] 622 | impl_duration![Seconds, (1, 1), ge_secs]; [INFO] [stdout] | ----------------------------------------- doesn't satisfy `_: std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the method `count` exists but the following trait bounds were not satisfied: [INFO] [stdout] `embedded_time::duration::units::Seconds: std::iter::Iterator` [INFO] [stdout] which is required by `&mut embedded_time::duration::units::Seconds: std::iter::Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `count` found for struct `embedded_time::rate::units::Hertz` in the current scope [INFO] [stdout] --> benches/duration_vs_rate.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | let count = rem.count(); [INFO] [stdout] | ^^^^^ method not found in `embedded_time::rate::units::Hertz` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/rate.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | impl_rate![Hertz, (1, 1), "Hertz"]; [INFO] [stdout] | ----------------------------------- doesn't satisfy `_: std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the method `count` exists but the following trait bounds were not satisfied: [INFO] [stdout] `embedded_time::rate::units::Hertz: std::iter::Iterator` [INFO] [stdout] which is required by `&mut embedded_time::rate::units::Hertz: std::iter::Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d680c5d147d94a7e34d59057fc7ccc751b92c3a325a8519060611d1fb8a33e55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d680c5d147d94a7e34d59057fc7ccc751b92c3a325a8519060611d1fb8a33e55", kill_on_drop: false }` [INFO] [stdout] d680c5d147d94a7e34d59057fc7ccc751b92c3a325a8519060611d1fb8a33e55