[INFO] fetching crate kalgan 0.9.1... [INFO] testing kalgan-0.9.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate kalgan 0.9.1 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kalgan 0.9.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 319 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.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aef18b640cca244f5325f5a44e644a48bef5add880118b0e8ea5cc09ea4f650b [INFO] running `Command { std: "docker" "start" "-a" "aef18b640cca244f5325f5a44e644a48bef5add880118b0e8ea5cc09ea4f650b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aef18b640cca244f5325f5a44e644a48bef5add880118b0e8ea5cc09ea4f650b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aef18b640cca244f5325f5a44e644a48bef5add880118b0e8ea5cc09ea4f650b", kill_on_drop: false }` [INFO] [stdout] aef18b640cca244f5325f5a44e644a48bef5add880118b0e8ea5cc09ea4f650b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ef096ee39b4c4f52be9ce798cc68fa9f34f1a8f888bb86612b5d507fb48eebd [INFO] running `Command { std: "docker" "start" "-a" "4ef096ee39b4c4f52be9ce798cc68fa9f34f1a8f888bb86612b5d507fb48eebd", 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.176 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling kalgan_string v0.9.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [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 chrono v0.4.42 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling slice-deque v0.2.4 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling kalgan_config v0.9.1 [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 13.14s [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 2` [INFO] running `Command { std: "docker" "inspect" "4ef096ee39b4c4f52be9ce798cc68fa9f34f1a8f888bb86612b5d507fb48eebd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ef096ee39b4c4f52be9ce798cc68fa9f34f1a8f888bb86612b5d507fb48eebd", kill_on_drop: false }` [INFO] [stdout] 4ef096ee39b4c4f52be9ce798cc68fa9f34f1a8f888bb86612b5d507fb48eebd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e661d063aa7815f9dd18ec2696ece2086b09c166522a86b175bde5d99bab38c6 [INFO] running `Command { std: "docker" "start" "-a" "e661d063aa7815f9dd18ec2696ece2086b09c166522a86b175bde5d99bab38c6", 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)]` 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" "e661d063aa7815f9dd18ec2696ece2086b09c166522a86b175bde5d99bab38c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e661d063aa7815f9dd18ec2696ece2086b09c166522a86b175bde5d99bab38c6", kill_on_drop: false }` [INFO] [stdout] e661d063aa7815f9dd18ec2696ece2086b09c166522a86b175bde5d99bab38c6