[INFO] cloning repository https://github.com/niclashoyer/embedded-hal-sync-pins [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/niclashoyer/embedded-hal-sync-pins" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniclashoyer%2Fembedded-hal-sync-pins", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniclashoyer%2Fembedded-hal-sync-pins'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de7304d1421abf9d1fd503bb5737d5e0962cf28c [INFO] testing niclashoyer/embedded-hal-sync-pins against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniclashoyer%2Fembedded-hal-sync-pins" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/niclashoyer/embedded-hal-sync-pins on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/niclashoyer/embedded-hal-sync-pins [INFO] finished tweaking git repo https://github.com/niclashoyer/embedded-hal-sync-pins [INFO] tweaked toml for git repo https://github.com/niclashoyer/embedded-hal-sync-pins written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/niclashoyer/embedded-hal-sync-pins already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ca098b84ae5cfc34e4c5ecb1542514f4ea9e3544dd47f1ee2fa834f785ad1a5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2ca098b84ae5cfc34e4c5ecb1542514f4ea9e3544dd47f1ee2fa834f785ad1a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ca098b84ae5cfc34e4c5ecb1542514f4ea9e3544dd47f1ee2fa834f785ad1a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ca098b84ae5cfc34e4c5ecb1542514f4ea9e3544dd47f1ee2fa834f785ad1a5", kill_on_drop: false }` [INFO] [stdout] 2ca098b84ae5cfc34e4c5ecb1542514f4ea9e3544dd47f1ee2fa834f785ad1a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4c4bdf7f0b9b16fc207fec8e6abdb426eb3ae173df9e38f94bd079647e33fe1b [INFO] running `Command { std: "docker" "start" "-a" "4c4bdf7f0b9b16fc207fec8e6abdb426eb3ae173df9e38f94bd079647e33fe1b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling embedded-hal v1.0.0-alpha.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling embedded-time v0.10.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling embedded-hal-sync-pins v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/wire.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | panic!(format!("short circuit: {:?}", wire.state)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 78 | panic!("short circuit: {:?}", wire.state); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.57s [INFO] running `Command { std: "docker" "inspect" "4c4bdf7f0b9b16fc207fec8e6abdb426eb3ae173df9e38f94bd079647e33fe1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c4bdf7f0b9b16fc207fec8e6abdb426eb3ae173df9e38f94bd079647e33fe1b", kill_on_drop: false }` [INFO] [stdout] 4c4bdf7f0b9b16fc207fec8e6abdb426eb3ae173df9e38f94bd079647e33fe1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 52a0779f2383970863537515d7fb978edfafad57f93825277647ac5ab75efd9d [INFO] running `Command { std: "docker" "start" "-a" "52a0779f2383970863537515d7fb978edfafad57f93825277647ac5ab75efd9d", kill_on_drop: false }` [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/wire.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | panic!(format!("short circuit: {:?}", wire.state)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 78 | panic!("short circuit: {:?}", wire.state); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling embedded-hal-sync-pins v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/wire.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | panic!(format!("short circuit: {:?}", wire.state)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 78 | panic!("short circuit: {:?}", wire.state); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `Command { std: "docker" "inspect" "52a0779f2383970863537515d7fb978edfafad57f93825277647ac5ab75efd9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52a0779f2383970863537515d7fb978edfafad57f93825277647ac5ab75efd9d", kill_on_drop: false }` [INFO] [stdout] 52a0779f2383970863537515d7fb978edfafad57f93825277647ac5ab75efd9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ecba12b67a90bd8acaaf56dbf947b731722fc1a91f94c9dabb1863d9c868ac61 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ecba12b67a90bd8acaaf56dbf947b731722fc1a91f94c9dabb1863d9c868ac61", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/wire.rs:78:12 [INFO] [stderr] | [INFO] [stderr] 78 | panic!(format!("short circuit: {:?}", wire.state)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 78 | panic!("short circuit: {:?}", wire.state); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/wire.rs:78:12 [INFO] [stderr] | [INFO] [stderr] 78 | panic!(format!("short circuit: {:?}", wire.state)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 78 | panic!("short circuit: {:?}", wire.state); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/embedded_hal_sync_pins-f14ec321bf88fa8f) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test pins::tests::atomic_pin_state ... ok [INFO] [stdout] test pins::tests::hal_input_pin ... ok [INFO] [stdout] test wire::tests::init ... ok [INFO] [stdout] test pins::tests::hal_open_drain_pin ... ok [INFO] [stdout] test wire::tests::input ... ok [INFO] [stdout] test pins::tests::hal_push_pull_pin ... ok [INFO] [stdout] test wire::tests::pull_down ... ok [INFO] [stdout] test wire::tests::pull_up ... ok [INFO] [stderr] Doc-tests embedded-hal-sync-pins [INFO] [stdout] test wire::tests::short_circuit - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/pins.rs - pins::AtomicPinState::new_with_state (line 49) ... ok [INFO] [stdout] test src/pins.rs - pins::PushPullPin (line 136) ... ok [INFO] [stdout] test src/pins.rs - pins::InputPin (line 91) ... ok [INFO] [stdout] test src/pins.rs - pins::OpenDrainPin (line 210) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.55s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ecba12b67a90bd8acaaf56dbf947b731722fc1a91f94c9dabb1863d9c868ac61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecba12b67a90bd8acaaf56dbf947b731722fc1a91f94c9dabb1863d9c868ac61", kill_on_drop: false }` [INFO] [stdout] ecba12b67a90bd8acaaf56dbf947b731722fc1a91f94c9dabb1863d9c868ac61