[INFO] updating cached repository https://github.com/whentze/piff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b34f0dcce33f15255f5e45e903cd36172c2686a2 [INFO] testing whentze/piff against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhentze%2Fpiff" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/whentze/piff on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/whentze/piff [INFO] finished tweaking git repo https://github.com/whentze/piff [INFO] tweaked toml for git repo https://github.com/whentze/piff written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/whentze/piff already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5b4ad095330b559d152e74eaf3c2f16741f84a793113ec45154594a7faf8ff5 [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" "c5b4ad095330b559d152e74eaf3c2f16741f84a793113ec45154594a7faf8ff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5b4ad095330b559d152e74eaf3c2f16741f84a793113ec45154594a7faf8ff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5b4ad095330b559d152e74eaf3c2f16741f84a793113ec45154594a7faf8ff5", kill_on_drop: false }` [INFO] [stdout] c5b4ad095330b559d152e74eaf3c2f16741f84a793113ec45154594a7faf8ff5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1bc94ad4008468cda73e265a9b4ad9c4f1e1b137886ecf3dcd6fcefbc3bf6b2 [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" "a1bc94ad4008468cda73e265a9b4ad9c4f1e1b137886ecf3dcd6fcefbc3bf6b2", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling libc v0.2.36 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling alsa-sys v0.1.1 [INFO] [stderr] Compiling termion v1.5.1 [INFO] [stderr] Compiling cpal v0.6.0 [INFO] [stderr] Compiling piff v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0407]: method `replace_one` is not a member of trait `Step` [INFO] [stdout] --> src/definitions.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | / fn replace_one(&mut self) -> Self { [INFO] [stdout] 118 | | let res = *self; [INFO] [stdout] 119 | | *self = Note { [INFO] [stdout] 120 | | octave: 0, [INFO] [stdout] ... | [INFO] [stdout] 123 | | res [INFO] [stdout] 124 | | } [INFO] [stdout] | |_____^ not a member of trait `Step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `replace_zero` is not a member of trait `Step` [INFO] [stdout] --> src/definitions.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | / fn replace_zero(&mut self) -> Self { [INFO] [stdout] 127 | | let res = *self; [INFO] [stdout] 128 | | *self = Note { [INFO] [stdout] 129 | | octave: 0, [INFO] [stdout] ... | [INFO] [stdout] 132 | | res [INFO] [stdout] 133 | | } [INFO] [stdout] | |_____^ not a member of trait `Step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `add_one` is not a member of trait `Step` [INFO] [stdout] --> src/definitions.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | / fn add_one(&self) -> Self { [INFO] [stdout] 136 | | *self + 1 [INFO] [stdout] 137 | | } [INFO] [stdout] | |_____^ not a member of trait `Step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `sub_one` is not a member of trait `Step` [INFO] [stdout] --> src/definitions.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | / fn sub_one(&self) -> Self { [INFO] [stdout] 140 | | match self.class as u8 { [INFO] [stdout] 141 | | 0 => Note { [INFO] [stdout] 142 | | class: B, [INFO] [stdout] ... | [INFO] [stdout] 152 | | } [INFO] [stdout] 153 | | } [INFO] [stdout] | |_____^ not a member of trait `Step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `add_usize` is not a member of trait `Step` [INFO] [stdout] --> src/definitions.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | / fn add_usize(&self, n: usize) -> Option { [INFO] [stdout] 156 | | if n < 256 { [INFO] [stdout] 157 | | Some(*self + n as u8) [INFO] [stdout] 158 | | } else { [INFO] [stdout] 159 | | None [INFO] [stdout] 160 | | } [INFO] [stdout] 161 | | } [INFO] [stdout] | |_____^ not a member of trait `Step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/definitions.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | 1...11 => Note { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/definitions.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / lazy_static! { [INFO] [stdout] 12 | | pub static ref SAMPLE_HISTORY : Mutex> = { [INFO] [stdout] 13 | | Mutex::new(vec![0.0; HISTORY_LENGTH]) [INFO] [stdout] 14 | | }; [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0200]: the trait `std::iter::Step` requires an `unsafe impl` declaration [INFO] [stdout] --> src/definitions.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | / impl Step for Note { [INFO] [stdout] 110 | | fn steps_between(start: &Self, end: &Self) -> Option { [INFO] [stdout] 111 | | if end > start { [INFO] [stdout] 112 | | Some((*end - *start) as usize) [INFO] [stdout] ... | [INFO] [stdout] 161 | | } [INFO] [stdout] 162 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0200, E0407. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0200`. [INFO] [stdout] [INFO] [stderr] error: could not compile `piff`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "a1bc94ad4008468cda73e265a9b4ad9c4f1e1b137886ecf3dcd6fcefbc3bf6b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1bc94ad4008468cda73e265a9b4ad9c4f1e1b137886ecf3dcd6fcefbc3bf6b2", kill_on_drop: false }` [INFO] [stdout] a1bc94ad4008468cda73e265a9b4ad9c4f1e1b137886ecf3dcd6fcefbc3bf6b2