[INFO] cloning repository https://github.com/nametake/relly [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nametake/relly" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnametake%2Frelly", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnametake%2Frelly'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d314c79636e387beb142365bcca15e029abc9c0 [INFO] checking nametake/relly against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnametake%2Frelly" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nametake/relly on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nametake/relly [INFO] finished tweaking git repo https://github.com/nametake/relly [INFO] tweaked toml for git repo https://github.com/nametake/relly written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nametake/relly already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd7b0af4e8c33d4f050b219faac44d49d6c1a0fff9275f6defea6e0d185b1bf6 [INFO] running `Command { std: "docker" "start" "-a" "dd7b0af4e8c33d4f050b219faac44d49d6c1a0fff9275f6defea6e0d185b1bf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd7b0af4e8c33d4f050b219faac44d49d6c1a0fff9275f6defea6e0d185b1bf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd7b0af4e8c33d4f050b219faac44d49d6c1a0fff9275f6defea6e0d185b1bf6", kill_on_drop: false }` [INFO] [stdout] dd7b0af4e8c33d4f050b219faac44d49d6c1a0fff9275f6defea6e0d185b1bf6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 811bbb1315cef3168a3b251b9183d8ca64004be0333489ab652a5de6cca71c79 [INFO] running `Command { std: "docker" "start" "-a" "811bbb1315cef3168a3b251b9183d8ca64004be0333489ab652a5de6cca71c79", kill_on_drop: false }` [INFO] [stderr] Checking relly v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `BufferId` in the current scope [INFO] [stdout] --> src/buffer_pool.rs:44:40 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BufferId(usize); [INFO] [stdout] | ------------------- function or associated item `default` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 44 | let next_victim_id = BufferId::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `BufferId` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `BufferId` in the current scope [INFO] [stdout] --> src/buffer_pool.rs:44:40 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BufferId(usize); [INFO] [stdout] | ------------------- function or associated item `default` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 44 | let next_victim_id = BufferId::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `BufferId` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Frame: Default` is not satisfied [INFO] [stdout] --> src/buffer_pool.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | buffers.resize_with(pool_size, Default::default); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `Frame` [INFO] [stdout] | [INFO] [stdout] help: consider annotating `Frame` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 30 + #[derive(Default)] [INFO] [stdout] 31 | pub struct Frame { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Frame: Default` is not satisfied [INFO] [stdout] --> src/buffer_pool.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | buffers.resize_with(pool_size, Default::default); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `Frame` [INFO] [stdout] | [INFO] [stdout] help: consider annotating `Frame` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 30 + #[derive(Default)] [INFO] [stdout] 31 | pub struct Frame { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Frame: Default` is not satisfied [INFO] [stdout] --> src/buffer_pool.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | buffers.resize_with(pool_size, Default::default); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `Frame` [INFO] [stdout] | [INFO] [stdout] help: consider annotating `Frame` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 30 + #[derive(Default)] [INFO] [stdout] 31 | pub struct Frame { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Frame: Default` is not satisfied [INFO] [stdout] --> src/buffer_pool.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | buffers.resize_with(pool_size, Default::default); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `Frame` [INFO] [stdout] | [INFO] [stdout] help: consider annotating `Frame` with `#[derive(Default)]` [INFO] [stdout] | [INFO] [stdout] 30 + #[derive(Default)] [INFO] [stdout] 31 | pub struct Frame { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.next_victim_id` which is behind a mutable reference [INFO] [stdout] --> src/buffer_pool.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | let next_victim_id = self.next_victim_id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ move occurs because `self.next_victim_id` has type `BufferId`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `BufferId` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/buffer_pool.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BufferId(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 56 | let next_victim_id = self.next_victim_id; [INFO] [stdout] | ------------------- you could clone this value [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 56 | let next_victim_id = &self.next_victim_id; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.next_victim_id` which is behind a mutable reference [INFO] [stdout] --> src/buffer_pool.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | let next_victim_id = self.next_victim_id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ move occurs because `self.next_victim_id` has type `BufferId`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `BufferId` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/buffer_pool.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BufferId(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 56 | let next_victim_id = self.next_victim_id; [INFO] [stdout] | ------------------- you could clone this value [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 56 | let next_victim_id = &self.next_victim_id; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an index of `BufferPool` as mutable [INFO] [stdout] --> src/buffer_pool.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | let frame = &mut self[next_victim_id]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `BufferPool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an index of `BufferPool` as mutable [INFO] [stdout] --> src/buffer_pool.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | let frame = &mut self[next_victim_id]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `BufferPool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.next_victim_id` which is behind a mutable reference [INFO] [stdout] --> src/buffer_pool.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | break self.next_victim_id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ move occurs because `self.next_victim_id` has type `BufferId`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `BufferId` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/buffer_pool.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BufferId(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 59 | break self.next_victim_id; [INFO] [stdout] | ------------------- you could clone this value [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 59 | break &self.next_victim_id; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.next_victim_id` which is behind a mutable reference [INFO] [stdout] --> src/buffer_pool.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | break self.next_victim_id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ move occurs because `self.next_victim_id` has type `BufferId`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `BufferId` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/buffer_pool.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BufferId(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 59 | break self.next_victim_id; [INFO] [stdout] | ------------------- you could clone this value [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 59 | break &self.next_victim_id; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `self.next_victim_id` because it is borrowed [INFO] [stdout] --> src/buffer_pool.rs:71:53 [INFO] [stdout] | [INFO] [stdout] 51 | fn evict(&mut self) -> Option { [INFO] [stdout] | --------- binding `self` declared here [INFO] [stdout] ... [INFO] [stdout] 71 | self.next_victim_id = self.increment_id(self.next_victim_id); [INFO] [stdout] | ---- ------------ ^^^^^^^^^^^^^^^^^^^ move out of `self.next_victim_id` occurs here [INFO] [stdout] | | | [INFO] [stdout] | | borrow later used by call [INFO] [stdout] | borrow of `*self` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `self.next_victim_id` because it is borrowed [INFO] [stdout] --> src/buffer_pool.rs:71:53 [INFO] [stdout] | [INFO] [stdout] 51 | fn evict(&mut self) -> Option { [INFO] [stdout] | --------- binding `self` declared here [INFO] [stdout] ... [INFO] [stdout] 71 | self.next_victim_id = self.increment_id(self.next_victim_id); [INFO] [stdout] | ---- ------------ ^^^^^^^^^^^^^^^^^^^ move out of `self.next_victim_id` occurs here [INFO] [stdout] | | | [INFO] [stdout] | | borrow later used by call [INFO] [stdout] | borrow of `*self` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.next_victim_id` which is behind a mutable reference [INFO] [stdout] --> src/buffer_pool.rs:71:53 [INFO] [stdout] | [INFO] [stdout] 71 | self.next_victim_id = self.increment_id(self.next_victim_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ move occurs because `self.next_victim_id` has type `BufferId`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `BufferId` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/buffer_pool.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BufferId(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 71 | self.next_victim_id = self.increment_id(self.next_victim_id); [INFO] [stdout] | ------------------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.next_victim_id` which is behind a mutable reference [INFO] [stdout] --> src/buffer_pool.rs:71:53 [INFO] [stdout] | [INFO] [stdout] 71 | self.next_victim_id = self.increment_id(self.next_victim_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ move occurs because `self.next_victim_id` has type `BufferId`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `BufferId` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/buffer_pool.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BufferId(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] ... [INFO] [stdout] 71 | self.next_victim_id = self.increment_id(self.next_victim_id); [INFO] [stdout] | ------------------- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0505, E0507, E0596, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0505, E0507, E0596, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `relly` (bin "relly") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `relly` (bin "relly" test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "811bbb1315cef3168a3b251b9183d8ca64004be0333489ab652a5de6cca71c79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "811bbb1315cef3168a3b251b9183d8ca64004be0333489ab652a5de6cca71c79", kill_on_drop: false }` [INFO] [stdout] 811bbb1315cef3168a3b251b9183d8ca64004be0333489ab652a5de6cca71c79