[INFO] cloning repository https://github.com/cybermatt/fast-luhn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cybermatt/fast-luhn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcybermatt%2Ffast-luhn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcybermatt%2Ffast-luhn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39f9395960c3176672290965160264d009bc378b [INFO] checking cybermatt/fast-luhn against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcybermatt%2Ffast-luhn" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cybermatt/fast-luhn on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cybermatt/fast-luhn [INFO] finished tweaking git repo https://github.com/cybermatt/fast-luhn [INFO] tweaked toml for git repo https://github.com/cybermatt/fast-luhn written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/cybermatt/fast-luhn already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyo3cls v0.12.4 [INFO] [stderr] Downloaded parking_lot_core v0.8.1 [INFO] [stderr] Downloaded inventory-impl v0.1.10 [INFO] [stderr] Downloaded inventory v0.1.10 [INFO] [stderr] Downloaded unindent v0.1.7 [INFO] [stderr] Downloaded pyo3-derive-backend v0.12.4 [INFO] [stderr] Downloaded pyo3 v0.12.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 038027a03ac911ce3e0fd9a74664675313030afbe74fbc1f93c10696c3d6511e [INFO] running `Command { std: "docker" "start" "-a" "038027a03ac911ce3e0fd9a74664675313030afbe74fbc1f93c10696c3d6511e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "038027a03ac911ce3e0fd9a74664675313030afbe74fbc1f93c10696c3d6511e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "038027a03ac911ce3e0fd9a74664675313030afbe74fbc1f93c10696c3d6511e", kill_on_drop: false }` [INFO] [stdout] 038027a03ac911ce3e0fd9a74664675313030afbe74fbc1f93c10696c3d6511e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5f3a5ccbcbb3514b9c5bd449e32da6d83e0f5e8199650ed66f07a9817a18e91 [INFO] running `Command { std: "docker" "start" "-a" "f5f3a5ccbcbb3514b9c5bd449e32da6d83e0f5e8199650ed66f07a9817a18e91", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling pyo3 v0.12.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [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] Checking paste v0.1.18 [INFO] [stderr] Checking parking_lot_core v0.8.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling pyo3-derive-backend v0.12.4 [INFO] [stderr] Compiling ctor v0.1.16 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling pyo3cls v0.12.4 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Checking fast_luhn v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Python` is imported redundantly [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | use pyo3::prelude::*; [INFO] [stdout] | ---------------- the item `Python` is already imported here [INFO] [stdout] 6 | use pyo3::{Python, PyResult}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PyResult` is imported redundantly [INFO] [stdout] --> src/lib.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 5 | use pyo3::prelude::*; [INFO] [stdout] | ---------------- the item `PyResult` is already imported here [INFO] [stdout] 6 | use pyo3::{Python, PyResult}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PyModule` is imported redundantly [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | use pyo3::prelude::*; [INFO] [stdout] | ---------------- the item `PyModule` is already imported here [INFO] [stdout] 6 | use pyo3::{Python, PyResult}; [INFO] [stdout] 7 | use pyo3::types::PyModule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Python` is imported redundantly [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | use pyo3::prelude::*; [INFO] [stdout] | ---------------- the item `Python` is already imported here [INFO] [stdout] 6 | use pyo3::{Python, PyResult}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PyResult` is imported redundantly [INFO] [stdout] --> src/lib.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 5 | use pyo3::prelude::*; [INFO] [stdout] | ---------------- the item `PyResult` is already imported here [INFO] [stdout] 6 | use pyo3::{Python, PyResult}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PyModule` is imported redundantly [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | use pyo3::prelude::*; [INFO] [stdout] | ---------------- the item `PyModule` is already imported here [INFO] [stdout] 6 | use pyo3::{Python, PyResult}; [INFO] [stdout] 7 | use pyo3::types::PyModule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | let mut valid_string = string.clone().to_string(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | let mut valid_string = string.clone().to_string(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.95s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: pyo3 v0.12.4, pyo3-derive-backend v0.12.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "f5f3a5ccbcbb3514b9c5bd449e32da6d83e0f5e8199650ed66f07a9817a18e91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5f3a5ccbcbb3514b9c5bd449e32da6d83e0f5e8199650ed66f07a9817a18e91", kill_on_drop: false }` [INFO] [stdout] f5f3a5ccbcbb3514b9c5bd449e32da6d83e0f5e8199650ed66f07a9817a18e91 [INFO] checking cybermatt/fast-luhn against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcybermatt%2Ffast-luhn" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cybermatt/fast-luhn on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cybermatt/fast-luhn [INFO] finished tweaking git repo https://github.com/cybermatt/fast-luhn [INFO] tweaked toml for git repo https://github.com/cybermatt/fast-luhn written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/cybermatt/fast-luhn already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 584e88430cb55f582d6e1e446b15003017344e82bc215843959fe7b2e19d6b8a [INFO] running `Command { std: "docker" "start" "-a" "584e88430cb55f582d6e1e446b15003017344e82bc215843959fe7b2e19d6b8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "584e88430cb55f582d6e1e446b15003017344e82bc215843959fe7b2e19d6b8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "584e88430cb55f582d6e1e446b15003017344e82bc215843959fe7b2e19d6b8a", kill_on_drop: false }` [INFO] [stdout] 584e88430cb55f582d6e1e446b15003017344e82bc215843959fe7b2e19d6b8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 823f8581f9c8997b2631075bdbdb082f8e4c0054bb4cb9da2d9b652358512b76 [INFO] running `Command { std: "docker" "start" "-a" "823f8581f9c8997b2631075bdbdb082f8e4c0054bb4cb9da2d9b652358512b76", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Compiling pyo3 v0.12.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [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] Checking paste v0.1.18 [INFO] [stderr] Checking parking_lot_core v0.8.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling pyo3-derive-backend v0.12.4 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling ctor v0.1.16 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Compiling pyo3cls v0.12.4 [INFO] [stderr] Checking fast_luhn v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Python` is imported redundantly [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | use pyo3::prelude::*; [INFO] [stdout] | ---------------- the item `Python` is already imported here [INFO] [stdout] 6 | use pyo3::{Python, PyResult}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PyResult` is imported redundantly [INFO] [stdout] --> src/lib.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 5 | use pyo3::prelude::*; [INFO] [stdout] | ---------------- the item `PyResult` is already imported here [INFO] [stdout] 6 | use pyo3::{Python, PyResult}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PyModule` is imported redundantly [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | use pyo3::prelude::*; [INFO] [stdout] | ---------------- the item `PyModule` is already imported here [INFO] [stdout] 6 | use pyo3::{Python, PyResult}; [INFO] [stdout] 7 | use pyo3::types::PyModule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Python` is imported redundantly [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | use pyo3::prelude::*; [INFO] [stdout] | ---------------- the item `Python` is already imported here [INFO] [stdout] 6 | use pyo3::{Python, PyResult}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PyResult` is imported redundantly [INFO] [stdout] --> src/lib.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 5 | use pyo3::prelude::*; [INFO] [stdout] | ---------------- the item `PyResult` is already imported here [INFO] [stdout] 6 | use pyo3::{Python, PyResult}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PyModule` is imported redundantly [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | use pyo3::prelude::*; [INFO] [stdout] | ---------------- the item `PyModule` is already imported here [INFO] [stdout] 6 | use pyo3::{Python, PyResult}; [INFO] [stdout] 7 | use pyo3::types::PyModule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | let mut valid_string = string.clone().to_string(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | let mut valid_string = string.clone().to_string(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: pyo3 v0.12.4, pyo3-derive-backend v0.12.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "823f8581f9c8997b2631075bdbdb082f8e4c0054bb4cb9da2d9b652358512b76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "823f8581f9c8997b2631075bdbdb082f8e4c0054bb4cb9da2d9b652358512b76", kill_on_drop: false }` [INFO] [stdout] 823f8581f9c8997b2631075bdbdb082f8e4c0054bb4cb9da2d9b652358512b76