[INFO] cloning repository https://github.com/peterdelevoryas/state-machine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/peterdelevoryas/state-machine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeterdelevoryas%2Fstate-machine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeterdelevoryas%2Fstate-machine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae06bdc900a4ed380a5b5b67dc4b72865adf70eb [INFO] testing peterdelevoryas/state-machine against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeterdelevoryas%2Fstate-machine" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/peterdelevoryas/state-machine on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/peterdelevoryas/state-machine [INFO] finished tweaking git repo https://github.com/peterdelevoryas/state-machine [INFO] tweaked toml for git repo https://github.com/peterdelevoryas/state-machine written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/peterdelevoryas/state-machine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b775104de92a808bcafa9ef4d78098939e7f146cbde655f6a38f870f3504687 [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" "5b775104de92a808bcafa9ef4d78098939e7f146cbde655f6a38f870f3504687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b775104de92a808bcafa9ef4d78098939e7f146cbde655f6a38f870f3504687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b775104de92a808bcafa9ef4d78098939e7f146cbde655f6a38f870f3504687", kill_on_drop: false }` [INFO] [stdout] 5b775104de92a808bcafa9ef4d78098939e7f146cbde655f6a38f870f3504687 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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] ff22cb1c6d946a2dc460ebfcf06d446907b62db15709fe50883cfd395d5bdf81 [INFO] running `Command { std: "docker" "start" "-a" "ff22cb1c6d946a2dc460ebfcf06d446907b62db15709fe50883cfd395d5bdf81", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.23 [INFO] [stderr] Compiling gcc v0.3.50 [INFO] [stderr] Compiling rayon-core v1.0.2 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling deque v0.3.2 [INFO] [stderr] Compiling cfg-if v0.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.4 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling untrusted v0.5.0 [INFO] [stderr] Compiling protobuf v1.2.2 [INFO] [stderr] Compiling num_cpus v1.5.1 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling iovec v0.1.0 [INFO] [stderr] Compiling bytes v0.4.4 [INFO] [stderr] Compiling backtrace-sys v0.1.11 [INFO] [stderr] Compiling rayon v0.7.1 [INFO] [stderr] Compiling ring v0.9.7 [INFO] [stderr] Compiling kinetic-protobuf v0.1.2 [INFO] [stderr] Compiling backtrace v0.3.2 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling state-machine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: found removed `do catch` syntax [INFO] [stdout] --> src/main.rs:253:25 [INFO] [stdout] | [INFO] [stdout] 253 | let r: Result<()> = do catch { [INFO] [stdout] | ^^^^^^^^ help: replace with the new syntax: `try` [INFO] [stdout] | [INFO] [stdout] = note: following RFC #2388, the new non-placeholder syntax is `try` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `try` expression is experimental [INFO] [stdout] --> src/main.rs:253:25 [INFO] [stdout] | [INFO] [stdout] 253 | let r: Result<()> = do catch { [INFO] [stdout] | _________________________^ [INFO] [stdout] 254 | | let path = env::args().nth(1).ok_or("expected kinetic message path as first argument".into()) [INFO] [stdout] 255 | | .and_then(|s| Path::canonicalize(s.as_ref()) [INFO] [stdout] 256 | | .chain_err(|| "kinetic message path does not exist"))?; [INFO] [stdout] ... | [INFO] [stdout] 271 | | Ok(()) [INFO] [stdout] 272 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #31436 for more information [INFO] [stdout] = help: add `#![feature(try_blocks)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::BytesMut` [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | use bytes::BytesMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kinetic_protobuf::Message` [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | use kinetic_protobuf::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frame::decoder::Decoder` [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | use frame::decoder::Decoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frame::authenticator::Authenticator` [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | use frame::authenticator::Authenticator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frame::decoder::Component` [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | use frame::decoder::Component; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `errors::*` [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | use errors::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/main.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frame::authenticator::Authenticator` [INFO] [stdout] --> src/main.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | use frame::authenticator::Authenticator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as std::ops::Try>::Ok == std::result::Result<(), _>` [INFO] [stdout] --> src/main.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | Ok(()) [INFO] [stdout] | ^^^^^^ expected `()`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected type `()` [INFO] [stdout] found enum `std::result::Result<(), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `state-machine`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "ff22cb1c6d946a2dc460ebfcf06d446907b62db15709fe50883cfd395d5bdf81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff22cb1c6d946a2dc460ebfcf06d446907b62db15709fe50883cfd395d5bdf81", kill_on_drop: false }` [INFO] [stdout] ff22cb1c6d946a2dc460ebfcf06d446907b62db15709fe50883cfd395d5bdf81