[INFO] cloning repository https://github.com/orgTestCodacy11KRepos110MB/repo-7793-super [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/orgTestCodacy11KRepos110MB/repo-7793-super" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2ForgTestCodacy11KRepos110MB%2Frepo-7793-super", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2ForgTestCodacy11KRepos110MB%2Frepo-7793-super'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5ee666fc3bfea9a19a0c63756d52c9525395416 [INFO] testing orgTestCodacy11KRepos110MB/repo-7793-super against 1.86.0 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2ForgTestCodacy11KRepos110MB%2Frepo-7793-super" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/orgTestCodacy11KRepos110MB/repo-7793-super on toolchain 1.86.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/orgTestCodacy11KRepos110MB/repo-7793-super [INFO] finished tweaking git repo https://github.com/orgTestCodacy11KRepos110MB/repo-7793-super [INFO] tweaked toml for git repo https://github.com/orgTestCodacy11KRepos110MB/repo-7793-super written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/orgTestCodacy11KRepos110MB/repo-7793-super 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" "+1.86.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded once_cell v1.4.1 [INFO] [stderr] Downloaded open v1.4.0 [INFO] [stderr] Downloaded chunked_transfer v1.2.0 [INFO] [stderr] Downloaded podio v0.1.7 [INFO] [stderr] Downloaded cookie v0.14.2 [INFO] [stderr] Downloaded bytecount v0.6.0 [INFO] [stderr] Downloaded zip v0.5.6 [INFO] [stderr] Downloaded cc v1.0.59 [INFO] [stderr] Downloaded flate2 v1.0.17 [INFO] [stderr] Downloaded handlebars v3.4.0 [INFO] [stderr] Downloaded chrono v0.4.15 [INFO] [stderr] Downloaded time v0.2.16 [INFO] [stderr] Downloaded ureq v1.4.0 [INFO] [stderr] Downloaded quick-xml v0.18.1 [INFO] [stderr] Downloaded libc v0.2.76 [INFO] [stderr] Downloaded bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Downloaded abxml v0.8.2 [INFO] [stderr] Downloaded standback v0.2.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5f328caba8f60666d8553373c41fbb3c5591195cf83c2c459eef4d7e1adc32c [INFO] running `Command { std: "docker" "start" "-a" "d5f328caba8f60666d8553373c41fbb3c5591195cf83c2c459eef4d7e1adc32c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5f328caba8f60666d8553373c41fbb3c5591195cf83c2c459eef4d7e1adc32c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5f328caba8f60666d8553373c41fbb3c5591195cf83c2c459eef4d7e1adc32c", kill_on_drop: false }` [INFO] [stdout] d5f328caba8f60666d8553373c41fbb3c5591195cf83c2c459eef4d7e1adc32c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e4c475998cad08e34118c70d3a02929394a86b2a6b00a57f0279f9da0ef2aed [INFO] running `Command { std: "docker" "start" "-a" "2e4c475998cad08e34118c70d3a02929394a86b2a6b00a57f0279f9da0ef2aed", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling flate2 v1.0.17 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling podio v0.1.7 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling quick-error v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling sha2 v0.9.1 [INFO] [stderr] Compiling semver v0.10.0 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling quick-xml v0.18.1 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling open v1.4.0 [INFO] [stderr] Compiling bytecount v0.6.0 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling zip v0.5.6 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling super-analyzer v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling abxml v0.8.2 [INFO] [stderr] Compiling chrono v0.4.15 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling handlebars v3.4.0 [INFO] [stdout] warning: unused imports: `html_escape` and `split_indent` [INFO] [stdout] --> src/results/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | pub use self::utils::{html_escape, split_indent, Vulnerability}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tests` [INFO] [stdout] --> src/static_analysis/code/rule.rs:295:7 [INFO] [stdout] | [INFO] [stdout] 295 | #[cfg(tests)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/static_analysis/manifest/permission.rs:280:34 [INFO] [stdout] | [INFO] [stdout] 280 | let result_str: String = serde::Deserialize::deserialize(de)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 280 - let result_str: String = serde::Deserialize::deserialize(de)?; [INFO] [stdout] 280 + let result_str: String = Deserialize::deserialize(de)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 1m 50s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.18.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "2e4c475998cad08e34118c70d3a02929394a86b2a6b00a57f0279f9da0ef2aed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e4c475998cad08e34118c70d3a02929394a86b2a6b00a57f0279f9da0ef2aed", kill_on_drop: false }` [INFO] [stdout] 2e4c475998cad08e34118c70d3a02929394a86b2a6b00a57f0279f9da0ef2aed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3d287582d855161032e55a593d8b0e3b938090ae809462fab222deade2ee75e [INFO] running `Command { std: "docker" "start" "-a" "a3d287582d855161032e55a593d8b0e3b938090ae809462fab222deade2ee75e", kill_on_drop: false }` [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling cookie v0.14.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling chunked_transfer v1.2.0 [INFO] [stdout] warning: unused imports: `html_escape` and `split_indent` [INFO] [stdout] --> src/results/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | pub use self::utils::{html_escape, split_indent, Vulnerability}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tests` [INFO] [stdout] --> src/static_analysis/code/rule.rs:295:7 [INFO] [stdout] | [INFO] [stdout] 295 | #[cfg(tests)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/static_analysis/manifest/permission.rs:280:34 [INFO] [stdout] | [INFO] [stdout] 280 | let result_str: String = serde::Deserialize::deserialize(de)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 280 - let result_str: String = serde::Deserialize::deserialize(de)?; [INFO] [stdout] 280 + let result_str: String = Deserialize::deserialize(de)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling ureq v1.4.0 [INFO] [stderr] Compiling super-analyzer v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `html_escape` and `split_indent` [INFO] [stdout] --> src/results/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | pub use self::utils::{html_escape, split_indent, Vulnerability}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tests` [INFO] [stdout] --> src/static_analysis/code/rule.rs:295:7 [INFO] [stdout] | [INFO] [stdout] 295 | #[cfg(tests)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/static_analysis/manifest/permission.rs:280:34 [INFO] [stdout] | [INFO] [stdout] 280 | let result_str: String = serde::Deserialize::deserialize(de)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 280 - let result_str: String = serde::Deserialize::deserialize(de)?; [INFO] [stdout] 280 + let result_str: String = Deserialize::deserialize(de)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 29.84s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.18.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "a3d287582d855161032e55a593d8b0e3b938090ae809462fab222deade2ee75e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3d287582d855161032e55a593d8b0e3b938090ae809462fab222deade2ee75e", kill_on_drop: false }` [INFO] [stdout] a3d287582d855161032e55a593d8b0e3b938090ae809462fab222deade2ee75e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 74fe0615f70f10518769a34f9d386a65b857ca9bcd2dfeacff694be98d43cca3 [INFO] running `Command { std: "docker" "start" "-a" "74fe0615f70f10518769a34f9d386a65b857ca9bcd2dfeacff694be98d43cca3", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `html_escape` and `split_indent` [INFO] [stderr] --> src/results/mod.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | pub use self::utils::{html_escape, split_indent, Vulnerability}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tests` [INFO] [stderr] --> src/static_analysis/code/rule.rs:295:7 [INFO] [stderr] | [INFO] [stderr] 295 | #[cfg(tests)] [INFO] [stderr] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary qualification [INFO] [stderr] --> src/static_analysis/manifest/permission.rs:280:34 [INFO] [stderr] | [INFO] [stderr] 280 | let result_str: String = serde::Deserialize::deserialize(de)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | unused_qualifications, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: remove the unnecessary path segments [INFO] [stderr] | [INFO] [stderr] 280 - let result_str: String = serde::Deserialize::deserialize(de)?; [INFO] [stderr] 280 + let result_str: String = Deserialize::deserialize(de)?; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `super-analyzer` (lib) generated 3 warnings (run `cargo fix --lib -p super-analyzer` to apply 2 suggestions) [INFO] [stderr] warning: `super-analyzer` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.18s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.18.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/super_analyzer_core-c1d0b673e2322a7a) [INFO] [stdout] [INFO] [stdout] running 55 tests [INFO] [stdout] test config::tests::it_generates_html_but_not_json_by_default ... ok [INFO] [stdout] test results::report::handlebars::test::it_new_failure ... ok [INFO] [stdout] test config::tests::it_config_sample ... ok [INFO] [stdout] test results::sdk_number::tests::it_get_version ... ok [INFO] [stdout] test results::sdk_number::tests::it_from_u32 ... ok [INFO] [stdout] test results::report::handlebars::test::it_new ... ok [INFO] [stdout] test results::sdk_number::tests::it_prettify_android_version ... ok [INFO] [stdout] test results::sdk_number::tests::it_get_number ... ok [INFO] [stdout] test results::sdk_number::tests::it_get_name ... ok [INFO] [stdout] test results::report::handlebars::test::it_load_templates ... ok [INFO] [stdout] test static_analysis::code::tests::it_file_separator ... ok [INFO] [stdout] test static_analysis::code::tests::it_command_exec ... ok [INFO] [stdout] test static_analysis::code::tests::it_finally_with_return ... ok [INFO] [stdout] test static_analysis::code::tests::it_get_sim_operator ... ok [INFO] [stdout] test static_analysis::code::tests::it_base64_decoding ... ok [INFO] [stdout] test static_analysis::code::tests::it_get_sim_serial ... ok [INFO] [stdout] test static_analysis::code::tests::it_hardcoded_certificate ... ok [INFO] [stdout] test static_analysis::code::tests::it_get_sim_operator_name ... ok [INFO] [stdout] test static_analysis::code::tests::it_hidden_fields ... ok [INFO] [stdout] test static_analysis::code::tests::it_gps_location ... ok [INFO] [stdout] test static_analysis::code::tests::it_ipv4_disclosure ... ok [INFO] [stdout] test static_analysis::code::tests::it_infinite_loop ... ok [INFO] [stdout] test static_analysis::code::tests::it_base_station_location ... ok [INFO] [stdout] test static_analysis::code::tests::it_get_device_id ... ok [INFO] [stdout] test static_analysis::code::tests::it_base64_encode ... ok [INFO] [stdout] test static_analysis::code::tests::it_email_disclosure ... ok [INFO] [stdout] test static_analysis::code::tests::it_sleep_method_not_validated ... ok [INFO] [stdout] test static_analysis::code::tests::it_superuser_privileges ... ok [INFO] [stdout] test static_analysis::code::tests::it_math_random ... ok [INFO] [stdout] test static_analysis::code::tests::it_ssl_accepting_all_certificates ... ok [INFO] [stdout] test static_analysis::code::tests::it_external_storage_write_read ... ok [INFO] [stdout] test static_analysis::code::tests::it_catch_exception ... ok [INFO] [stdout] test static_analysis::code::tests::it_log ... ok [INFO] [stdout] test static_analysis::manifest::tests::it_get_line ... ok [INFO] [stdout] test static_analysis::code::tests::it_sleep_method ... ok [INFO] [stdout] test static_analysis::code::tests::it_superuser_device_detection ... ok [INFO] [stdout] test static_analysis::manifest::tests::it_permission ... ok [INFO] [stdout] test static_analysis::manifest::tests::it_install_loc_from_str ... ok [INFO] [stdout] test static_analysis::code::tests::it_sql_injection ... ok [INFO] [stdout] test tests::it_analyze_package ... ignored [INFO] [stdout] test static_analysis::manifest::tests::it_permission_checklist ... ok [INFO] [stdout] test tests::it_criticality ... ok [INFO] [stdout] test static_analysis::code::tests::it_web_view_ssl_errors ... ok [INFO] [stdout] test static_analysis::code::tests::it_ssl_get_insecure_method ... ok [INFO] [stdout] test utils::test::it_get_code ... ok [INFO] [stdout] test static_analysis::code::tests::it_obfuscation ... ok [INFO] [stdout] test static_analysis::code::tests::it_sms_mms_sending ... ok [INFO] [stdout] test static_analysis::code::tests::it_throws_exception ... ok [INFO] [stdout] test static_analysis::code::tests::it_weak_algorithms ... ok [INFO] [stdout] test static_analysis::code::tests::it_web_view_xss ... ok [INFO] [stdout] test static_analysis::code::tests::it_world_writable_permissions ... ok [INFO] [stdout] test static_analysis::code::tests::it_url_regex ... ok [INFO] [stdout] test static_analysis::code::tests::it_world_readable_permissions ... ok [INFO] [stdout] test static_analysis::code::tests::it_temp_file ... ok [INFO] [stdout] test config::tests::it_config ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- config::tests::it_config stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'config::tests::it_config' panicked at src/config.rs:673:50: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x569ed53c4d70 - std::backtrace_rs::backtrace::libunwind::trace::h2b8934d68a0c74cb [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x569ed53c4d70 - std::backtrace_rs::backtrace::trace_unsynchronized::h72d137991fa6eab8 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x569ed53c4d70 - std::sys::backtrace::_print_fmt::h3e831e32e6da920b [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x569ed53c4d70 - ::fmt::h6d42cc84fc840290 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x569ed53f1d03 - core::fmt::rt::Argument::fmt::h7239af9e2199f2a8 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x569ed53f1d03 - core::fmt::write::h5af61a909e3ec64d [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/fmt/mod.rs:1449:21 [INFO] [stdout] 6: 0x569ed53c0733 - std::io::Write::write_fmt::h64baa9197d9a3b04 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/io/mod.rs:1890:15 [INFO] [stdout] 7: 0x569ed53c4bc2 - std::sys::backtrace::BacktraceLock::print::h555579e7396c26ac [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x569ed53c619f - std::panicking::default_hook::{{closure}}::h9128866118196224 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x569ed53c5fb8 - std::panicking::default_hook::h52e9e7314e0255f6 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x569ed5216405 - as core::ops::function::Fn>::call::hb86f691850cc3c26 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1990:9 [INFO] [stdout] 11: 0x569ed5216405 - test::test_main::{{closure}}::h903d8079e3c94d93 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:135:21 [INFO] [stdout] 12: 0x569ed53c6c13 - as core::ops::function::Fn>::call::h7c356b28a03897d7 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1990:9 [INFO] [stdout] 13: 0x569ed53c6c13 - std::panicking::rust_panic_with_hook::h541791bcc774ef34 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x569ed53c68ea - std::panicking::begin_panic_handler::{{closure}}::h6479a2f0137c7d19 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:704:13 [INFO] [stdout] 15: 0x569ed53c5289 - std::sys::backtrace::__rust_end_short_backtrace::ha04e7c0fc61ded91 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x569ed53c657d - rust_begin_unwind [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x569ed5064fe0 - core::panicking::panic_fmt::h5764ee7030b7a73d [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x569ed5065486 - core::result::unwrap_failed::h3ff7104a9ace307a [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/result.rs:1704:5 [INFO] [stdout] 19: 0x569ed50f89db - core::result::Result::unwrap::hd7889c24618edf10 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/result.rs:1109:23 [INFO] [stdout] 20: 0x569ed50f89db - super_analyzer_core::config::tests::it_config::h019bbe8dc7df8155 [INFO] [stdout] at /opt/rustwide/workdir/src/config.rs:673:13 [INFO] [stdout] 21: 0x569ed50837d9 - super_analyzer_core::config::tests::it_config::{{closure}}::h1e3cb1157723445d [INFO] [stdout] at /opt/rustwide/workdir/src/config.rs:612:19 [INFO] [stdout] 22: 0x569ed50837d9 - core::ops::function::FnOnce::call_once::hcfebe49d5fdfecc5 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x569ed521bb8b - core::ops::function::FnOnce::call_once::h1dfa20b1ec1f6e08 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x569ed521bb8b - test::__rust_begin_short_backtrace::h7b10906492afc420 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:637:18 [INFO] [stdout] 25: 0x569ed521aa78 - test::run_test_in_process::{{closure}}::h51c1c0d319f72c0a [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:660:60 [INFO] [stdout] 26: 0x569ed521aa78 - as core::ops::function::FnOnce<()>>::call_once::h5fadb750f3dbe714 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x569ed521aa78 - std::panicking::try::do_call::h1ca5071cef82bb40 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40 [INFO] [stdout] 28: 0x569ed521aa78 - std::panicking::try::h6931de76fb9a61b1 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19 [INFO] [stdout] 29: 0x569ed521aa78 - std::panic::catch_unwind::h67fc9dccf413f4e5 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14 [INFO] [stdout] 30: 0x569ed521aa78 - test::run_test_in_process::ha966dfbb1d048be5 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:660:27 [INFO] [stdout] 31: 0x569ed521aa78 - test::run_test::{{closure}}::he209928ac5e8a3b8 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:581:43 [INFO] [stdout] 32: 0x569ed51dea05 - test::run_test::{{closure}}::h34c6289e0b5ed5a5 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/test/src/lib.rs:611:41 [INFO] [stdout] 33: 0x569ed51dea05 - std::sys::backtrace::__rust_begin_short_backtrace::h365aabf21799e6fc [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 34: 0x569ed51e247a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h3d5e582cba74b1c3 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x569ed51e247a - as core::ops::function::FnOnce<()>>::call_once::h1214c75c3f73f94f [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x569ed51e247a - std::panicking::try::do_call::h73540336a45c0cec [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:587:40 [INFO] [stdout] 37: 0x569ed51e247a - std::panicking::try::h428956564307af63 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:550:19 [INFO] [stdout] 38: 0x569ed51e247a - std::panic::catch_unwind::h1a53a6ea2f2041e3 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panic.rs:358:14 [INFO] [stdout] 39: 0x569ed51e247a - std::thread::Builder::spawn_unchecked_::{{closure}}::hac66cbb88d807e14 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x569ed51e247a - core::ops::function::FnOnce::call_once{{vtable.shim}}::had7e2d02878d3212 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x569ed53cc3cb - as core::ops::function::FnOnce>::call_once::h292d1663b0785fda [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9 [INFO] [stdout] 42: 0x569ed53cc3cb - as core::ops::function::FnOnce>::call_once::h9d4af7b531852d72 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/alloc/src/boxed.rs:1976:9 [INFO] [stdout] 43: 0x569ed53cc3cb - std::sys::pal::unix::thread::Thread::new::thread_start::hcc5ed016d554f327 [INFO] [stdout] at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 44: 0x77160ce34aa4 - [INFO] [stdout] 45: 0x77160cec1a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] config::tests::it_config [INFO] [stdout] [INFO] [stdout] test result: FAILED. 53 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.87s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "74fe0615f70f10518769a34f9d386a65b857ca9bcd2dfeacff694be98d43cca3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74fe0615f70f10518769a34f9d386a65b857ca9bcd2dfeacff694be98d43cca3", kill_on_drop: false }` [INFO] [stdout] 74fe0615f70f10518769a34f9d386a65b857ca9bcd2dfeacff694be98d43cca3