[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#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcybermatt%2Ffast-luhn" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cybermatt/fast-luhn on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "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-2-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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68744bd887926770ed2f9d44e2df421b341ef1e97682c6f87c81b06efef62b12 [INFO] running `Command { std: "docker" "start" "-a" "68744bd887926770ed2f9d44e2df421b341ef1e97682c6f87c81b06efef62b12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68744bd887926770ed2f9d44e2df421b341ef1e97682c6f87c81b06efef62b12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68744bd887926770ed2f9d44e2df421b341ef1e97682c6f87c81b06efef62b12", kill_on_drop: false }` [INFO] [stdout] 68744bd887926770ed2f9d44e2df421b341ef1e97682c6f87c81b06efef62b12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 892d6e178a1a2ff2f74e4a4396adfe2fab977f2b4cc36602cf61b10ca35f8a54 [INFO] running `Command { std: "docker" "start" "-a" "892d6e178a1a2ff2f74e4a4396adfe2fab977f2b4cc36602cf61b10ca35f8a54", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [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 proc-macro-hack v0.5.19 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking lock_api v0.4.2 [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 pyo3 v0.12.4 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking parking_lot_core v0.8.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Compiling pyo3-derive-backend v0.12.4 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling indoc-impl v0.3.6 [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 5.74s [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 1` [INFO] running `Command { std: "docker" "inspect" "892d6e178a1a2ff2f74e4a4396adfe2fab977f2b4cc36602cf61b10ca35f8a54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "892d6e178a1a2ff2f74e4a4396adfe2fab977f2b4cc36602cf61b10ca35f8a54", kill_on_drop: false }` [INFO] [stdout] 892d6e178a1a2ff2f74e4a4396adfe2fab977f2b4cc36602cf61b10ca35f8a54 [INFO] checking cybermatt/fast-luhn against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcybermatt%2Ffast-luhn" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cybermatt/fast-luhn on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "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-2-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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0bf5e640b4d453165cbd9811cab45e76cd480793cdef658324196786c16be88 [INFO] running `Command { std: "docker" "start" "-a" "f0bf5e640b4d453165cbd9811cab45e76cd480793cdef658324196786c16be88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0bf5e640b4d453165cbd9811cab45e76cd480793cdef658324196786c16be88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0bf5e640b4d453165cbd9811cab45e76cd480793cdef658324196786c16be88", kill_on_drop: false }` [INFO] [stdout] f0bf5e640b4d453165cbd9811cab45e76cd480793cdef658324196786c16be88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee4e2f0016121bc772ad49ee97a83bca21b1ef48eab421e808a803cec354835d [INFO] running `Command { std: "docker" "start" "-a" "ee4e2f0016121bc772ad49ee97a83bca21b1ef48eab421e808a803cec354835d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [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 proc-macro-hack v0.5.19 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling pyo3 v0.12.4 [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 rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Compiling quote v1.0.7 [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 paste-impl v0.1.18 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Compiling pyo3-derive-backend v0.12.4 [INFO] [stderr] Compiling ctor v0.1.16 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Compiling pyo3cls v0.12.4 [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/pyo3-0.12.4/src/ffi/object.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | panic!(); [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pyo3` (lib) due to 2 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ee4e2f0016121bc772ad49ee97a83bca21b1ef48eab421e808a803cec354835d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee4e2f0016121bc772ad49ee97a83bca21b1ef48eab421e808a803cec354835d", kill_on_drop: false }` [INFO] [stdout] ee4e2f0016121bc772ad49ee97a83bca21b1ef48eab421e808a803cec354835d