[INFO] cloning repository https://github.com/nannany/didactic-funicular [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nannany/didactic-funicular" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnannany%2Fdidactic-funicular", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnannany%2Fdidactic-funicular'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d248464d074a071bfb6487077461da3b58ab8a0a [INFO] testing nannany/didactic-funicular against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnannany%2Fdidactic-funicular" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nannany/didactic-funicular on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nannany/didactic-funicular [INFO] finished tweaking git repo https://github.com/nannany/didactic-funicular [INFO] tweaked toml for git repo https://github.com/nannany/didactic-funicular written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/nannany/didactic-funicular already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e1fdefc06899ab10bac461ef6b9dbe29aeb64a6e5a2bc5892ba26708ef33bf8 [INFO] running `Command { std: "docker" "start" "-a" "2e1fdefc06899ab10bac461ef6b9dbe29aeb64a6e5a2bc5892ba26708ef33bf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e1fdefc06899ab10bac461ef6b9dbe29aeb64a6e5a2bc5892ba26708ef33bf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e1fdefc06899ab10bac461ef6b9dbe29aeb64a6e5a2bc5892ba26708ef33bf8", kill_on_drop: false }` [INFO] [stdout] 2e1fdefc06899ab10bac461ef6b9dbe29aeb64a6e5a2bc5892ba26708ef33bf8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2eaed4c176d08b859cd96e509d7b160ea741fcbbd4ac6239e64b9a2c30b68d8c [INFO] running `Command { std: "docker" "start" "-a" "2eaed4c176d08b859cd96e509d7b160ea741fcbbd4ac6239e64b9a2c30b68d8c", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling didactic-funicular v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thiserror` [INFO] [stdout] --> src/buffer.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, thiserror::Error)] [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/buffer.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[error(transparent)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> src/buffer.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | Io(#[from] io::Error), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/buffer.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[error("no free buffer available in buffer pool")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PageId: Default` is not satisfied [INFO] [stdout] --> src/buffer.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | page_id: Default::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `PageId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/buffer.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | buffers.resize_with(pool_size, Default::default()); [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type parameter `F` declared on the associated function `resize_with` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/buffer.rs:91:38 [INFO] [stdout] | [INFO] [stdout] 91 | BufferId((buffer_id.0 + 1) % self.size()) [INFO] [stdout] | ^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot mod `u64` by `usize` [INFO] [stdout] --> src/buffer.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | BufferId((buffer_id.0 + 1) % self.size()) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `u64 % usize` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Rem` is not implemented for `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[Frame]` cannot be indexed by `u64` [INFO] [stdout] --> src/buffer.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | &self.buffers[index.0] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[Frame]>` is not implemented for `u64` [INFO] [stdout] = note: required because of the requirements on the impl of `Index` for `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[Frame]` cannot be indexed by `u64` [INFO] [stdout] --> src/buffer.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | &mut self.buffers[index.0] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[Frame]>` is not implemented for `u64` [INFO] [stdout] = note: required because of the requirements on the impl of `Index` for `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `buffer::Error` [INFO] [stdout] --> src/buffer.rs:135:75 [INFO] [stdout] | [INFO] [stdout] 135 | .write_page_data(evict_page_id, buffer.page.get_mut())?; [INFO] [stdout] | ^ the trait `From` is not implemented for `buffer::Error` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result, buffer::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `buffer::Error` [INFO] [stdout] --> src/buffer.rs:139:69 [INFO] [stdout] | [INFO] [stdout] 139 | self.disk.read_page_data(page_id, buffer.page.get_mut())?; [INFO] [stdout] | ^ the trait `From` is not implemented for `buffer::Error` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result, buffer::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `buffer::Error` [INFO] [stdout] --> src/buffer.rs:156:75 [INFO] [stdout] | [INFO] [stdout] 156 | .write_page_data(evict_page_id, buffer.page.get_mut())?; [INFO] [stdout] | ^ the trait `From` is not implemented for `buffer::Error` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result, buffer::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `didactic-funicular` due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "2eaed4c176d08b859cd96e509d7b160ea741fcbbd4ac6239e64b9a2c30b68d8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2eaed4c176d08b859cd96e509d7b160ea741fcbbd4ac6239e64b9a2c30b68d8c", kill_on_drop: false }` [INFO] [stdout] 2eaed4c176d08b859cd96e509d7b160ea741fcbbd4ac6239e64b9a2c30b68d8c