[INFO] fetching crate wards 0.1.7... [INFO] checking wards-0.1.7 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate wards 0.1.7 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate wards 0.1.7 [INFO] finished tweaking crates.io crate wards 0.1.7 [INFO] tweaked toml for crates.io crate wards 0.1.7 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wards 0.1.7 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 33 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74e36edb5745633e3a7a5a6ba6351dc7a5850b1e32d4955f38568e83348afd9f [INFO] running `Command { std: "docker" "start" "-a" "74e36edb5745633e3a7a5a6ba6351dc7a5850b1e32d4955f38568e83348afd9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74e36edb5745633e3a7a5a6ba6351dc7a5850b1e32d4955f38568e83348afd9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74e36edb5745633e3a7a5a6ba6351dc7a5850b1e32d4955f38568e83348afd9f", kill_on_drop: false }` [INFO] [stdout] 74e36edb5745633e3a7a5a6ba6351dc7a5850b1e32d4955f38568e83348afd9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c667d697faaf07bb647a80c0c30d2a4f6112d1aeee2662fc5253e38536245e5b [INFO] running `Command { std: "docker" "start" "-a" "c667d697faaf07bb647a80c0c30d2a4f6112d1aeee2662fc5253e38536245e5b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking wards v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/car.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | fn add_cars<'a>(&'a self, cars: &'a Vec) -> Result, WardError>; [INFO] [stdout] | ^^ ^^ ---- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 68 | fn add_cars<'a>(&'a self, cars: &'a Vec) -> Result, WardError>; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/car.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | fn add_cars<'a>(&'a self, cars: &'a Vec) -> Result, WardError> { [INFO] [stdout] | ^^ ^^ ---- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 109 | fn add_cars<'a>(&'a self, cars: &'a Vec) -> Result, WardError> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `TEST_CAMERA_IP` not defined at compile time [INFO] [stdout] --> tests/common/mod.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | let ip = env!("TEST_CAMERA_IP").to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("TEST_CAMERA_IP")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `TEST_CAMERA_USERNAME` not defined at compile time [INFO] [stdout] --> tests/common/mod.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | let username = env!("TEST_CAMERA_USERNAME").to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("TEST_CAMERA_USERNAME")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `TEST_CAMERA_PASSWORD` not defined at compile time [INFO] [stdout] --> tests/common/mod.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | let password = env!("TEST_CAMERA_PASSWORD").to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("TEST_CAMERA_PASSWORD")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `TEST_CAMERA_DESCRIPTION` not defined at compile time [INFO] [stdout] --> tests/common/mod.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | let description = env!("TEST_CAMERA_DESCRIPTION").to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("TEST_CAMERA_DESCRIPTION")` to read the variable at run time [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/car.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | fn add_cars<'a>(&'a self, cars: &'a Vec) -> Result, WardError>; [INFO] [stdout] | ^^ ^^ ---- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 68 | fn add_cars<'a>(&'a self, cars: &'a Vec) -> Result, WardError>; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/car.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | fn add_cars<'a>(&'a self, cars: &'a Vec) -> Result, WardError> { [INFO] [stdout] | ^^ ^^ ---- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 109 | fn add_cars<'a>(&'a self, cars: &'a Vec) -> Result, WardError> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wards` (test "integration_test") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "c667d697faaf07bb647a80c0c30d2a4f6112d1aeee2662fc5253e38536245e5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c667d697faaf07bb647a80c0c30d2a4f6112d1aeee2662fc5253e38536245e5b", kill_on_drop: false }` [INFO] [stdout] c667d697faaf07bb647a80c0c30d2a4f6112d1aeee2662fc5253e38536245e5b