[INFO] fetching crate pypackage 0.0.3... [INFO] testing pypackage-0.0.3 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate pypackage 0.0.3 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate pypackage 0.0.3 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pypackage 0.0.3 [INFO] finished tweaking crates.io crate pypackage 0.0.3 [INFO] tweaked toml for crates.io crate pypackage 0.0.3 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate pypackage 0.0.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zip v0.5.3 [INFO] [stderr] Downloaded flate2 v1.0.11 [INFO] [stderr] Downloaded serde_derive v1.0.98 [INFO] [stderr] Downloaded crossterm_screen v0.2.5 [INFO] [stderr] Downloaded term_size v0.3.1 [INFO] [stderr] Downloaded tokio-threadpool v0.1.15 [INFO] [stderr] Downloaded tokio-sync v0.1.6 [INFO] [stderr] Downloaded unicase v2.4.0 [INFO] [stderr] Downloaded bzip2-sys v0.1.7 [INFO] [stderr] Downloaded crossterm_input v0.3.9 [INFO] [stderr] Downloaded crossterm_terminal v0.2.6 [INFO] [stderr] Downloaded schannel v0.1.15 [INFO] [stderr] Downloaded mime v0.3.13 [INFO] [stderr] Downloaded crossterm_winapi v0.1.5 [INFO] [stderr] Downloaded publicsuffix v1.5.2 [INFO] [stderr] Downloaded crossterm_cursor v0.2.6 [INFO] [stderr] Downloaded encoding_rs v0.8.17 [INFO] [stderr] Downloaded hyper v0.12.33 [INFO] [stderr] Downloaded reqwest v0.9.19 [INFO] [stderr] Downloaded http v0.1.18 [INFO] [stderr] Downloaded futures v0.1.28 [INFO] [stderr] Downloaded crossterm_utils v0.2.4 [INFO] [stderr] Downloaded bumpalo v2.5.0 [INFO] [stderr] Downloaded podio v0.1.6 [INFO] [stderr] Downloaded spin v0.5.1 [INFO] [stderr] Downloaded tokio-reactor v0.1.9 [INFO] [stderr] Downloaded structopt v0.3.1 [INFO] [stderr] Downloaded structopt-derive v0.3.1 [INFO] [stderr] Downloaded toml v0.5.3 [INFO] [stderr] Downloaded wasm-bindgen v0.2.49 [INFO] [stderr] Downloaded js-sys v0.3.26 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.49 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.49 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.49 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.49 [INFO] [stderr] Downloaded crossterm_style v0.4.1 [INFO] [stderr] Downloaded wasm-bindgen-webidl v0.2.49 [INFO] [stderr] Downloaded web-sys v0.3.26 [INFO] [stderr] Downloaded miniz_oxide v0.3.2 [INFO] [stderr] Downloaded crossterm v0.10.2 [INFO] [stderr] Downloaded ring v0.16.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ca7536abf91a64cb38533206ff1d1a12f144f361df2f95a87e8d82ff3612df46 [INFO] running `Command { std: "docker" "start" "-a" "ca7536abf91a64cb38533206ff1d1a12f144f361df2f95a87e8d82ff3612df46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca7536abf91a64cb38533206ff1d1a12f144f361df2f95a87e8d82ff3612df46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca7536abf91a64cb38533206ff1d1a12f144f361df2f95a87e8d82ff3612df46", kill_on_drop: false }` [INFO] [stdout] ca7536abf91a64cb38533206ff1d1a12f144f361df2f95a87e8d82ff3612df46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2abe15934818acb9b0cf552f9e2a5bad6b1cbf9ba503fcd51449eba3a7467ab [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c2abe15934818acb9b0cf552f9e2a5bad6b1cbf9ba503fcd51449eba3a7467ab", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling cc v1.0.40 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling futures v0.1.28 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling proc-macro2 v1.0.0 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling openssl v0.10.24 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling syn v1.0.1 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling untrusted v0.7.0 [INFO] [stderr] Compiling spin v0.5.1 [INFO] [stderr] Compiling podio v0.1.6 [INFO] [stderr] Compiling fs_extra v1.1.0 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling miniz_oxide v0.3.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling rust-lzma v0.4.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling tokio-sync v0.1.6 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling crossterm_utils v0.2.4 [INFO] [stderr] Compiling term_size v0.3.1 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling filetime v0.2.7 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling openssl-sys v0.9.49 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling bzip2-sys v0.1.7 [INFO] [stderr] Compiling ring v0.16.7 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling quote v1.0.0 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling crossterm_screen v0.2.5 [INFO] [stderr] Compiling crossterm_cursor v0.2.6 [INFO] [stderr] Compiling crossterm_style v0.4.1 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling tar v0.4.26 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling crossterm_input v0.3.9 [INFO] [stderr] Compiling crossterm_terminal v0.2.6 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling flate2 v1.0.11 [INFO] [stderr] Compiling crossterm v0.10.2 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling backtrace v0.3.34 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling zip v0.5.3 [INFO] [stderr] Compiling publicsuffix v1.5.2 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling structopt-derive v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling structopt v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling toml v0.5.3 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling reqwest v0.9.19 [INFO] [stderr] Compiling pypackage v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/files.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/files.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:487:40 [INFO] [stdout] | [INFO] [stdout] 487 | fn read_lock(filename: &str) -> Result<(Lock), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 487 - fn read_lock(filename: &str) -> Result<(Lock), Box> { [INFO] [stdout] 487 + fn read_lock(filename: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:501:50 [INFO] [stdout] | [INFO] [stdout] 501 | fn os_from_wheel_fname(filename: &str) -> Result<(Os), dep_types::DependencyError> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 501 - fn os_from_wheel_fname(filename: &str) -> Result<(Os), dep_types::DependencyError> { [INFO] [stdout] 501 + fn os_from_wheel_fname(filename: &str) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:585:25 [INFO] [stdout] | [INFO] [stdout] 585 | (println!( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 588 | )) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 585 ~ println!( [INFO] [stdout] 586 | "Unable to match python version from python_version: {}", [INFO] [stdout] 587 | &rel.python_version [INFO] [stdout] 588 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vers_cache` [INFO] [stdout] --> src/dep_resolution.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 441 | vers_cache: &HashMap)>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vers_cache` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `all_deps` [INFO] [stdout] --> src/dep_resolution.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | all_deps: &[Dependency], [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_all_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `names` [INFO] [stdout] --> src/dep_resolution.rs:586:17 [INFO] [stdout] | [INFO] [stdout] 586 | let names: Vec = deps.iter().map(|d| d.version.to_string()).collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `version` [INFO] [stdout] --> src/main.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | version: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `SubCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `repo_url` [INFO] [stdout] --> src/main.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | repo_url: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | #[derive(Clone, Debug, Default, Deserialize)] [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: `requires_dist` [INFO] [stdout] --> src/dep_resolution.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | requires_dist: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WarehouseInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dep_resolution.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `requires_python` [INFO] [stdout] --> src/dep_resolution.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | requires_python: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WarehouseInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dep_resolution.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `urls` [INFO] [stdout] --> src/dep_resolution.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | urls: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WarehouseData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dep_resolution.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `requires_python` [INFO] [stdout] --> src/dep_resolution.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | requires_python: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ReqCache` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dep_resolution.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Clone, Debug, Deserialize)] [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: variant is never constructed: `Ubuntu` [INFO] [stdout] --> src/py_versions.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | Ubuntu, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Os` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/py_versions.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Clone, Copy, Debug)] [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: variant is never constructed: `Windows` [INFO] [stdout] --> src/py_versions.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | Windows, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Os` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/py_versions.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Clone, Copy, Debug)] [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: variant is never constructed: `Mac` [INFO] [stdout] --> src/py_versions.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | Mac, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Os` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/py_versions.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Clone, Copy, Debug)] [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: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 22s [INFO] running `Command { std: "docker" "inspect" "c2abe15934818acb9b0cf552f9e2a5bad6b1cbf9ba503fcd51449eba3a7467ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2abe15934818acb9b0cf552f9e2a5bad6b1cbf9ba503fcd51449eba3a7467ab", kill_on_drop: false }` [INFO] [stdout] c2abe15934818acb9b0cf552f9e2a5bad6b1cbf9ba503fcd51449eba3a7467ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 85d5d6c8f7c4f52dc3cd85a2bb92b5895c4f8a19b917b6f5d6e0b3bb579627e9 [INFO] running `Command { std: "docker" "start" "-a" "85d5d6c8f7c4f52dc3cd85a2bb92b5895c4f8a19b917b6f5d6e0b3bb579627e9", kill_on_drop: false }` [INFO] [stderr] Compiling pypackage v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/files.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/files.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[serde(untagged)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:487:40 [INFO] [stdout] | [INFO] [stdout] 487 | fn read_lock(filename: &str) -> Result<(Lock), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 487 - fn read_lock(filename: &str) -> Result<(Lock), Box> { [INFO] [stdout] 487 + fn read_lock(filename: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:501:50 [INFO] [stdout] | [INFO] [stdout] 501 | fn os_from_wheel_fname(filename: &str) -> Result<(Os), dep_types::DependencyError> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 501 - fn os_from_wheel_fname(filename: &str) -> Result<(Os), dep_types::DependencyError> { [INFO] [stdout] 501 + fn os_from_wheel_fname(filename: &str) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:585:25 [INFO] [stdout] | [INFO] [stdout] 585 | (println!( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 588 | )) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 585 ~ println!( [INFO] [stdout] 586 | "Unable to match python version from python_version: {}", [INFO] [stdout] 587 | &rel.python_version [INFO] [stdout] 588 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vers_cache` [INFO] [stdout] --> src/dep_resolution.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 441 | vers_cache: &HashMap)>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vers_cache` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `all_deps` [INFO] [stdout] --> src/dep_resolution.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | all_deps: &[Dependency], [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_all_deps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `names` [INFO] [stdout] --> src/dep_resolution.rs:586:17 [INFO] [stdout] | [INFO] [stdout] 586 | let names: Vec = deps.iter().map(|d| d.version.to_string()).collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `version` [INFO] [stdout] --> src/main.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | version: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `SubCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `repo_url` [INFO] [stdout] --> src/main.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | repo_url: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:150:10 [INFO] [stdout] | [INFO] [stdout] 150 | #[derive(Clone, Debug, Default, Deserialize)] [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: `requires_dist` [INFO] [stdout] --> src/dep_resolution.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | requires_dist: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WarehouseInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dep_resolution.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `requires_python` [INFO] [stdout] --> src/dep_resolution.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | requires_python: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WarehouseInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dep_resolution.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `urls` [INFO] [stdout] --> src/dep_resolution.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | urls: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `WarehouseData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/dep_resolution.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `requires_python` [INFO] [stdout] --> src/dep_resolution.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | requires_python: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ReqCache` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/dep_resolution.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Clone, Debug, Deserialize)] [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: variant is never constructed: `Ubuntu` [INFO] [stdout] --> src/py_versions.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | Ubuntu, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Os` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/py_versions.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Clone, Copy, Debug)] [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: variant is never constructed: `Windows` [INFO] [stdout] --> src/py_versions.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | Windows, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Os` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/py_versions.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Clone, Copy, Debug)] [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: variant is never constructed: `Mac` [INFO] [stdout] --> src/py_versions.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | Mac, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Os` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/py_versions.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Clone, Copy, Debug)] [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: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.09s [INFO] running `Command { std: "docker" "inspect" "85d5d6c8f7c4f52dc3cd85a2bb92b5895c4f8a19b917b6f5d6e0b3bb579627e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85d5d6c8f7c4f52dc3cd85a2bb92b5895c4f8a19b917b6f5d6e0b3bb579627e9", kill_on_drop: false }` [INFO] [stdout] 85d5d6c8f7c4f52dc3cd85a2bb92b5895c4f8a19b917b6f5d6e0b3bb579627e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7af813ab3828be2306862cb239aaa7cf80798465abd1dad28551348b5ac2105f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7af813ab3828be2306862cb239aaa7cf80798465abd1dad28551348b5ac2105f", kill_on_drop: false }` [INFO] [stderr] warning: derive helper attribute is used before it is introduced [INFO] [stderr] --> src/files.rs:21:3 [INFO] [stderr] | [INFO] [stderr] 21 | #[serde(untagged)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 22 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ----------- the attribute is introduced here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79202 [INFO] [stderr] [INFO] [stderr] warning: derive helper attribute is used before it is introduced [INFO] [stderr] --> src/files.rs:29:3 [INFO] [stderr] | [INFO] [stderr] 29 | #[serde(untagged)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 30 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ----------- the attribute is introduced here [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79202 [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/main.rs:487:40 [INFO] [stderr] | [INFO] [stderr] 487 | fn read_lock(filename: &str) -> Result<(Lock), Box> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 487 - fn read_lock(filename: &str) -> Result<(Lock), Box> { [INFO] [stderr] 487 + fn read_lock(filename: &str) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/main.rs:501:50 [INFO] [stderr] | [INFO] [stderr] 501 | fn os_from_wheel_fname(filename: &str) -> Result<(Os), dep_types::DependencyError> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 501 - fn os_from_wheel_fname(filename: &str) -> Result<(Os), dep_types::DependencyError> { [INFO] [stderr] 501 + fn os_from_wheel_fname(filename: &str) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/main.rs:585:25 [INFO] [stderr] | [INFO] [stderr] 585 | (println!( [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 588 | )) [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 585 ~ println!( [INFO] [stderr] 586 | "Unable to match python version from python_version: {}", [INFO] [stderr] 587 | &rel.python_version [INFO] [stderr] 588 ~ ) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vers_cache` [INFO] [stderr] --> src/dep_resolution.rs:441:5 [INFO] [stderr] | [INFO] [stderr] 441 | vers_cache: &HashMap)>, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vers_cache` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `all_deps` [INFO] [stderr] --> src/dep_resolution.rs:443:5 [INFO] [stderr] | [INFO] [stderr] 443 | all_deps: &[Dependency], [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_all_deps` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `names` [INFO] [stderr] --> src/dep_resolution.rs:586:17 [INFO] [stderr] | [INFO] [stderr] 586 | let names: Vec = deps.iter().map(|d| d.version.to_string()).collect(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_names` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `version` [INFO] [stderr] --> src/main.rs:145:9 [INFO] [stderr] | [INFO] [stderr] 145 | version: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `SubCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:77:21 [INFO] [stderr] | [INFO] [stderr] 77 | #[derive(StructOpt, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `repo_url` [INFO] [stderr] --> src/main.rs:166:5 [INFO] [stderr] | [INFO] [stderr] 166 | repo_url: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:150:10 [INFO] [stderr] | [INFO] [stderr] 150 | #[derive(Clone, Debug, Default, Deserialize)] [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: `requires_dist` [INFO] [stderr] --> src/dep_resolution.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | requires_dist: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `WarehouseInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/dep_resolution.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `requires_python` [INFO] [stderr] --> src/dep_resolution.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | requires_python: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `WarehouseInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/dep_resolution.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `urls` [INFO] [stderr] --> src/dep_resolution.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | urls: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `WarehouseData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/dep_resolution.rs:42:10 [INFO] [stderr] | [INFO] [stderr] 42 | #[derive(Debug, Deserialize)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `requires_python` [INFO] [stderr] --> src/dep_resolution.rs:123:5 [INFO] [stderr] | [INFO] [stderr] 123 | requires_python: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ReqCache` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/dep_resolution.rs:117:10 [INFO] [stderr] | [INFO] [stderr] 117 | #[derive(Clone, Debug, Deserialize)] [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: variant is never constructed: `Ubuntu` [INFO] [stderr] --> src/py_versions.rs:67:5 [INFO] [stderr] | [INFO] [stderr] 67 | Ubuntu, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Os` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/py_versions.rs:64:10 [INFO] [stderr] | [INFO] [stderr] 64 | #[derive(Clone, Copy, Debug)] [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: variant is never constructed: `Windows` [INFO] [stderr] --> src/py_versions.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | Windows, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Os` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/py_versions.rs:64:10 [INFO] [stderr] | [INFO] [stderr] 64 | #[derive(Clone, Copy, Debug)] [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: variant is never constructed: `Mac` [INFO] [stderr] --> src/py_versions.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 69 | Mac, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `Os` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/py_versions.rs:64:10 [INFO] [stderr] | [INFO] [stderr] 64 | #[derive(Clone, Copy, Debug)] [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: `pypackage` (bin "pypackage" test) generated 17 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pypackage-531da3a4df5f48db) [INFO] [stdout] [INFO] [stdout] running 32 tests [INFO] [stdout] test build::test::py_list ... ok [INFO] [stdout] test dep_types::tests::compat_rng ... ok [INFO] [stdout] test dep_types::tests::compat_caret ... ok [INFO] [stdout] test dep_types::tests::intersection_contained_many ... ok [INFO] [stdout] test dep_types::tests::intersections_simple_many ... ok [INFO] [stdout] test dep_types::tests::compat_gt_eq ... ok [INFO] [stdout] test dep_types::tests::parse_req_caret ... ok [INFO] [stdout] test dep_types::tests::intersections_simple ... ok [INFO] [stdout] test dep_types::tests::intersection_contained ... ok [INFO] [stdout] test dep_types::tests::intersection_contained_many_w_ne ... ok [INFO] [stdout] test dep_types::tests::parse_req_novers ... ok [INFO] [stdout] test dep_types::tests::req_tostring_multiple_reqs ... ok [INFO] [stdout] test dep_types::tests::req_tostring_single_reqs ... ok [INFO] [stdout] test dep_types::tests::version_ordering ... ok [INFO] [stdout] test dep_types::tests::version_ordering_modded ... ok [INFO] [stdout] test dep_types::tests::parse_req_pip ... ok [INFO] [stdout] test dep_types::tests::intersections_empty ... ok [INFO] [stdout] test dep_types::tests::bad_version ... ok [INFO] [stdout] test dep_types::tests::parse_req_pypi ... ok [INFO] [stdout] test dep_types::tests::parse_req_tilde_short ... ok [INFO] [stdout] test dep_types::tests::parse_req_pypi_cplx ... ok [INFO] [stdout] test dep_types::tests::constraint_multiple ... ok [INFO] [stdout] test dep_types::tests::constraint_w_modifier ... ok [INFO] [stdout] test dep_types::tests::parse_req_pypi_dot ... ok [INFO] [stdout] test dep_types::tests::parse_req_withvers ... ok [INFO] [stdout] test dep_types::tests::version_parse ... ok [INFO] [stdout] test dep_types::tests::version_parse_w_modifiers ... ok [INFO] [stdout] test dep_types::tests::constraint_to_string ... ok [INFO] [stdout] test dep_types::tests::version_parse_w_wildcard ... ok [INFO] [stdout] test dep_types::tests::python_version_from_warehouse ... ok [INFO] [stdout] test dep_types::tests::parse_req_pypi_w_extras ... ok [INFO] [stdout] test dep_resolution::tests::warehouse_versions ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- dep_resolution::tests::warehouse_versions stdout ---- [INFO] [stdout] thread 'dep_resolution::tests::warehouse_versions' panicked at 'called `Result::unwrap()` on an `Err` value: DependencyError { details: "Network error" }', src/dep_resolution.rs:731:40 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x559f2f03bd0c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x559f2f03bd0c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x559f2f03bd0c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x559f2f03bd0c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x559f2f06315c - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x559f2f0348d8 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x559f2f03e337 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x559f2f03e337 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x559f2f03e337 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x559f2f03e06b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x559f2f03ea8a - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x559f2f03e777 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x559f2f03c1d4 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x559f2f03e489 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x559f2e9ca7b3 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x559f2e9ca8a3 - core::result::unwrap_failed::hf9b34e307f812de0 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x559f2e9e80d3 - core::result::Result::unwrap::h3cd3e5d8882f42fc [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1065:23 [INFO] [stdout] 17: 0x559f2e9ec819 - pypackage::dep_resolution::tests::warehouse_versions::hc2353ff4136db762 [INFO] [stdout] at /opt/rustwide/workdir/src/dep_resolution.rs:731:13 [INFO] [stdout] 18: 0x559f2e9ec7ca - pypackage::dep_resolution::tests::warehouse_versions::{{closure}}::he4e6b0bb82a589fa [INFO] [stdout] at /opt/rustwide/workdir/src/dep_resolution.rs:727:5 [INFO] [stdout] 19: 0x559f2ea0300e - core::ops::function::FnOnce::call_once::he184d4a218d50629 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x559f2ee2db43 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x559f2ee2db43 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 22: 0x559f2ee2c871 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 23: 0x559f2ee2c871 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x559f2ee2c871 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x559f2ee2c871 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x559f2ee2c871 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x559f2ee2c871 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 28: 0x559f2ee2c871 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x559f2ee36151 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x559f2ee36151 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x559f2ee028af - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x559f2ee028af - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x559f2ee028af - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x559f2ee028af - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x559f2ee028af - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x559f2ee028af - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x559f2ee028af - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x559f2f0449c3 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 39: 0x559f2f0449c3 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 40: 0x559f2f0449c3 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7fea70322609 - start_thread [INFO] [stdout] 42: 0x7fea700f2293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] dep_resolution::tests::warehouse_versions [INFO] [stdout] [INFO] [stdout] test result: FAILED. 31 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin pypackage' [INFO] running `Command { std: "docker" "inspect" "7af813ab3828be2306862cb239aaa7cf80798465abd1dad28551348b5ac2105f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7af813ab3828be2306862cb239aaa7cf80798465abd1dad28551348b5ac2105f", kill_on_drop: false }` [INFO] [stdout] 7af813ab3828be2306862cb239aaa7cf80798465abd1dad28551348b5ac2105f