[INFO] fetching crate government_id 0.1.0... [INFO] checking government_id-0.1.0 against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] extracting crate government_id 0.1.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate government_id 0.1.0 on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate government_id 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate government_id 0.1.0 [INFO] tweaked toml for crates.io crate government_id 0.1.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18fdeb20591072e06d5516d7187def45e779180618ca1fb474e0b408867c1e06 [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" "18fdeb20591072e06d5516d7187def45e779180618ca1fb474e0b408867c1e06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18fdeb20591072e06d5516d7187def45e779180618ca1fb474e0b408867c1e06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18fdeb20591072e06d5516d7187def45e779180618ca1fb474e0b408867c1e06", kill_on_drop: false }` [INFO] [stdout] 18fdeb20591072e06d5516d7187def45e779180618ca1fb474e0b408867c1e06 [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=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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 936ccf67f772ada36a3c8dd28fd719c8b979e737d1525860eb50b00ca488f421 [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" "936ccf67f772ada36a3c8dd28fd719c8b979e737d1525860eb50b00ca488f421", kill_on_drop: false }` [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex v0.2.11 [INFO] [stderr] Checking government_id v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tax_id.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | 1...9 => Err(Error::WrongLength { length: 10 }), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:50:43 [INFO] [stdout] | [INFO] [stdout] 50 | Error::RegexError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | Error::RegexError(ref e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tax_id.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | 1...9 => Err(Error::WrongLength { length: 10 }), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:50:43 [INFO] [stdout] | [INFO] [stdout] 50 | Error::RegexError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | Error::RegexError(ref e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/cli-rrc.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | command @ _ => panic!(format!("Wrong command: {}", command)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 32 | command @ _ => panic!("Wrong command: {}", command), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/cli-tax-id.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | command @ _ => panic!(format!("Wrong command: {}", command)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 33 | command @ _ => panic!("Wrong command: {}", command), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/cli-bic.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | command @ _ => panic!(format!("Wrong command: {}", command)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 33 | command @ _ => panic!("Wrong command: {}", command), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.40s [INFO] running `Command { std: "docker" "inspect" "936ccf67f772ada36a3c8dd28fd719c8b979e737d1525860eb50b00ca488f421", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "936ccf67f772ada36a3c8dd28fd719c8b979e737d1525860eb50b00ca488f421", kill_on_drop: false }` [INFO] [stdout] 936ccf67f772ada36a3c8dd28fd719c8b979e737d1525860eb50b00ca488f421