[INFO] cloning repository https://github.com/Konstantin-Dudersky/plc-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Konstantin-Dudersky/plc-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKonstantin-Dudersky%2Fplc-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKonstantin-Dudersky%2Fplc-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 044f8d9962a517ce0b1f967f474e0c94cc979c93
[INFO] checking Konstantin-Dudersky/plc-rs against 011c518242557d21690f7936b5812318dc2fec47 for pr-159877
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKonstantin-Dudersky%2Fplc-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Konstantin-Dudersky/plc-rs
[INFO] finished tweaking git repo https://github.com/Konstantin-Dudersky/plc-rs
[INFO] tweaked toml for git repo https://github.com/Konstantin-Dudersky/plc-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Konstantin-Dudersky/plc-rs on toolchain 011c518242557d21690f7936b5812318dc2fec47
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Konstantin-Dudersky/plc-rs 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" "+011c518242557d21690f7936b5812318dc2fec47" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_json v1.0.107
[INFO] [stderr]   Downloaded serde_derive v1.0.189
[INFO] [stderr]   Downloaded serde v1.0.189
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f1ae0fe27f6e56973eefadc31bfff16f668710e5ee71b0b20e69d42305e12d72
[INFO] running `Command { std: "docker" "start" "f1ae0fe27f6e56973eefadc31bfff16f668710e5ee71b0b20e69d42305e12d72", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f1ae0fe27f6e56973eefadc31bfff16f668710e5ee71b0b20e69d42305e12d72", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f1ae0fe27f6e56973eefadc31bfff16f668710e5ee71b0b20e69d42305e12d72" "/opt/rustwide/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f1ae0fe27f6e56973eefadc31bfff16f668710e5ee71b0b20e69d42305e12d72", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f1ae0fe27f6e56973eefadc31bfff16f668710e5ee71b0b20e69d42305e12d72" "/opt/rustwide/cargo-home/bin/cargo" "+011c518242557d21690f7936b5812318dc2fec47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.189
[INFO] [stderr]    Compiling serde_json v1.0.107
[INFO] [stderr]     Checking ryu v1.0.15
[INFO] [stderr]     Checking itoa v1.0.9
[INFO] [stderr]    Compiling serde_derive v1.0.189
[INFO] [stderr]     Checking plc-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | /     loop {
[INFO] [stdout] 13 | |         main.run();
[INFO] [stdout] 14 | |         std::thread::sleep(std::time::Duration::from_secs(2));
[INFO] [stdout] 15 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 16 |
[INFO] [stdout] 17 |       let mut fb1 = fb1_example::FunctionBlock::default();
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | /     loop {
[INFO] [stdout] 13 | |         main.run();
[INFO] [stdout] 14 | |         std::thread::sleep(std::time::Duration::from_secs(2));
[INFO] [stdout] 15 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 16 |
[INFO] [stdout] 17 |       let mut fb1 = fb1_example::FunctionBlock::default();
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/fb2_example.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let mut internal_counter = self.stat.internal_counter;
[INFO] [stdout]    |             ----^^^^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `internal_counter`
[INFO] [stdout]   --> src/fb2_example.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let mut internal_counter = self.stat.internal_counter;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_counter`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/fb2_example.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let mut internal_counter = self.stat.internal_counter;
[INFO] [stdout]    |             ----^^^^^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `internal_counter`
[INFO] [stdout]   --> src/fb2_example.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let mut internal_counter = self.stat.internal_counter;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_counter`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `IOB` is more private than the item `MainCycle<TInput, TOutput, TStatic>`
[INFO] [stdout]   --> src/main_cycle.rs:32:1
[INFO] [stdout]    |
[INFO] [stdout] 32 | / impl<TInput, TOutput, TStatic> MainCycle<TInput, TOutput, TStatic>
[INFO] [stdout] 33 | | where
[INFO] [stdout] 34 | |     TInput: Serialize,
[INFO] [stdout] 35 | |     TOutput: Serialize,
[INFO] [stdout] 36 | |     TStatic: Serialize,
[INFO] [stdout] 37 | |     Self: IOB,
[INFO] [stdout]    | |______________^ implementation `MainCycle<TInput, TOutput, TStatic>` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but trait `IOB` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/main_cycle.rs:50:1
[INFO] [stdout]    |
[INFO] [stdout] 50 | trait IOB {
[INFO] [stdout]    | ^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_bounds)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `FunctionBlock` is never used
[INFO] [stdout]   --> src/fb2_example.rs:40:10
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub type FunctionBlock = FunctionBlockBase<VarInput, VarOutput, VarStatic>;
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `IOB` is more private than the item `MainCycle<TInput, TOutput, TStatic>`
[INFO] [stdout]   --> src/main_cycle.rs:32:1
[INFO] [stdout]    |
[INFO] [stdout] 32 | / impl<TInput, TOutput, TStatic> MainCycle<TInput, TOutput, TStatic>
[INFO] [stdout] 33 | | where
[INFO] [stdout] 34 | |     TInput: Serialize,
[INFO] [stdout] 35 | |     TOutput: Serialize,
[INFO] [stdout] 36 | |     TStatic: Serialize,
[INFO] [stdout] 37 | |     Self: IOB,
[INFO] [stdout]    | |______________^ implementation `MainCycle<TInput, TOutput, TStatic>` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but trait `IOB` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/main_cycle.rs:50:1
[INFO] [stdout]    |
[INFO] [stdout] 50 | trait IOB {
[INFO] [stdout]    | ^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_bounds)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `duration_since` is never used
[INFO] [stdout]   --> src/types/time_instant.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl TimeInstant {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn duration_since(&self, earlier: Self) -> types::TimeDuration {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `FunctionBlock` is never used
[INFO] [stdout]   --> src/fb2_example.rs:40:10
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub type FunctionBlock = FunctionBlockBase<VarInput, VarOutput, VarStatic>;
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `duration_since` is never used
[INFO] [stdout]   --> src/types/time_instant.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl TimeInstant {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn duration_since(&self, earlier: Self) -> types::TimeDuration {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.79s
[INFO] running `Command { std: "docker" "inspect" "f1ae0fe27f6e56973eefadc31bfff16f668710e5ee71b0b20e69d42305e12d72", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f1ae0fe27f6e56973eefadc31bfff16f668710e5ee71b0b20e69d42305e12d72", kill_on_drop: false }`
[INFO] [stdout] f1ae0fe27f6e56973eefadc31bfff16f668710e5ee71b0b20e69d42305e12d72
