[INFO] fetching crate kalgan 0.9.1... [INFO] testing kalgan-0.9.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate kalgan 0.9.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate kalgan 0.9.1 [INFO] finished tweaking crates.io crate kalgan 0.9.1 [INFO] tweaked toml for crates.io crate kalgan 0.9.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kalgan 0.9.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 326 packages to latest compatible versions [INFO] [stderr] Adding argon2 v0.3.4 (available: v0.5.3) [INFO] [stderr] Adding base64ct v1.0.1 (available: v1.8.0) [INFO] [stderr] Adding lettre v0.10.4 (available: v0.11.18) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_core v0.6.4 (available: v0.9.3) [INFO] [stderr] Adding serde_yaml v0.8.26 (available: v0.9.34+deprecated) [INFO] [stderr] Adding sqlx v0.5.13 (available: v0.8.6) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.18.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-rt v0.5.13 [INFO] [stderr] Downloaded kalgan_router v0.9.1 [INFO] [stderr] Downloaded kalgan_cache v0.9.1 [INFO] [stderr] Downloaded kalgan_config v0.9.1 [INFO] [stderr] Downloaded kalgan_string v0.9.1 [INFO] [stderr] Downloaded quoted_printable v0.4.8 [INFO] [stderr] Downloaded kalgan_i18n v0.9.1 [INFO] [stderr] Downloaded email-encoding v0.2.1 [INFO] [stderr] Downloaded crc v2.1.0 [INFO] [stderr] Downloaded sqlx-macros v0.5.13 [INFO] [stderr] Downloaded argon2 v0.3.4 [INFO] [stderr] Downloaded password-hash v0.3.2 [INFO] [stderr] Downloaded base64ct v1.0.1 [INFO] [stderr] Downloaded slice-deque v0.2.4 [INFO] [stderr] Downloaded rustls-webpki v0.100.3 [INFO] [stderr] Downloaded sqlx v0.5.13 [INFO] [stderr] Downloaded lettre v0.10.4 [INFO] [stderr] Downloaded redis v0.21.7 [INFO] [stderr] Downloaded deunicode v1.6.2 [INFO] [stderr] Downloaded sqlx-core v0.5.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65a74f005b1346188c37c6fe28e2cdc612caad1f73885d7d227d87626aa3f889 [INFO] running `Command { std: "docker" "start" "-a" "65a74f005b1346188c37c6fe28e2cdc612caad1f73885d7d227d87626aa3f889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65a74f005b1346188c37c6fe28e2cdc612caad1f73885d7d227d87626aa3f889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65a74f005b1346188c37c6fe28e2cdc612caad1f73885d7d227d87626aa3f889", kill_on_drop: false }` [INFO] [stdout] 65a74f005b1346188c37c6fe28e2cdc612caad1f73885d7d227d87626aa3f889 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab68f48ace9c787549ad2dfa0c8541dd471aa06d17dd49ddfc971ec33245b1c4 [INFO] running `Command { std: "docker" "start" "-a" "ab68f48ace9c787549ad2dfa0c8541dd471aa06d17dd49ddfc971ec33245b1c4", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling kalgan_string v0.9.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling kalgan v0.9.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling slice-deque v0.2.4 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling kalgan_config v0.9.1 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling kalgan_router v0.9.1 [INFO] [stdout] warning: unexpected `cfg` condition value: `cache` [INFO] [stdout] --> src/lib.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg(feature = "cache")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `argon2`, `default`, `full`, `kalgan_cache`, `kalgan_i18n`, `lettre`, `mailer`, `rand`, `rand_core`, `services`, `session`, `sqlx`, `tera`, `test`, `tokio`, and `uuid` [INFO] [stdout] = help: consider adding `cache` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http/request.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(buffer: &[u8]) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(buffer: &[u8]) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.01s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.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" "ab68f48ace9c787549ad2dfa0c8541dd471aa06d17dd49ddfc971ec33245b1c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab68f48ace9c787549ad2dfa0c8541dd471aa06d17dd49ddfc971ec33245b1c4", kill_on_drop: false }` [INFO] [stdout] ab68f48ace9c787549ad2dfa0c8541dd471aa06d17dd49ddfc971ec33245b1c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed58c5e966536525b3bf9be4b449279b41379c6d8a72e44448a776b0bc7919c2 [INFO] running `Command { std: "docker" "start" "-a" "ed58c5e966536525b3bf9be4b449279b41379c6d8a72e44448a776b0bc7919c2", kill_on_drop: false }` [INFO] [stderr] Compiling kalgan v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cache` [INFO] [stdout] --> src/lib.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg(feature = "cache")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `argon2`, `default`, `full`, `kalgan_cache`, `kalgan_i18n`, `lettre`, `mailer`, `rand`, `rand_core`, `services`, `session`, `sqlx`, `tera`, `test`, `tokio`, and `uuid` [INFO] [stdout] = help: consider adding `cache` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http/request.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(buffer: &[u8]) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(buffer: &[u8]) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mock_routes` in the crate root [INFO] [stdout] --> src/service/url.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | crate::mock_routes(); [INFO] [stdout] | ^^^^^^^^^^^ not found in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 134 | #[cfg(feature = "test")] [INFO] [stdout] | ---------------- the item is gated behind the `test` feature [INFO] [stdout] 135 | /// Parses routing files used in testing. [INFO] [stdout] 136 | pub fn mock_routes() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cache` [INFO] [stdout] --> src/lib.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg(feature = "cache")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `argon2`, `default`, `full`, `kalgan_cache`, `kalgan_i18n`, `lettre`, `mailer`, `rand`, `rand_core`, `services`, `session`, `sqlx`, `tera`, `test`, `tokio`, and `uuid` [INFO] [stdout] = help: consider adding `cache` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mock_settings` in this scope [INFO] [stdout] --> src/lib.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | mock_settings("tests/mock/settings.yaml"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 129 | #[cfg(feature = "test")] [INFO] [stdout] | ---------------- the item is gated behind the `test` feature [INFO] [stdout] 130 | /// Parses settings parameter files used in testing. [INFO] [stdout] 131 | pub fn mock_settings(settings_file_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kalgan` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ed58c5e966536525b3bf9be4b449279b41379c6d8a72e44448a776b0bc7919c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed58c5e966536525b3bf9be4b449279b41379c6d8a72e44448a776b0bc7919c2", kill_on_drop: false }` [INFO] [stdout] ed58c5e966536525b3bf9be4b449279b41379c6d8a72e44448a776b0bc7919c2