[INFO] cloning repository https://github.com/cursedcadaver/base64 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cursedcadaver/base64" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcursedcadaver%2Fbase64", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcursedcadaver%2Fbase64'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da0ed66f0cc700960d98e52caea9410d50b07777 [INFO] checking cursedcadaver/base64 against try#0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9 for pr-147185 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcursedcadaver%2Fbase64" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cursedcadaver/base64 [INFO] finished tweaking git repo https://github.com/cursedcadaver/base64 [INFO] tweaked toml for git repo https://github.com/cursedcadaver/base64 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cursedcadaver/base64 on toolchain 0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cursedcadaver/base64 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" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking cursedcadaver/base64 against try#0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9 for pr-147185 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcursedcadaver%2Fbase64" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cursedcadaver/base64 [INFO] finished tweaking git repo https://github.com/cursedcadaver/base64 [INFO] tweaked toml for git repo https://github.com/cursedcadaver/base64 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cursedcadaver/base64 on toolchain 0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cursedcadaver/base64 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" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95d19c5babf715afadc5e8d06960466d730974a2085b6b0ed97b344aaaebc9ac [INFO] running `Command { std: "docker" "start" "-a" "95d19c5babf715afadc5e8d06960466d730974a2085b6b0ed97b344aaaebc9ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95d19c5babf715afadc5e8d06960466d730974a2085b6b0ed97b344aaaebc9ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95d19c5babf715afadc5e8d06960466d730974a2085b6b0ed97b344aaaebc9ac", kill_on_drop: false }` [INFO] [stdout] 95d19c5babf715afadc5e8d06960466d730974a2085b6b0ed97b344aaaebc9ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0de49ae9e81f9a1e7df6f0783824ce94ed18e8a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c5f9ebc227c84b2eee6be2aa26d68e645c9e5ba4605937cb73846238f91c102 [INFO] running `Command { std: "docker" "start" "-a" "8c5f9ebc227c84b2eee6be2aa26d68e645c9e5ba4605937cb73846238f91c102", kill_on_drop: false }` [INFO] [stderr] Checking base64 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | fn index(&self, index: u8) -> &Self::Output { [INFO] [stdout] | ------------- expected `&u8` because of return type [INFO] [stdout] 17 | &self.char[index as usize] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&u8`, found `&char` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&u8` [INFO] [stdout] found reference `&char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | fn index(&self, index: u8) -> &Self::Output { [INFO] [stdout] | ------------- expected `&u8` because of return type [INFO] [stdout] 17 | &self.char[index as usize] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&u8`, found `&char` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&u8` [INFO] [stdout] found reference `&char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[char]` cannot be indexed by `u8` [INFO] [stdout] --> src/main.rs:33:39 [INFO] [stdout] | [INFO] [stdout] 33 | encoded.push_str(ENCODE_CHARS[(byte >> 2) & 0b1111]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[char]>` is not implemented for `u8` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `[char]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[char; 64]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[char]` cannot be indexed by `u8` [INFO] [stdout] --> src/main.rs:33:39 [INFO] [stdout] | [INFO] [stdout] 33 | encoded.push_str(ENCODE_CHARS[(byte >> 2) & 0b1111]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[char]>` is not implemented for `u8` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `[char]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[char; 64]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[char]` cannot be indexed by `u8` [INFO] [stdout] --> src/main.rs:34:39 [INFO] [stdout] | [INFO] [stdout] 34 | encoded.push_str(ENCODE_CHARS[((byte << 4) & 0b11110000) | (byte >> 4)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[char]>` is not implemented for `u8` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `[char]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[char; 64]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[char]` cannot be indexed by `u8` [INFO] [stdout] --> src/main.rs:34:39 [INFO] [stdout] | [INFO] [stdout] 34 | encoded.push_str(ENCODE_CHARS[((byte << 4) & 0b11110000) | (byte >> 4)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[char]>` is not implemented for `u8` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `[char]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[char; 64]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[char]` cannot be indexed by `u8` [INFO] [stdout] --> src/main.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | encoded.push_str(ENCODE_CHARS[((byte << 2) & 0b11000000) | (byte >> 6)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[char]>` is not implemented for `u8` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `[char]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[char; 64]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[char]` cannot be indexed by `u8` [INFO] [stdout] --> src/main.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | encoded.push_str(ENCODE_CHARS[((byte << 2) & 0b11000000) | (byte >> 6)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[char]>` is not implemented for `u8` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `[char]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[char; 64]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[char]` cannot be indexed by `u8` [INFO] [stdout] --> src/main.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | encoded.push_str(ENCODE_CHARS[byte & 0b00111111]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[char]>` is not implemented for `u8` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `[char]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[char; 64]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[char]` cannot be indexed by `u8` [INFO] [stdout] --> src/main.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | encoded.push_str(ENCODE_CHARS[byte & 0b00111111]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[char]>` is not implemented for `u8` [INFO] [stdout] = help: the following other types implement trait `SliceIndex`: [INFO] [stdout] `usize` implements `SliceIndex` [INFO] [stdout] `usize` implements `SliceIndex<[T]>` [INFO] [stdout] = note: required for `[char]` to implement `Index` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `[char; 64]` to implement `Index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `base64` (bin "base64" test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `base64` (bin "base64") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "8c5f9ebc227c84b2eee6be2aa26d68e645c9e5ba4605937cb73846238f91c102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c5f9ebc227c84b2eee6be2aa26d68e645c9e5ba4605937cb73846238f91c102", kill_on_drop: false }` [INFO] [stdout] 8c5f9ebc227c84b2eee6be2aa26d68e645c9e5ba4605937cb73846238f91c102