[INFO] cloning repository https://github.com/arron-speake-bluefruit/phal [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arron-speake-bluefruit/phal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farron-speake-bluefruit%2Fphal", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farron-speake-bluefruit%2Fphal'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1c6ad989c565242dafcbcdb16bf779ad1e177cee [INFO] testing arron-speake-bluefruit/phal against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farron-speake-bluefruit%2Fphal" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/arron-speake-bluefruit/phal [INFO] finished tweaking git repo https://github.com/arron-speake-bluefruit/phal [INFO] tweaked toml for git repo https://github.com/arron-speake-bluefruit/phal written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/arron-speake-bluefruit/phal on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/arron-speake-bluefruit/phal already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c7c8d6157e411bcffc226ac5d9baec5facc08ac706dcc785054918917c2fb62 [INFO] running `Command { std: "docker" "start" "-a" "6c7c8d6157e411bcffc226ac5d9baec5facc08ac706dcc785054918917c2fb62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c7c8d6157e411bcffc226ac5d9baec5facc08ac706dcc785054918917c2fb62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c7c8d6157e411bcffc226ac5d9baec5facc08ac706dcc785054918917c2fb62", kill_on_drop: false }` [INFO] [stdout] 6c7c8d6157e411bcffc226ac5d9baec5facc08ac706dcc785054918917c2fb62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 521215469a3c723904c517f5c67d3fea60fcd578b8e02418bb83d5e90ff235b7 [INFO] running `Command { std: "docker" "start" "-a" "521215469a3c723904c517f5c67d3fea60fcd578b8e02418bb83d5e90ff235b7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling chunked_transfer v1.1.0 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling ascii v1.0.0 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling serial-core v0.4.0 [INFO] [stderr] Compiling ioctl-rs v0.1.6 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling serial-unix v0.4.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling serial v0.4.0 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling tiny_http v0.7.0 [INFO] [stderr] Compiling backtrace v0.3.44 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling gpio-cdev v0.2.0 [INFO] [stderr] Compiling phal v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/limb.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn iter(&self) -> std::collections::hash_map::Iter> { [INFO] [stdout] | ^^^^^ ------------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, String, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/limb.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn names(&self) -> std::collections::hash_map::Keys { [INFO] [stdout] | ^^^^^ ------------------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 97 | pub fn names(&self) -> std::collections::hash_map::Keys<'_, String, LimbTypesHashMapKey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.73s [INFO] running `Command { std: "docker" "inspect" "521215469a3c723904c517f5c67d3fea60fcd578b8e02418bb83d5e90ff235b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "521215469a3c723904c517f5c67d3fea60fcd578b8e02418bb83d5e90ff235b7", kill_on_drop: false }` [INFO] [stdout] 521215469a3c723904c517f5c67d3fea60fcd578b8e02418bb83d5e90ff235b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4273db4d8c2edbe5ed9c97c86b2f488e948991551041e1d66ef862d0a7d79ce1 [INFO] running `Command { std: "docker" "start" "-a" "4273db4d8c2edbe5ed9c97c86b2f488e948991551041e1d66ef862d0a7d79ce1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling ring v0.16.14 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling standback v0.2.8 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling base64 v0.12.1 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/limb.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn iter(&self) -> std::collections::hash_map::Iter> { [INFO] [stdout] | ^^^^^ ------------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, String, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/limb.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn names(&self) -> std::collections::hash_map::Keys { [INFO] [stdout] | ^^^^^ ------------------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 97 | pub fn names(&self) -> std::collections::hash_map::Keys<'_, String, LimbTypesHashMapKey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling webpki-roots v0.19.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling cookie v0.13.3 [INFO] [stderr] Compiling ureq v1.1.1 [INFO] [stderr] Compiling phal v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/limb.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn iter(&self) -> std::collections::hash_map::Iter> { [INFO] [stdout] | ^^^^^ ------------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 59 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, String, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/limb.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn names(&self) -> std::collections::hash_map::Keys { [INFO] [stdout] | ^^^^^ ------------------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 97 | pub fn names(&self) -> std::collections::hash_map::Keys<'_, String, LimbTypesHashMapKey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "4273db4d8c2edbe5ed9c97c86b2f488e948991551041e1d66ef862d0a7d79ce1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4273db4d8c2edbe5ed9c97c86b2f488e948991551041e1d66ef862d0a7d79ce1", kill_on_drop: false }` [INFO] [stdout] 4273db4d8c2edbe5ed9c97c86b2f488e948991551041e1d66ef862d0a7d79ce1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3f7a95a8bd9239db5ec683412c0ce3a42d291f9d9bad74e6f579ceece0de1cea [INFO] running `Command { std: "docker" "start" "-a" "3f7a95a8bd9239db5ec683412c0ce3a42d291f9d9bad74e6f579ceece0de1cea", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/limb.rs:59:17 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn iter(&self) -> std::collections::hash_map::Iter> { [INFO] [stderr] | ^^^^^ ------------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 59 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, String, Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/limb.rs:97:18 [INFO] [stderr] | [INFO] [stderr] 97 | pub fn names(&self) -> std::collections::hash_map::Keys { [INFO] [stderr] | ^^^^^ ------------------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 97 | pub fn names(&self) -> std::collections::hash_map::Keys<'_, String, LimbTypesHashMapKey> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `phal` (lib) generated 2 warnings [INFO] [stderr] warning: `phal` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/phal-224030e0e2bfb6fd) [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/phal.rs (/opt/rustwide/target/debug/deps/phal-fe48bce25e2da9e8) [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/phal_tests.rs (/opt/rustwide/target/debug/deps/phal_tests-de7c119398ddcd09) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test a_limb_is_set_to_its_init_config_property_on_start_up_if_it_exists ... ok [INFO] [stdout] test get_and_post_requests_call_get_and_set_on_a_limb ... ok [INFO] [stdout] test server_has_endpoints_for_limbs_in_config ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests phal [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3f7a95a8bd9239db5ec683412c0ce3a42d291f9d9bad74e6f579ceece0de1cea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f7a95a8bd9239db5ec683412c0ce3a42d291f9d9bad74e6f579ceece0de1cea", kill_on_drop: false }` [INFO] [stdout] 3f7a95a8bd9239db5ec683412c0ce3a42d291f9d9bad74e6f579ceece0de1cea