[INFO] cloning repository https://github.com/o0Ignition0o/cargo-scout [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/o0Ignition0o/cargo-scout" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fo0Ignition0o%2Fcargo-scout", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fo0Ignition0o%2Fcargo-scout'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9dfd8b0a86c1a865677d9777f75c102fd670b3ea [INFO] testing o0Ignition0o/cargo-scout 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%2Fo0Ignition0o%2Fcargo-scout" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/o0Ignition0o/cargo-scout 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/o0Ignition0o/cargo-scout [INFO] finished tweaking git repo https://github.com/o0Ignition0o/cargo-scout [INFO] tweaked toml for git repo https://github.com/o0Ignition0o/cargo-scout written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/o0Ignition0o/cargo-scout 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 62ef5c3752f2313f2706450e44b0403022f3de21e75b1ad2c37921b977f01b64 [INFO] running `Command { std: "docker" "start" "-a" "62ef5c3752f2313f2706450e44b0403022f3de21e75b1ad2c37921b977f01b64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62ef5c3752f2313f2706450e44b0403022f3de21e75b1ad2c37921b977f01b64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62ef5c3752f2313f2706450e44b0403022f3de21e75b1ad2c37921b977f01b64", kill_on_drop: false }` [INFO] [stdout] 62ef5c3752f2313f2706450e44b0403022f3de21e75b1ad2c37921b977f01b64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] dad3057ab5a8baab66cdd89d93e64986344b6a69553d7bb281fc1d12bcc117c9 [INFO] running `Command { std: "docker" "start" "-a" "dad3057ab5a8baab66cdd89d93e64986344b6a69553d7bb281fc1d12bcc117c9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling cargo-scout-macros v0.1.0 (/opt/rustwide/workdir/cargo-scout-macros) [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling unicode-normalization v0.1.11 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling jobserver v0.1.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling libgit2-sys v0.10.0 [INFO] [stderr] Compiling syn-mid v0.4.0 [INFO] [stderr] Compiling rustversion v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling thiserror-impl v1.0.9 [INFO] [stderr] Compiling proc-macro-error v0.4.4 [INFO] [stderr] Compiling thiserror v1.0.9 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.3 [INFO] [stderr] Compiling git2 v0.11.0 [INFO] [stderr] Compiling toml v0.5.5 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling structopt-derive v0.4.0 [INFO] [stderr] Compiling cargo_toml v0.8.0 [INFO] [stderr] Compiling cargo-scout-lib v0.6.0 (/opt/rustwide/workdir/cargo-scout-lib) [INFO] [stderr] Compiling structopt v0.3.7 [INFO] [stdout] warning: field is never read: `package_id` [INFO] [stdout] --> cargo-scout-lib/src/linter/clippy.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | package_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Lint` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cargo-scout-lib/src/linter/clippy.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Deserialize, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `src_path` [INFO] [stdout] --> cargo-scout-lib/src/linter/clippy.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | src_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Lint` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cargo-scout-lib/src/linter/clippy.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Deserialize, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cargo-scout v0.6.0 (/opt/rustwide/workdir/cargo-scout) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "dad3057ab5a8baab66cdd89d93e64986344b6a69553d7bb281fc1d12bcc117c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dad3057ab5a8baab66cdd89d93e64986344b6a69553d7bb281fc1d12bcc117c9", kill_on_drop: false }` [INFO] [stdout] dad3057ab5a8baab66cdd89d93e64986344b6a69553d7bb281fc1d12bcc117c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 98b21539ac27f7f96af207eca1dbc82013f4ae2b95d967aa064ee673d06b1c78 [INFO] running `Command { std: "docker" "start" "-a" "98b21539ac27f7f96af207eca1dbc82013f4ae2b95d967aa064ee673d06b1c78", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling cargo-scout-macros v0.1.0 (/opt/rustwide/workdir/cargo-scout-macros) [INFO] [stdout] warning: field is never read: `package_id` [INFO] [stdout] --> cargo-scout-lib/src/linter/clippy.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | package_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Lint` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cargo-scout-lib/src/linter/clippy.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Deserialize, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `src_path` [INFO] [stdout] --> cargo-scout-lib/src/linter/clippy.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | src_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Lint` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cargo-scout-lib/src/linter/clippy.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Deserialize, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cargo-scout v0.6.0 (/opt/rustwide/workdir/cargo-scout) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling cargo-scout-lib v0.6.0 (/opt/rustwide/workdir/cargo-scout-lib) [INFO] [stdout] warning: field is never read: `package_id` [INFO] [stdout] --> cargo-scout-lib/src/linter/clippy.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | package_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Lint` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cargo-scout-lib/src/linter/clippy.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Deserialize, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `src_path` [INFO] [stdout] --> cargo-scout-lib/src/linter/clippy.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | src_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Lint` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> cargo-scout-lib/src/linter/clippy.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Deserialize, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> cargo-scout-lib/src/scout/mod.rs:363:17 [INFO] [stdout] | [INFO] [stdout] 363 | / print!( [INFO] [stdout] 364 | | "Expected files match for {} and {}", [INFO] [stdout] 365 | | lint_section.0, git_section.0 [INFO] [stdout] 366 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the Debug implementation of `()` [INFO] [stdout] | [INFO] [stdout] 363 | "{:?}", print!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> cargo-scout-lib/src/scout/mod.rs:390:17 [INFO] [stdout] | [INFO] [stdout] 390 | / print!( [INFO] [stdout] 391 | | "Expected files not to match for {} and {}", [INFO] [stdout] 392 | | lint_section.0, git_section.0 [INFO] [stdout] 393 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the Debug implementation of `()` [INFO] [stdout] | [INFO] [stdout] 390 | "{:?}", print!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> cargo-scout-lib/src/scout/mod.rs:404:17 [INFO] [stdout] | [INFO] [stdout] 404 | / print!( [INFO] [stdout] 405 | | "Expected in range, found not in range for \n {:#?} and {:#?}", [INFO] [stdout] 406 | | lint, section [INFO] [stdout] 407 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the Debug implementation of `()` [INFO] [stdout] | [INFO] [stdout] 404 | "{:?}", print!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> cargo-scout-lib/src/scout/mod.rs:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | / print!( [INFO] [stdout] 419 | | "Expected not in range, found in range for \n {:#?} and {:#?}", [INFO] [stdout] 420 | | lint, section [INFO] [stdout] 421 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the Debug implementation of `()` [INFO] [stdout] | [INFO] [stdout] 418 | "{:?}", print!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.15s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/cargo_scout-beb774c6038176c1) [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/cargo_scout_lib-c3d60cf0188c47ae) [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/cargo_scout_macros-fe20df4bd98c974e) [INFO] running `Command { std: "docker" "inspect" "98b21539ac27f7f96af207eca1dbc82013f4ae2b95d967aa064ee673d06b1c78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98b21539ac27f7f96af207eca1dbc82013f4ae2b95d967aa064ee673d06b1c78", kill_on_drop: false }` [INFO] [stdout] 98b21539ac27f7f96af207eca1dbc82013f4ae2b95d967aa064ee673d06b1c78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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", kill_on_drop: false }` [INFO] [stdout] 478ed97a0950d280374cc1c655cce92503240fab68512f95076d831c5102091e [INFO] running `Command { std: "docker" "start" "-a" "478ed97a0950d280374cc1c655cce92503240fab68512f95076d831c5102091e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: field is never read: `package_id` [INFO] [stderr] --> cargo-scout-lib/src/linter/clippy.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | package_id: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Lint` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> cargo-scout-lib/src/linter/clippy.rs:20:23 [INFO] [stderr] | [INFO] [stderr] 20 | #[derive(Deserialize, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `src_path` [INFO] [stderr] --> cargo-scout-lib/src/linter/clippy.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | src_path: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Lint` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> cargo-scout-lib/src/linter/clippy.rs:20:23 [INFO] [stderr] | [INFO] [stderr] 20 | #[derive(Deserialize, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> cargo-scout-lib/src/scout/mod.rs:363:17 [INFO] [stderr] | [INFO] [stderr] 363 | / print!( [INFO] [stderr] 364 | | "Expected files match for {} and {}", [INFO] [stderr] 365 | | lint_section.0, git_section.0 [INFO] [stderr] 366 | | ) [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{:?}" format string to use the Debug implementation of `()` [INFO] [stderr] | [INFO] [stderr] 363 | "{:?}", print!( [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> cargo-scout-lib/src/scout/mod.rs:390:17 [INFO] [stderr] | [INFO] [stderr] 390 | / print!( [INFO] [stderr] 391 | | "Expected files not to match for {} and {}", [INFO] [stderr] 392 | | lint_section.0, git_section.0 [INFO] [stderr] 393 | | ) [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{:?}" format string to use the Debug implementation of `()` [INFO] [stderr] | [INFO] [stderr] 390 | "{:?}", print!( [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> cargo-scout-lib/src/scout/mod.rs:404:17 [INFO] [stderr] | [INFO] [stderr] 404 | / print!( [INFO] [stderr] 405 | | "Expected in range, found not in range for \n {:#?} and {:#?}", [INFO] [stderr] 406 | | lint, section [INFO] [stderr] 407 | | ) [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{:?}" format string to use the Debug implementation of `()` [INFO] [stderr] | [INFO] [stderr] 404 | "{:?}", print!( [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> cargo-scout-lib/src/scout/mod.rs:418:17 [INFO] [stderr] | [INFO] [stderr] 418 | / print!( [INFO] [stderr] 419 | | "Expected not in range, found in range for \n {:#?} and {:#?}", [INFO] [stderr] 420 | | lint, section [INFO] [stderr] 421 | | ) [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{:?}" format string to use the Debug implementation of `()` [INFO] [stderr] | [INFO] [stderr] 418 | "{:?}", print!( [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `cargo-scout-lib` (lib) generated 2 warnings [INFO] [stderr] warning: `cargo-scout-lib` (lib test) generated 6 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cargo_scout-beb774c6038176c1) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_return_status_with_lints ... ok [INFO] [stdout] test tests::test_return_status_without_existing_lints ... ok [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cargo_scout_lib-c3d60cf0188c47ae) [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 26 tests [INFO] [stdout] test config::rust::tests::test_neqo_members_manifest ... ok [INFO] [stdout] test linter::clippy::tests::test_get_command_parameters ... ok [INFO] [stdout] test linter::clippy::tests::test_get_command_parameters_nightly ... ok [INFO] [stdout] test linter::clippy::tests::test_get_envs ... ok [INFO] [stdout] test linter::clippy::tests::test_set_verbose ... ok [INFO] [stdout] test linter::clippy::tests::test_lints ... ok [INFO] [stdout] test linter::rustfmt::tests::test_command_parameters ... ok [INFO] [stdout] test linter::rustfmt::tests::test_display_mismatch_one_line ... ok [INFO] [stdout] test linter::rustfmt::tests::test_display_mismatch_several_lines ... ok [INFO] [stdout] test scout::intersections_tests::test_lines_in_range_simple ... ok [INFO] [stdout] test scout::intersections_tests::test_files_dont_match ... ok [INFO] [stdout] test config::rust::tests::test_not_workspace_path ... ok [INFO] [stdout] test config::rust::tests::test_not_workspace_manifest ... ok [INFO] [stdout] test scout::intersections_tests::test_files_match ... ok [INFO] [stdout] test linter::rustfmt::tests::test_lints ... ok [INFO] [stdout] test scout::intersections_tests::test_lines_not_in_range_simple ... ok [INFO] [stdout] test scout::scout_tests::test_scout_no_workspace_no_diff ... ok [INFO] [stdout] test scout::scout_tests::test_scout_in_workspace ... ok [INFO] [stdout] test scout::scout_tests::test_scout_no_workspace_one_diff ... ok [INFO] [stdout] test scout::scout_tests::test_scout_no_workspace_one_diff_not_relevant_member ... ok [INFO] [stdout] test vcs::git::tests::no_changes ... ok [INFO] [stdout] test vcs::git::tests::other_branch ... ok [INFO] [stdout] test vcs::git::tests::mixed_extensions ... ok [INFO] [stdout] test vcs::git::tests::added_files ... ok [INFO] [stdout] test vcs::git::tests::untracked_files ... ok [INFO] [stdout] test vcs::git::tests::modified_files ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cargo_scout_macros-fe20df4bd98c974e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests cargo-scout-lib [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/config/mod.rs - config::Config::members (line 59) ... ok [INFO] [stdout] test src/config/mod.rs - config::Config::members (line 39) ... ok [INFO] [stdout] test src/config/mod.rs - config::Config::members (line 19) ... ok [INFO] [stdout] test src/config/rust.rs - config::rust::CargoConfig::from_manifest_path (line 25) ... ok [INFO] [stdout] test src/config/rust.rs - config::rust::CargoConfig::from_manifest_path (line 35) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/config/rust.rs - config::rust::CargoConfig::from_manifest_path (line 35) stdout ---- [INFO] [stdout] Test executable failed (exit code 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `["cargo-scout", "cargo-scout-lib"]`, [INFO] [stdout] right: `["cargo-scout", "cargo-scout-lib", "cargo-scout-macros"]`', src/config/rust.rs:8:1 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x564e9a183f8d - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x564e9a183f8d - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x564e9a183f8d - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x564e9a183f8d - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x564e9a1a366c - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x564e9a182121 - std::io::Write::write_fmt::ha30651f608022a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x564e9a185735 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x564e9a185735 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x564e9a185735 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x564e9a1853e9 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:314:9 [INFO] [stdout] 10: 0x564e9a185c82 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x564e9a185b67 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x564e9a184444 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x564e9a185899 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x564e99f3c443 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x564e9a1a22f8 - core::panicking::assert_failed_inner::h337b271ded48bc15 [INFO] [stdout] 16: 0x564e99f40066 - core::panicking::assert_failed::h515f07ba48a9a712 [INFO] [stdout] 17: 0x564e99f424f3 - rust_out::main::_doctest_main_src_config_rust_rs_35_0::h3563890b67cde88e [INFO] [stdout] 18: 0x564e99f421ce - rust_out::main::h3d3c95f1f21b751b [INFO] [stdout] 19: 0x564e99f3f313 - core::ops::function::FnOnce::call_once::h359be4aec5e1561c [INFO] [stdout] 20: 0x564e99f3eda9 - std::sys_common::backtrace::__rust_begin_short_backtrace::hf1c468c32d98493e [INFO] [stdout] 21: 0x564e99f3eeb9 - std::rt::lang_start::{{closure}}::hc74257e153f5ba59 [INFO] [stdout] 22: 0x564e9a17f52e - core::ops::function::impls:: for &F>::call_once::hae31cd38f966dcbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 23: 0x564e9a17f52e - std::panicking::try::do_call::h4a4c12a32b804624 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 24: 0x564e9a17f52e - std::panicking::try::h87f80f5db1929b60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 25: 0x564e9a17f52e - std::panic::catch_unwind::hbc53afd5a2bdc195 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 26: 0x564e9a17f52e - std::rt::lang_start_internal::{{closure}}::h2e62ddd08385fac8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/rt.rs:128:48 [INFO] [stdout] 27: 0x564e9a17f52e - std::panicking::try::do_call::h04b85b79b362213e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 28: 0x564e9a17f52e - std::panicking::try::h428fba6a4941d8ed [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 29: 0x564e9a17f52e - std::panic::catch_unwind::hd73c90258412492e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 30: 0x564e9a17f52e - std::rt::lang_start_internal::h26255896a96668b5 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/rt.rs:128:20 [INFO] [stdout] 31: 0x564e99f3eea1 - std::rt::lang_start::habb7d5349de31a07 [INFO] [stdout] 32: 0x564e99f42553 - main [INFO] [stdout] 33: 0x7f94dfb050b3 - __libc_start_main [INFO] [stdout] 34: 0x564e99f3c69e - _start [INFO] [stdout] 35: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/config/rust.rs - config::rust::CargoConfig::from_manifest_path (line 35) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.34s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "478ed97a0950d280374cc1c655cce92503240fab68512f95076d831c5102091e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "478ed97a0950d280374cc1c655cce92503240fab68512f95076d831c5102091e", kill_on_drop: false }` [INFO] [stdout] 478ed97a0950d280374cc1c655cce92503240fab68512f95076d831c5102091e