[INFO] cloning repository https://github.com/whentze/piff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/whentze/piff" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhentze%2Fpiff", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhentze%2Fpiff'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b34f0dcce33f15255f5e45e903cd36172c2686a2 [INFO] checking whentze/piff against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhentze%2Fpiff" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/whentze/piff on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "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-5/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" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 100712a9ccc749b0c1ebb61df9ae946d60afce5934f61e6a91288ee42a18ac37 [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" "100712a9ccc749b0c1ebb61df9ae946d60afce5934f61e6a91288ee42a18ac37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "100712a9ccc749b0c1ebb61df9ae946d60afce5934f61e6a91288ee42a18ac37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "100712a9ccc749b0c1ebb61df9ae946d60afce5934f61e6a91288ee42a18ac37", kill_on_drop: false }` [INFO] [stdout] 100712a9ccc749b0c1ebb61df9ae946d60afce5934f61e6a91288ee42a18ac37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "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] f618345c5f05c6d7f01d49a5e20c6ef3acf7d09e24a390ca2c7e4ee2d0bdd00d [INFO] running `Command { std: "docker" "start" "-a" "f618345c5f05c6d7f01d49a5e20c6ef3acf7d09e24a390ca2c7e4ee2d0bdd00d", 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] Compiling pkg-config v0.3.9 [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking termion v1.5.1 [INFO] [stderr] Compiling alsa-sys v0.1.1 [INFO] [stderr] Checking cpal v0.6.0 [INFO] [stderr] Checking 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_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 `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 `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_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 `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] 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: `...` 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 constant `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] warning: use of deprecated constant `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 `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[E0200]: the trait `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] [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f618345c5f05c6d7f01d49a5e20c6ef3acf7d09e24a390ca2c7e4ee2d0bdd00d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f618345c5f05c6d7f01d49a5e20c6ef3acf7d09e24a390ca2c7e4ee2d0bdd00d", kill_on_drop: false }` [INFO] [stdout] f618345c5f05c6d7f01d49a5e20c6ef3acf7d09e24a390ca2c7e4ee2d0bdd00d