[INFO] cloning repository https://github.com/lgmo/leucli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lgmo/leucli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flgmo%2Fleucli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flgmo%2Fleucli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d6d7b34210aacde0d0373517d8186677a20aae0 [INFO] building lgmo/leucli against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flgmo%2Fleucli" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lgmo/leucli on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lgmo/leucli [INFO] finished tweaking git repo https://github.com/lgmo/leucli [INFO] tweaked toml for git repo https://github.com/lgmo/leucli written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lgmo/leucli 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 435a0257996adc7b0232b144324c8716c22ab8a699eaeba0879013e32cefbd64 [INFO] running `Command { std: "docker" "start" "-a" "435a0257996adc7b0232b144324c8716c22ab8a699eaeba0879013e32cefbd64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "435a0257996adc7b0232b144324c8716c22ab8a699eaeba0879013e32cefbd64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "435a0257996adc7b0232b144324c8716c22ab8a699eaeba0879013e32cefbd64", kill_on_drop: false }` [INFO] [stdout] 435a0257996adc7b0232b144324c8716c22ab8a699eaeba0879013e32cefbd64 [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=warn" "-e" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22feb14c7fb69764891ec5c0303f8174c4b9b6effae5ce52c34083fe35a1b2e6 [INFO] running `Command { std: "docker" "start" "-a" "22feb14c7fb69764891ec5c0303f8174c4b9b6effae5ce52c34083fe35a1b2e6", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling fragile v2.0.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling predicates v3.0.4 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling simple-home-dir v0.3.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Compiling mockall_derive v0.12.1 [INFO] [stderr] Compiling serial_test v2.0.0 [INFO] [stderr] Compiling mockall v0.12.1 [INFO] [stderr] Compiling leucli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `get_local_files` and `get_cwd` are never used [INFO] [stdout] --> src/file_manager.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait FileManager { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 5 | fn get_local_files(&self, path: &PathBuf) -> Result, String>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | [INFO] [stdout] 7 | fn get_cwd(&self) -> PathBuf; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_project_url` is never used [INFO] [stdout] --> src/git_manager.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait GitManager { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn get_project_url(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `higher_scope` is never read [INFO] [stdout] --> src/scopes.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 3 | pub name: String, [INFO] [stdout] 4 | pub higher_scope: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.76s [INFO] running `Command { std: "docker" "inspect" "22feb14c7fb69764891ec5c0303f8174c4b9b6effae5ce52c34083fe35a1b2e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22feb14c7fb69764891ec5c0303f8174c4b9b6effae5ce52c34083fe35a1b2e6", kill_on_drop: false }` [INFO] [stdout] 22feb14c7fb69764891ec5c0303f8174c4b9b6effae5ce52c34083fe35a1b2e6 [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=warn" "-e" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25d6f586853a52a11cee67cd616cec7e6a24822c0d2937a50bc9a20a7d10ec15 [INFO] running `Command { std: "docker" "start" "-a" "25d6f586853a52a11cee67cd616cec7e6a24822c0d2937a50bc9a20a7d10ec15", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Compiling leucli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `get_local_files` and `get_cwd` are never used [INFO] [stdout] --> src/file_manager.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait FileManager { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 5 | fn get_local_files(&self, path: &PathBuf) -> Result, String>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | [INFO] [stdout] 7 | fn get_cwd(&self) -> PathBuf; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_project_url` is never used [INFO] [stdout] --> src/git_manager.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait GitManager { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn get_project_url(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `higher_scope` is never read [INFO] [stdout] --> src/scopes.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 3 | pub name: String, [INFO] [stdout] 4 | pub higher_scope: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::file_manager` [INFO] [stdout] --> src/utils.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::file_manager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leucli` [INFO] [stdout] --> tests/integration_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use leucli; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/file_manager.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | fn get_local_files(&self, path: &PathBuf) -> Result, String> { [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: unused variable: `path` [INFO] [stdout] --> src/file_manager.rs:61:36 [INFO] [stdout] | [INFO] [stdout] 61 | fn get_file_content(&self, path: &Path) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_local_files` is never used [INFO] [stdout] --> src/file_manager.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait FileManager { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 5 | fn get_local_files(&self, path: &PathBuf) -> Result, String>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockFileManager` is never constructed [INFO] [stdout] --> src/file_manager.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | struct MockFileManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_project_url` is never used [INFO] [stdout] --> src/git_manager.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait GitManager { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn get_project_url(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockGitManagerGitProject` is never constructed [INFO] [stdout] --> src/git_manager.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | struct MockGitManagerGitProject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockGitManagerNotGitProject` is never constructed [INFO] [stdout] --> src/git_manager.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | struct MockGitManagerNotGitProject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `higher_scope` is never read [INFO] [stdout] --> src/scopes.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 3 | pub name: String, [INFO] [stdout] 4 | pub higher_scope: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/git_manager.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | &path.push("project"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 110 | let _ = &path.push("project"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/git_manager.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | &path.push("project"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 118 | let _ = &path.push("project"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "25d6f586853a52a11cee67cd616cec7e6a24822c0d2937a50bc9a20a7d10ec15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25d6f586853a52a11cee67cd616cec7e6a24822c0d2937a50bc9a20a7d10ec15", kill_on_drop: false }` [INFO] [stdout] 25d6f586853a52a11cee67cd616cec7e6a24822c0d2937a50bc9a20a7d10ec15