[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] testing saiton03/mygit against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaiton03%2Fmygit" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/saiton03/mygit on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-10/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b8d09964c7f7d6fe271657cc26403e50a63fe2f4faf5b425253dbcd27469a1c [INFO] running `Command { std: "docker" "start" "-a" "1b8d09964c7f7d6fe271657cc26403e50a63fe2f4faf5b425253dbcd27469a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b8d09964c7f7d6fe271657cc26403e50a63fe2f4faf5b425253dbcd27469a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b8d09964c7f7d6fe271657cc26403e50a63fe2f4faf5b425253dbcd27469a1c", kill_on_drop: false }` [INFO] [stdout] 1b8d09964c7f7d6fe271657cc26403e50a63fe2f4faf5b425253dbcd27469a1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c9f35b5b53dac824ad603107a78dcf46687d40938415eeae3c164c72d0948c9 [INFO] running `Command { std: "docker" "start" "-a" "1c9f35b5b53dac824ad603107a78dcf46687d40938415eeae3c164c72d0948c9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling os_str_bytes v3.1.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.4 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling clap v3.0.0-beta.4 [INFO] [stderr] Compiling mygit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `generate_digest_string` [INFO] [stdout] --> src/object.rs:93:12 [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 function is never used: `from_bytes` [INFO] [stdout] --> src/object.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn from_bytes(byte: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_depressed_bytes` [INFO] [stdout] --> src/object.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn from_depressed_bytes(byte: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_code_bytes` [INFO] [stdout] --> src/object.rs:241:8 [INFO] [stdout] | [INFO] [stdout] 241 | fn from_code_bytes(code: &Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_code_bytes` [INFO] [stdout] --> src/object.rs:299:8 [INFO] [stdout] | [INFO] [stdout] 299 | fn from_code_bytes(code: &Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse` [INFO] [stdout] --> src/object.rs:376:8 [INFO] [stdout] | [INFO] [stdout] 376 | fn parse(bytes: &Vec) -> Result<(Self, usize),String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_bytes` [INFO] [stdout] --> src/object.rs:685:12 [INFO] [stdout] | [INFO] [stdout] 685 | pub fn to_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calc_sha1_string` [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: associated function is never used: `file_path` [INFO] [stdout] --> src/index.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn file_path(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.28s [INFO] running `Command { std: "docker" "inspect" "1c9f35b5b53dac824ad603107a78dcf46687d40938415eeae3c164c72d0948c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c9f35b5b53dac824ad603107a78dcf46687d40938415eeae3c164c72d0948c9", kill_on_drop: false }` [INFO] [stdout] 1c9f35b5b53dac824ad603107a78dcf46687d40938415eeae3c164c72d0948c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40e8f468a778beeb7c4fe3b4f71f2ac6cb46e048427fe4ab00aa29f50c6b4765 [INFO] running `Command { std: "docker" "start" "-a" "40e8f468a778beeb7c4fe3b4f71f2ac6cb46e048427fe4ab00aa29f50c6b4765", kill_on_drop: false }` [INFO] [stderr] Compiling 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 struct `hash::Hash`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `hash::Hash` [INFO] [stdout] found enum `std::option::Option` [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 [INFO] [stdout] ... [INFO] [stdout] 441 | match source.create_bytes() { [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `TreeNode` [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` due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "40e8f468a778beeb7c4fe3b4f71f2ac6cb46e048427fe4ab00aa29f50c6b4765", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40e8f468a778beeb7c4fe3b4f71f2ac6cb46e048427fe4ab00aa29f50c6b4765", kill_on_drop: false }` [INFO] [stdout] 40e8f468a778beeb7c4fe3b4f71f2ac6cb46e048427fe4ab00aa29f50c6b4765