[INFO] fetching crate pypackage 0.0.3... [INFO] testing pypackage-0.0.3 against 1.55.0 for beta-1.56-1 [INFO] extracting crate pypackage 0.0.3 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate pypackage 0.0.3 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-6/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" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2393f26e00db76817690b396a21d9d310b53254b2e641dd1ea7fc4462a5bb8b2 [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" "2393f26e00db76817690b396a21d9d310b53254b2e641dd1ea7fc4462a5bb8b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2393f26e00db76817690b396a21d9d310b53254b2e641dd1ea7fc4462a5bb8b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2393f26e00db76817690b396a21d9d310b53254b2e641dd1ea7fc4462a5bb8b2", kill_on_drop: false }` [INFO] [stdout] 2393f26e00db76817690b396a21d9d310b53254b2e641dd1ea7fc4462a5bb8b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--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] 48618aaf293234ce8d5b4dae68eb7fe1ae6ab651d95f20a2d13d27cc14ba0669 [INFO] running `Command { std: "docker" "start" "-a" "48618aaf293234ce8d5b4dae68eb7fe1ae6ab651d95f20a2d13d27cc14ba0669", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling futures v0.1.28 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling proc-macro2 v1.0.0 [INFO] [stderr] Compiling syn v1.0.1 [INFO] [stderr] Compiling openssl v0.10.24 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling untrusted v0.7.0 [INFO] [stderr] Compiling spin v0.5.1 [INFO] [stderr] Compiling fs_extra v1.1.0 [INFO] [stderr] Compiling data-encoding v2.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [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 rust-lzma v0.4.0 [INFO] [stderr] Compiling miniz_oxide v0.3.2 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling iovec v0.1.2 [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 memoffset v0.5.1 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling openssl-sys v0.9.49 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling tar v0.4.26 [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 mio v0.6.19 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Compiling crossterm_input v0.3.9 [INFO] [stderr] Compiling crossterm_terminal v0.2.6 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling tokio-sync v0.1.6 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling flate2 v1.0.11 [INFO] [stderr] Compiling crossterm 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 regex v1.2.1 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling backtrace v0.3.34 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling zip v0.5.3 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling publicsuffix v1.5.2 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.22 [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] | ^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^ help: remove these parentheses [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] 586 | | "Unable to match python version from python_version: {}", [INFO] [stdout] 587 | | &rel.python_version [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: 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: `#[warn(dead_code)]` on by default [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] [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] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "48618aaf293234ce8d5b4dae68eb7fe1ae6ab651d95f20a2d13d27cc14ba0669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48618aaf293234ce8d5b4dae68eb7fe1ae6ab651d95f20a2d13d27cc14ba0669", kill_on_drop: false }` [INFO] [stdout] 48618aaf293234ce8d5b4dae68eb7fe1ae6ab651d95f20a2d13d27cc14ba0669 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1c4a2b723880b2e55ff6fb7cb1311a8b22aa2d3861cee2e872d31554f421760 [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" "b1c4a2b723880b2e55ff6fb7cb1311a8b22aa2d3861cee2e872d31554f421760", 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] | ^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^ help: remove these parentheses [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] 586 | | "Unable to match python version from python_version: {}", [INFO] [stdout] 587 | | &rel.python_version [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: 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: `#[warn(dead_code)]` on by default [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] [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] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.13s [INFO] running `Command { std: "docker" "inspect" "b1c4a2b723880b2e55ff6fb7cb1311a8b22aa2d3861cee2e872d31554f421760", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1c4a2b723880b2e55ff6fb7cb1311a8b22aa2d3861cee2e872d31554f421760", kill_on_drop: false }` [INFO] [stdout] b1c4a2b723880b2e55ff6fb7cb1311a8b22aa2d3861cee2e872d31554f421760 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", 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] c6e9a27e2d34257d4436aa58d0c4598cbc00334d157625441985d7af47ba1ac4 [INFO] running `Command { std: "docker" "start" "-a" "c6e9a27e2d34257d4436aa58d0c4598cbc00334d157625441985d7af47ba1ac4", 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] | ^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^ help: remove these parentheses [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] 586 | | "Unable to match python version from python_version: {}", [INFO] [stderr] 587 | | &rel.python_version [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: 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: `#[warn(dead_code)]` on by default [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] 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] warning: `pypackage` (bin "pypackage" test) generated 11 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pypackage-0327c170e5f8cbdb) [INFO] [stdout] [INFO] [stdout] running 32 tests [INFO] [stdout] test build::test::py_list ... ok [INFO] [stdout] test dep_types::tests::compat_gt_eq ... ok [INFO] [stdout] test dep_types::tests::compat_rng ... ok [INFO] [stdout] test dep_types::tests::intersection_contained_many ... 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::intersections_simple_many ... ok [INFO] [stdout] test dep_types::tests::intersection_contained_many_w_ne ... ok [INFO] [stdout] test dep_types::tests::intersections_empty ... ok [INFO] [stdout] test dep_types::tests::compat_caret ... 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::parse_req_caret ... 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_withvers ... 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_novers ... ok [INFO] [stdout] test dep_types::tests::parse_req_pip ... ok [INFO] [stdout] test dep_types::tests::version_parse ... ok [INFO] [stdout] test dep_types::tests::parse_req_pypi_cplx ... ok [INFO] [stdout] test dep_types::tests::constraint_to_string ... ok [INFO] [stdout] test dep_types::tests::version_parse_w_modifiers ... ok [INFO] [stdout] test dep_types::tests::parse_req_tilde_short ... ok [INFO] [stdout] test dep_types::tests::python_version_from_warehouse ... ok [INFO] [stdout] test dep_types::tests::parse_req_pypi_dot ... ok [INFO] [stdout] test dep_types::tests::version_parse_w_wildcard ... ok [INFO] [stdout] test dep_types::tests::constraint_w_modifier ... ok [INFO] [stdout] test dep_types::tests::parse_req_pypi_w_extras ... ok [INFO] [stdout] test dep_types::tests::constraint_multiple ... ok [INFO] [stderr] error: test failed, to rerun pass '--bin pypackage' [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: 0x555fce54cbd0 - std::backtrace_rs::backtrace::libunwind::trace::ha0ad43e8a952bfe7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x555fce54cbd0 - std::backtrace_rs::backtrace::trace_unsynchronized::h6830419c0c4130dc [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x555fce54cbd0 - std::sys_common::backtrace::_print_fmt::h8f3516631ffa1ef5 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x555fce54cbd0 - ::fmt::he1640d5f0d93f618 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x555fce57122c - core::fmt::write::h88012e1f01caeebf [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x555fce546815 - std::io::Write::write_fmt::h7728c39ea5632753 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x555fce54eddb - std::sys_common::backtrace::_print::ha1f00492f406a015 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x555fce54eddb - std::sys_common::backtrace::print::hd54561b13feb6af3 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x555fce54eddb - std::panicking::default_hook::{{closure}}::h84fe124cd0864662 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x555fce54e8ec - std::panicking::default_hook::h5a8e74a76ce290a7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x555fce54f4a4 - std::panicking::rust_panic_with_hook::h67c812a4fe9d4c91 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x555fce54ef87 - std::panicking::begin_panic_handler::{{closure}}::h33f9c1b96af300d7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x555fce54d0cc - std::sys_common::backtrace::__rust_end_short_backtrace::h51bae64be5921f0e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x555fce54eee9 - rust_begin_unwind [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x555fcdec1a11 - core::panicking::panic_fmt::h12a3a3c256485fca [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x555fcdec1b03 - core::result::unwrap_failed::h2d8d0952e3250de9 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/result.rs:1599:5 [INFO] [stdout] 16: 0x555fcdee4604 - core::result::Result::unwrap::hffbf1f8ddd9ec5f5 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/result.rs:1281:23 [INFO] [stdout] 17: 0x555fcdefb129 - pypackage::dep_resolution::tests::warehouse_versions::h54985efaf8e7dbf9 [INFO] [stdout] at /opt/rustwide/workdir/src/dep_resolution.rs:731:13 [INFO] [stdout] 18: 0x555fcdefb0da - pypackage::dep_resolution::tests::warehouse_versions::{{closure}}::hf5311979eecea355 [INFO] [stdout] at /opt/rustwide/workdir/src/dep_resolution.rs:727:5 [INFO] [stdout] 19: 0x555fcdf05a6e - core::ops::function::FnOnce::call_once::h8d214fa55dd510e2 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x555fce33f743 - core::ops::function::FnOnce::call_once::h5aba9a5d361d6c79 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x555fce33f743 - test::__rust_begin_short_backtrace::h705bb53b2b1d45e6 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:578:5 [INFO] [stdout] 22: 0x555fce33e1f8 - as core::ops::function::FnOnce>::call_once::ha20f614d7c0b2b6d [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 23: 0x555fce33e1f8 - as core::ops::function::FnOnce<()>>::call_once::hf02f19eeb64ceabd [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:347:9 [INFO] [stdout] 24: 0x555fce33e1f8 - std::panicking::try::do_call::h4bfab65eb3b4b036 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 25: 0x555fce33e1f8 - std::panicking::try::h6613a46a6d2b6f88 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 26: 0x555fce33e1f8 - std::panic::catch_unwind::h9f07b17b60991273 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14 [INFO] [stdout] 27: 0x555fce33e1f8 - test::run_test_in_process::hc38797eecf07854f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:601:18 [INFO] [stdout] 28: 0x555fce33e1f8 - test::run_test::run_test_inner::{{closure}}::hac209db8bce0fd77 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:493:39 [INFO] [stdout] 29: 0x555fce30c98d - test::run_test::run_test_inner::{{closure}}::h4aefdd4b4a423e20 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:520:37 [INFO] [stdout] 30: 0x555fce30c98d - std::sys_common::backtrace::__rust_begin_short_backtrace::h652c9e2663704700 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x555fce311168 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hd84fd5e0b5b1f45f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 32: 0x555fce311168 - as core::ops::function::FnOnce<()>>::call_once::he23556962a2ae14b [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:347:9 [INFO] [stdout] 33: 0x555fce311168 - std::panicking::try::do_call::h67d4f93e1fbaa5f9 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 34: 0x555fce311168 - std::panicking::try::h396886e678db815e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 35: 0x555fce311168 - std::panic::catch_unwind::hc1d64dcecf0a00e0 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14 [INFO] [stdout] 36: 0x555fce311168 - std::thread::Builder::spawn_unchecked::{{closure}}::hc2644cf33cb61d8e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 37: 0x555fce311168 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4473c2c77b66963f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x555fce5548e7 - as core::ops::function::FnOnce>::call_once::h6bff7798948b1075 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 39: 0x555fce5548e7 - as core::ops::function::FnOnce>::call_once::hc2d25ac38f6b2342 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 40: 0x555fce5548e7 - std::sys::unix::thread::Thread::new::thread_start::hbba5bc368baac205 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys/unix/thread.rs:74:17 [INFO] [stdout] 41: 0x7fa9012d6609 - start_thread [INFO] [stdout] 42: 0x7fa9010a6293 - 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.48s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c6e9a27e2d34257d4436aa58d0c4598cbc00334d157625441985d7af47ba1ac4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6e9a27e2d34257d4436aa58d0c4598cbc00334d157625441985d7af47ba1ac4", kill_on_drop: false }` [INFO] [stdout] c6e9a27e2d34257d4436aa58d0c4598cbc00334d157625441985d7af47ba1ac4