[INFO] cloning repository https://github.com/dethos/rgit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dethos/rgit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdethos%2Frgit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdethos%2Frgit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6fba638f98f15f9fd2e2ae2016c41a9702de8a47 [INFO] testing dethos/rgit against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdethos%2Frgit" "/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/dethos/rgit [INFO] finished tweaking git repo https://github.com/dethos/rgit [INFO] tweaked toml for git repo https://github.com/dethos/rgit written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dethos/rgit on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dethos/rgit 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa87dd926f35d3066d321307eac3923c3f5827378ca571d21630b35641e3df1f [INFO] running `Command { std: "docker" "start" "-a" "fa87dd926f35d3066d321307eac3923c3f5827378ca571d21630b35641e3df1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa87dd926f35d3066d321307eac3923c3f5827378ca571d21630b35641e3df1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa87dd926f35d3066d321307eac3923c3f5827378ca571d21630b35641e3df1f", kill_on_drop: false }` [INFO] [stdout] fa87dd926f35d3066d321307eac3923c3f5827378ca571d21630b35641e3df1f [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] fa30faa4115255a0484acfdab6ec0fb263e21afb658e172e0b405f80ce3f8083 [INFO] running `Command { std: "docker" "start" "-a" "fa30faa4115255a0484acfdab6ec0fb263e21afb658e172e0b405f80ce3f8083", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling rgit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde_json::Result` [INFO] [stdout] --> src/data.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/base.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | mut oids: Vec<&String>, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/base.rs:208:10 [INFO] [stdout] | [INFO] [stdout] 208 | for (path, object_id) in get_tree(oid, "./".to_owned()).iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/base.rs:487:27 [INFO] [stdout] | [INFO] [stdout] 487 | fn add_file(file: String, mut index: &mut HashMap) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/base.rs:493:25 [INFO] [stdout] | [INFO] [stdout] 493 | fn add_dir(dir: String, mut index: &mut HashMap) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_objects_in_commits_and_parents` is never used [INFO] [stdout] --> src/base.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn copy_objects_in_commits_and_parents( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_tree_objects` is never used [INFO] [stdout] --> src/base.rs:203:4 [INFO] [stdout] | [INFO] [stdout] 203 | fn copy_tree_objects(oid: String, visited: &mut HashSet, remote_path: String, push: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_ancestor_of` is never used [INFO] [stdout] --> src/base.rs:462:8 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn is_ancestor_of(commit: String, maybe_ancestor: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_rgit_dir` is never used [INFO] [stdout] --> src/data.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn set_rgit_dir(path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reset_rgit_dir` is never used [INFO] [stdout] --> src/data.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn reset_rgit_dir() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_object_if_missing` is never used [INFO] [stdout] --> src/data.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn fetch_object_if_missing(oid: String, remote_git_dir: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `push_object` is never used [INFO] [stdout] --> src/data.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn push_object(oid: String, remote_git_dir: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `object_exists` is never used [INFO] [stdout] --> src/data.rs:201:4 [INFO] [stdout] | [INFO] [stdout] 201 | fn object_exists(oid: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `diff_blobs` is never used [INFO] [stdout] --> src/diff.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn diff_blobs(o_from: String, o_to: String, path: String) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `diff_trees` is never used [INFO] [stdout] --> src/diff.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn diff_trees(t_from: HashMap, t_to: HashMap) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `changed_files` is never used [INFO] [stdout] --> src/diff.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn changed_files( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RefValue` is never constructed [INFO] [stdout] --> src/data.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct RefValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> src/data.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn init() -> std::io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_object` is never used [INFO] [stdout] --> src/data.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn hash_object(content: &Vec, _type: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_ref` is never used [INFO] [stdout] --> src/data.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn update_ref(mut reference: String, value: RefValue, deref: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ref` is never used [INFO] [stdout] --> src/data.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn get_ref(reference: String, deref: bool) -> RefValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_ref` is never used [INFO] [stdout] --> src/data.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn delete_ref(reference: String, deref: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `iter_refs` is never used [INFO] [stdout] --> src/data.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn iter_refs(prefix: &str, deref: bool) -> Vec<(String, RefValue)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ref_internal` is never used [INFO] [stdout] --> src/data.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn get_ref_internal(reference: String, deref: bool) -> (String, RefValue) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_index` is never used [INFO] [stdout] --> src/data.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn get_index() -> HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_index` is never used [INFO] [stdout] --> src/data.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn set_index(files: HashMap) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge_trees` is never used [INFO] [stdout] --> src/diff.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn merge_trees( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge_blobs` is never used [INFO] [stdout] --> src/diff.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn merge_blobs(o_base: String, o_head: String, o_other: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_object` is never used [INFO] [stdout] --> src/data.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_object(hash: String, expected: String) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> src/base.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Commit { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_tree` is never used [INFO] [stdout] --> src/base.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn write_tree(directory: String) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_tree` is never used [INFO] [stdout] --> src/base.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn read_tree(oid: String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `commit` is never used [INFO] [stdout] --> src/base.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn commit(message: &str) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkout` is never used [INFO] [stdout] --> src/base.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn checkout(name: String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_tag` is never used [INFO] [stdout] --> src/base.rs:241:8 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn create_tag(name: String, oid: String) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_branch` is never used [INFO] [stdout] --> src/base.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn create_branch(name: String, oid: String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> src/base.rs:298:8 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn init() -> std::io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_branch_name` is never used [INFO] [stdout] --> src/base.rs:311:8 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn get_branch_name() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `iter_branch_names` is never used [INFO] [stdout] --> src/base.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn iter_branch_names() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reset` is never used [INFO] [stdout] --> src/base.rs:330:8 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn reset(oid: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge` is never used [INFO] [stdout] --> src/base.rs:341:8 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn merge(oid: String) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_merge_base` is never used [INFO] [stdout] --> src/base.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn get_merge_base(commit1: String, commit2: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_ignored` is never used [INFO] [stdout] --> src/base.rs:397:4 [INFO] [stdout] | [INFO] [stdout] 397 | fn is_ignored(path: &String) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_working_tree` is never used [INFO] [stdout] --> src/base.rs:443:8 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn get_working_tree() -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/base.rs:473:8 [INFO] [stdout] | [INFO] [stdout] 473 | pub fn add(files: Vec<&str>) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_file` is never used [INFO] [stdout] --> src/base.rs:487:4 [INFO] [stdout] | [INFO] [stdout] 487 | fn add_file(file: String, mut index: &mut HashMap) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_dir` is never used [INFO] [stdout] --> src/base.rs:493:4 [INFO] [stdout] | [INFO] [stdout] 493 | fn add_dir(dir: String, mut index: &mut HashMap) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `empty_current_directory` is never used [INFO] [stdout] --> src/base.rs:505:4 [INFO] [stdout] | [INFO] [stdout] 505 | fn empty_current_directory(dir: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_branch` is never used [INFO] [stdout] --> src/base.rs:527:4 [INFO] [stdout] | [INFO] [stdout] 527 | fn is_branch(name: String) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_tree_merged` is never used [INFO] [stdout] --> src/base.rs:531:4 [INFO] [stdout] | [INFO] [stdout] 531 | fn read_tree_merged(base_tree: String, head_tree: String, commit_tree: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `symbolic` is never read [INFO] [stdout] --> src/data.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct RefValue { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 20 | pub value: String, [INFO] [stdout] 21 | pub symbolic: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compare_trees` is never used [INFO] [stdout] --> src/diff.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn compare_trees(trees: Vec>) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/base.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 284 | panic!(format!("Unknown name {}", name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 284 - panic!(format!("Unknown name {}", name)); [INFO] [stdout] 284 + panic!("Unknown name {}", name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustc5w0lw0/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libtempfile-3dcc6a1246448467.rlib,librand-4a769b6688c74036.rlib,librand_chacha-ab4d7f1dd13a8655.rlib,libppv_lite86-5a92c3ab26105205.rlib,librand_core-af31ddfb116860d3.rlib,libgetrandom-3d65a302698658d7.rlib,libremove_dir_all-4e221c62d36b2749.rlib,libsha1-89bb5c7c42ce28c3.rlib,libopaque_debug-bfd86111b0908dde.rlib,libcpuid_bool-f14a20ba81419679.rlib,libcfg_if-2d17986ae484e939.rlib,libblock_buffer-3e06d8fb86df9fbf.rlib,libdigest-cb24a8a3b0469a00.rlib,libgeneric_array-21e94a8244c38e49.rlib,libtypenum-0d13c3a14e20be66.rlib,libserde_json-9f63be3b4e974628.rlib,libryu-af883cd9b444a782.rlib,libitoa-c5d55aab241d4883.rlib,libserde-16b224af16762752.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libwalkdir-3efeb4370cd33e40.rlib,libsame_file-ebfa63be59ead6ba.rlib,libclap-a5f012d1d4fc3836.rlib,libvec_map-f5624d319d58cb9d.rlib,libtextwrap-8f512d08ba4810ae.rlib,libunicode_width-a8c49d31449f9404.rlib,libstrsim-b8b77d7a062bc77b.rlib,libbitflags-561a4f1321538a32.rlib,libatty-d748efa40f61def5.rlib,liblibc-ef7905a6c382df03.rlib,libansi_term-ff0b7d01d18bd931.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustc5w0lw0/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rgit-580ee7f0b8609d6e" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-3d65a302698658d7.rlib(getrandom-3d65a302698658d7.getrandom.cca278e80fb4fe2-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.1.15/src/util_libc.rs:112:(.text._ZN9getrandom9util_libc13open_readonly17hc224e8524e837b27E+0x79): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rgit` (bin "rgit") due to 1 previous error; 53 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fa30faa4115255a0484acfdab6ec0fb263e21afb658e172e0b405f80ce3f8083", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa30faa4115255a0484acfdab6ec0fb263e21afb658e172e0b405f80ce3f8083", kill_on_drop: false }` [INFO] [stdout] fa30faa4115255a0484acfdab6ec0fb263e21afb658e172e0b405f80ce3f8083