[INFO] cloning repository https://github.com/saiton03/mygit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/saiton03/mygit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaiton03%2Fmygit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaiton03%2Fmygit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c743b132e6752f61e42a802e728352d30f377f6 [INFO] checking saiton03/mygit against master#d97bb195bf7b84815622b235cb51171c1b8f7e51 for pr-117905 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaiton03%2Fmygit" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/saiton03/mygit on toolchain d97bb195bf7b84815622b235cb51171c1b8f7e51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d97bb195bf7b84815622b235cb51171c1b8f7e51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/saiton03/mygit [INFO] finished tweaking git repo https://github.com/saiton03/mygit [INFO] tweaked toml for git repo https://github.com/saiton03/mygit written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/saiton03/mygit 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" "+d97bb195bf7b84815622b235cb51171c1b8f7e51" "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 [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking saiton03/mygit against try#1930f260edd7e614aa013a0665aa5cfd0ada0501 for pr-117905 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaiton03%2Fmygit" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/saiton03/mygit on toolchain 1930f260edd7e614aa013a0665aa5cfd0ada0501 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/saiton03/mygit [INFO] finished tweaking git repo https://github.com/saiton03/mygit [INFO] tweaked toml for git repo https://github.com/saiton03/mygit written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/saiton03/mygit 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" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "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 saiton03/mygit against try#1930f260edd7e614aa013a0665aa5cfd0ada0501 for pr-117905 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaiton03%2Fmygit" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/saiton03/mygit on toolchain 1930f260edd7e614aa013a0665aa5cfd0ada0501 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/saiton03/mygit [INFO] finished tweaking git repo https://github.com/saiton03/mygit [INFO] tweaked toml for git repo https://github.com/saiton03/mygit written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/saiton03/mygit 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" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22c8e95f431d810e2dca93615cb442ecabfbb7c6e08483f97d927526fcece645 [INFO] running `Command { std: "docker" "start" "-a" "22c8e95f431d810e2dca93615cb442ecabfbb7c6e08483f97d927526fcece645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22c8e95f431d810e2dca93615cb442ecabfbb7c6e08483f97d927526fcece645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22c8e95f431d810e2dca93615cb442ecabfbb7c6e08483f97d927526fcece645", kill_on_drop: false }` [INFO] [stdout] 22c8e95f431d810e2dca93615cb442ecabfbb7c6e08483f97d927526fcece645 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1930f260edd7e614aa013a0665aa5cfd0ada0501" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e70979c339a1275f9c254856b176d0e1bd81cafa92445be1db80dd8ba298ed6 [INFO] running `Command { std: "docker" "start" "-a" "4e70979c339a1275f9c254856b176d0e1bd81cafa92445be1db80dd8ba298ed6", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking os_str_bytes v3.1.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.4 [INFO] [stderr] Checking clap v3.0.0-beta.4 [INFO] [stderr] Checking mygit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0614]: type `[u8; 75]` cannot be dereferenced [INFO] [stdout] --> src/object.rs:228:32 [INFO] [stdout] | [INFO] [stdout] 228 | hash: Some(Hash::from(&*bytes)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/object.rs:228:20 [INFO] [stdout] | [INFO] [stdout] 228 | hash: Some(Hash::from(&*bytes)), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^ expected `Hash`, found `Option` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `hash::Hash` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] help: the type constructed contains `std::option::Option` due to the type of the argument passed [INFO] [stdout] --> src/object.rs:228:15 [INFO] [stdout] | [INFO] [stdout] 228 | hash: Some(Hash::from(&*bytes)), [INFO] [stdout] | ^^^^^-------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/1930f260edd7e614aa013a0665aa5cfd0ada0501/library/core/src/option.rs:577:5 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `std::option::Option` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 228 | hash: Some(Hash::from(&*bytes).expect("REASON")), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_bytes` found for struct `TreeNode` in the current scope [INFO] [stdout] --> src/object.rs:441:18 [INFO] [stdout] | [INFO] [stdout] 332 | pub struct TreeNode { [INFO] [stdout] | ------------------- method `create_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 441 | match source.create_bytes() { [INFO] [stdout] | ^^^^^^^^^^^^ help: there is a method with a similar name: `to_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mygit` (bin "mygit" test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `generate_digest_string` is never used [INFO] [stdout] --> src/object.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl Blob { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn generate_digest_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_bytes` and `from_depressed_bytes` are never used [INFO] [stdout] --> src/object.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 129 | impl Tree { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn from_bytes(byte: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn from_depressed_bytes(byte: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_code_bytes` is never used [INFO] [stdout] --> src/object.rs:241:8 [INFO] [stdout] | [INFO] [stdout] 240 | impl FileType { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 241 | fn from_code_bytes(code: &Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_code_bytes` is never used [INFO] [stdout] --> src/object.rs:299:8 [INFO] [stdout] | [INFO] [stdout] 298 | impl FilePermission { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 299 | fn from_code_bytes(code: &Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/object.rs:376:8 [INFO] [stdout] | [INFO] [stdout] 339 | impl TreeNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 376 | fn parse(bytes: &Vec) -> Result<(Self, usize),String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_bytes` is never used [INFO] [stdout] --> src/object.rs:685:12 [INFO] [stdout] | [INFO] [stdout] 625 | impl CommitUser { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 685 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_sha1_string` is never used [INFO] [stdout] --> src/hash.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn calc_sha1_string(byte: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `file_path` is never used [INFO] [stdout] --> src/index.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl IndexEntry { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn file_path(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4e70979c339a1275f9c254856b176d0e1bd81cafa92445be1db80dd8ba298ed6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e70979c339a1275f9c254856b176d0e1bd81cafa92445be1db80dd8ba298ed6", kill_on_drop: false }` [INFO] [stdout] 4e70979c339a1275f9c254856b176d0e1bd81cafa92445be1db80dd8ba298ed6