[INFO] cloning repository https://github.com/quchen/rustfuck [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/quchen/rustfuck" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquchen%2Frustfuck", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquchen%2Frustfuck'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f4aecf3e05661f20a3a03eed681025e72c9107b [INFO] checking quchen/rustfuck against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquchen%2Frustfuck" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/quchen/rustfuck on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/quchen/rustfuck [INFO] finished tweaking git repo https://github.com/quchen/rustfuck [INFO] tweaked toml for git repo https://github.com/quchen/rustfuck written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/quchen/rustfuck already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1bd7133c860203eae277e65dc85d16deee815c4c6b4e26c41a0efbe7e106b2e1 [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" "1bd7133c860203eae277e65dc85d16deee815c4c6b4e26c41a0efbe7e106b2e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1bd7133c860203eae277e65dc85d16deee815c4c6b4e26c41a0efbe7e106b2e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bd7133c860203eae277e65dc85d16deee815c4c6b4e26c41a0efbe7e106b2e1", kill_on_drop: false }` [INFO] [stdout] 1bd7133c860203eae277e65dc85d16deee815c4c6b4e26c41a0efbe7e106b2e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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] 5aa34ab86417fcf68e924640d006e7e4313e6d4e6187d555b068e18329bf33b1 [INFO] running `Command { std: "docker" "start" "-a" "5aa34ab86417fcf68e924640d006e7e4313e6d4e6187d555b068e18329bf33b1", kill_on_drop: false }` [INFO] [stderr] Checking rustfuck v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/brainfuck/tape.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | fn modify(&mut self, f: FnMut(T)) { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn FnMut(T)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/brainfuck/tape.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | fn modify(&mut self, f: FnMut(T)) { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn FnMut(T)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn FnMut(T) + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/brainfuck/tape.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | fn modify(&mut self, f: FnMut(T)) { [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn FnMut(T) + 'static)` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 9 | fn modify(&mut self, &f: FnMut(T)) { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/brainfuck/tape.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Tape { [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 10 | f(self.get_focus_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected type parameter `T`, found `&mut T` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found mutable reference `&mut T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/brainfuck/tape.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | } else if self.focus > self.tape.len() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `i64`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 34 | } else if self.focus > self.tape.len().try_into().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/brainfuck/tape.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | while new_len < self.focus { [INFO] [stdout] | ^^^^^^^^^^ expected `usize`, found `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i64` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 36 | while new_len < self.focus.try_into().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `resize` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/brainfuck/tape.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | self.tape.resize(new_len); [INFO] [stdout] | ^^^^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `T: Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `index_mut` found for struct `Vec` in the current scope [INFO] [stdout] --> src/brainfuck/tape.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | self.tape.index_mut(self.focus) [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `iter_mut` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::ops::IndexMut;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustfuck` [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[E0277]: the size for values of type `(dyn FnMut(T) + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/brainfuck/tape.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | fn modify(&mut self, f: FnMut(T)) { [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn FnMut(T) + 'static)` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 9 | fn modify(&mut self, &f: FnMut(T)) { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/brainfuck/tape.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Tape { [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 10 | f(self.get_focus_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected type parameter `T`, found `&mut T` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found mutable reference `&mut T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/brainfuck/tape.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | } else if self.focus > self.tape.len() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `i64`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to an `i64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 34 | } else if self.focus > self.tape.len().try_into().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/brainfuck/tape.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | while new_len < self.focus { [INFO] [stdout] | ^^^^^^^^^^ expected `usize`, found `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i64` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 36 | while new_len < self.focus.try_into().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `resize` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/brainfuck/tape.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | self.tape.resize(new_len); [INFO] [stdout] | ^^^^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `T: Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `index_mut` found for struct `Vec` in the current scope [INFO] [stdout] --> src/brainfuck/tape.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | self.tape.index_mut(self.focus) [INFO] [stdout] | ^^^^^^^^^ help: there is an associated function with a similar name: `iter_mut` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::ops::IndexMut;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5aa34ab86417fcf68e924640d006e7e4313e6d4e6187d555b068e18329bf33b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5aa34ab86417fcf68e924640d006e7e4313e6d4e6187d555b068e18329bf33b1", kill_on_drop: false }` [INFO] [stdout] 5aa34ab86417fcf68e924640d006e7e4313e6d4e6187d555b068e18329bf33b1