[INFO] fetching crate kalgan 0.9.1... [INFO] testing kalgan-0.9.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate kalgan 0.9.1 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kalgan 0.9.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 323 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.3) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding lettre v0.10.4 (available: v0.11.21) [INFO] [stderr] Adding rand v0.8.5 (available: v0.10.0) [INFO] [stderr] Adding rand_core v0.6.4 (available: v0.10.0) [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.23.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02e5c83509c4ef259a632e34f530d550fa61dd7970baa64cef2c343ad20cb20f [INFO] running `Command { std: "docker" "start" "-a" "02e5c83509c4ef259a632e34f530d550fa61dd7970baa64cef2c343ad20cb20f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02e5c83509c4ef259a632e34f530d550fa61dd7970baa64cef2c343ad20cb20f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02e5c83509c4ef259a632e34f530d550fa61dd7970baa64cef2c343ad20cb20f", kill_on_drop: false }` [INFO] [stdout] 02e5c83509c4ef259a632e34f530d550fa61dd7970baa64cef2c343ad20cb20f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 952998bcf3b45e5d528b2fa78b6770e04eeee28f021a4ffe1b722bdddac1b39a [INFO] running `Command { std: "docker" "start" "-a" "952998bcf3b45e5d528b2fa78b6770e04eeee28f021a4ffe1b722bdddac1b39a", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling kalgan_string v0.9.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling kalgan v0.9.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling slice-deque v0.2.4 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling kalgan_router v0.9.1 [INFO] [stderr] Compiling kalgan_config 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 14.83s [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" "952998bcf3b45e5d528b2fa78b6770e04eeee28f021a4ffe1b722bdddac1b39a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "952998bcf3b45e5d528b2fa78b6770e04eeee28f021a4ffe1b722bdddac1b39a", kill_on_drop: false }` [INFO] [stdout] 952998bcf3b45e5d528b2fa78b6770e04eeee28f021a4ffe1b722bdddac1b39a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6615c2bca94dd620760b4450688300341e317600cacd446a082c64be7b18784 [INFO] running `Command { std: "docker" "start" "-a" "e6615c2bca94dd620760b4450688300341e317600cacd446a082c64be7b18784", kill_on_drop: false }` [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] Compiling kalgan v0.9.1 (/opt/rustwide/workdir) [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" "e6615c2bca94dd620760b4450688300341e317600cacd446a082c64be7b18784", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6615c2bca94dd620760b4450688300341e317600cacd446a082c64be7b18784", kill_on_drop: false }` [INFO] [stdout] e6615c2bca94dd620760b4450688300341e317600cacd446a082c64be7b18784