[INFO] cloning repository https://github.com/PescaUnimib/thesis-project [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PescaUnimib/thesis-project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPescaUnimib%2Fthesis-project", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPescaUnimib%2Fthesis-project'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 49492f16e7249bfba5dfc7c4feff99c20f38537c [INFO] testing PescaUnimib/thesis-project against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPescaUnimib%2Fthesis-project" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/PescaUnimib/thesis-project [INFO] finished tweaking git repo https://github.com/PescaUnimib/thesis-project [INFO] tweaked toml for git repo https://github.com/PescaUnimib/thesis-project written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/PescaUnimib/thesis-project on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/PescaUnimib/thesis-project 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded markup5ever v0.10.1 [INFO] [stderr] Downloaded serde-xml-rs v0.5.1 [INFO] [stderr] Downloaded scraper v0.12.0 [INFO] [stderr] Downloaded html5ever v0.25.2 [INFO] [stderr] Downloaded inquire v0.4.0 [INFO] [stderr] Downloaded xml5ever v0.16.2 [INFO] [stderr] Downloaded markup5ever_rcdom v0.1.0 [INFO] [stderr] Downloaded select v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4807945b0790efffaae5a576b0cc7e6c9c93abdb511a89ee6c39d8c914443cdc [INFO] running `Command { std: "docker" "start" "-a" "4807945b0790efffaae5a576b0cc7e6c9c93abdb511a89ee6c39d8c914443cdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4807945b0790efffaae5a576b0cc7e6c9c93abdb511a89ee6c39d8c914443cdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4807945b0790efffaae5a576b0cc7e6c9c93abdb511a89ee6c39d8c914443cdc", kill_on_drop: false }` [INFO] [stdout] 4807945b0790efffaae5a576b0cc7e6c9c93abdb511a89ee6c39d8c914443cdc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2da1b77ea6ace30768464f9491d6468930ee12fc28d441f8c8d7463b249b1b25 [INFO] running `Command { std: "docker" "start" "-a" "2da1b77ea6ace30768464f9491d6468930ee12fc28d441f8c8d7463b249b1b25", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling clap_builder v4.5.31 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling thin-slice v0.1.1 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling newline-converter v0.2.2 [INFO] [stderr] Compiling ego-tree v0.6.3 [INFO] [stderr] Compiling xml-rs v0.8.25 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling is-terminal v0.4.15 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling sysinfo v0.30.13 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling html5ever v0.25.2 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling clap v4.5.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling inquire v0.4.0 [INFO] [stderr] Compiling string_cache v0.8.8 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling serde-xml-rs v0.5.1 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling xml5ever v0.16.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling markup5ever_rcdom v0.1.0 [INFO] [stderr] Compiling scraper v0.12.0 [INFO] [stderr] Compiling select v0.5.0 [INFO] [stderr] Compiling thesis_project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::project_analyzer::class_manager::*` [INFO] [stdout] --> src/project_analyzer/functions_finder.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::project_analyzer::class_manager::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/profiler_manager/profiler_reader/hotspot_manager.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/antipatterns/detect_wcs.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn detect_wcs(path: String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `profiler_manager::profiler_reader::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use profiler_manager::profiler_reader::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Command` and `exit` [INFO] [stdout] --> src/main.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use std::process::{Command, exit}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/profiler_manager/profiler_reader/hotspot_manager.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::project_analyzer::class_manager::*` [INFO] [stdout] --> src/project_analyzer/functions_finder.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::project_analyzer::class_manager::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/antipatterns/detect_wcs.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn detect_wcs(path: String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `source_finder` is never used [INFO] [stdout] --> src/main.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn source_finder() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_hotspot_folder` is never used [INFO] [stdout] --> src/profiler_manager/profiler_reader/hotspot_manager.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn check_hotspot_folder(profiling_folder: String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_hotspot_summary` is never used [INFO] [stdout] --> src/profiler_manager/profiler_reader/hotspot_manager.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn read_hotspot_summary (profiling_folder: String) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_execution_times` is never used [INFO] [stdout] --> src/profiler_manager/profiler_reader/hotspot_manager.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn extract_execution_times(hotspot_folder: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: xml5ever v0.16.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "2da1b77ea6ace30768464f9491d6468930ee12fc28d441f8c8d7463b249b1b25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2da1b77ea6ace30768464f9491d6468930ee12fc28d441f8c8d7463b249b1b25", kill_on_drop: false }` [INFO] [stdout] 2da1b77ea6ace30768464f9491d6468930ee12fc28d441f8c8d7463b249b1b25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26bc7e676f8aecfe94f501f7dbbf30b5ace9e875d21bced568fd2bedad2fd946 [INFO] running `Command { std: "docker" "start" "-a" "26bc7e676f8aecfe94f501f7dbbf30b5ace9e875d21bced568fd2bedad2fd946", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::project_analyzer::class_manager::*` [INFO] [stdout] --> src/project_analyzer/functions_finder.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::project_analyzer::class_manager::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thesis_project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/profiler_manager/profiler_reader/hotspot_manager.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/antipatterns/detect_wcs.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn detect_wcs(path: String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::project_analyzer::class_manager::*` [INFO] [stdout] --> src/project_analyzer/functions_finder.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::project_analyzer::class_manager::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/profiler_manager/profiler_reader/hotspot_manager.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `profiler_manager::profiler_reader::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use profiler_manager::profiler_reader::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Command` and `exit` [INFO] [stdout] --> src/main.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use std::process::{Command, exit}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/profiler_manager/profiler_reader/hotspot_manager.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::project_analyzer::class_manager::*` [INFO] [stdout] --> src/project_analyzer/functions_finder.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::project_analyzer::class_manager::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/antipatterns/detect_wcs.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn detect_wcs(path: String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/antipatterns/detect_wcs.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn detect_wcs(path: String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_hotspot_folder` is never used [INFO] [stdout] --> src/profiler_manager/profiler_reader/hotspot_manager.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn check_hotspot_folder(profiling_folder: String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_hotspot_summary` is never used [INFO] [stdout] --> src/profiler_manager/profiler_reader/hotspot_manager.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn read_hotspot_summary (profiling_folder: String) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_execution_times` is never used [INFO] [stdout] --> src/profiler_manager/profiler_reader/hotspot_manager.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn extract_execution_times(hotspot_folder: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: xml5ever v0.16.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "26bc7e676f8aecfe94f501f7dbbf30b5ace9e875d21bced568fd2bedad2fd946", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26bc7e676f8aecfe94f501f7dbbf30b5ace9e875d21bced568fd2bedad2fd946", kill_on_drop: false }` [INFO] [stdout] 26bc7e676f8aecfe94f501f7dbbf30b5ace9e875d21bced568fd2bedad2fd946 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 009a612af400ab215ee41ef42401a14ab74ba89060ba45f5d1a8468a0e509176 [INFO] running `Command { std: "docker" "start" "-a" "009a612af400ab215ee41ef42401a14ab74ba89060ba45f5d1a8468a0e509176", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::project_analyzer::class_manager::*` [INFO] [stderr] --> src/project_analyzer/functions_finder.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::project_analyzer::class_manager::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/profiler_manager/profiler_reader/hotspot_manager.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/antipatterns/detect_wcs.rs:2:19 [INFO] [stderr] | [INFO] [stderr] 2 | pub fn detect_wcs(path: String) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `thesis_project` (lib) generated 3 warnings (run `cargo fix --lib -p thesis_project` to apply 2 suggestions) [INFO] [stderr] warning: `thesis_project` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: unused import: `profiler_manager::profiler_reader::*` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use profiler_manager::profiler_reader::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::path; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Command` and `exit` [INFO] [stderr] --> src/main.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | use std::process::{Command, exit}; [INFO] [stderr] | ^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::result` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::result; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::project_analyzer::class_manager::*` [INFO] [stderr] --> src/project_analyzer/functions_finder.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::project_analyzer::class_manager::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `check_hotspot_folder` is never used [INFO] [stderr] --> src/profiler_manager/profiler_reader/hotspot_manager.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn check_hotspot_folder(profiling_folder: String) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `read_hotspot_summary` is never used [INFO] [stderr] --> src/profiler_manager/profiler_reader/hotspot_manager.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn read_hotspot_summary (profiling_folder: String) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `extract_execution_times` is never used [INFO] [stderr] --> src/profiler_manager/profiler_reader/hotspot_manager.rs:65:8 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn extract_execution_times(hotspot_folder: &str) -> Result, Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `thesis_project` (bin "thesis_project" test) generated 11 warnings (2 duplicates) (run `cargo fix --bin "thesis_project" --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: xml5ever v0.16.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/thesis_project-5857bbc03e323444) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/thesis_project-10cd2ab0e7fbd55c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests thesis_project [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "009a612af400ab215ee41ef42401a14ab74ba89060ba45f5d1a8468a0e509176", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "009a612af400ab215ee41ef42401a14ab74ba89060ba45f5d1a8468a0e509176", kill_on_drop: false }` [INFO] [stdout] 009a612af400ab215ee41ef42401a14ab74ba89060ba45f5d1a8468a0e509176