[INFO] cloning repository https://github.com/PlasmaPower/railroad [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PlasmaPower/railroad" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlasmaPower%2Frailroad", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlasmaPower%2Frailroad'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ddc7175716e97dab84618699c4346ba33d2d89ce [INFO] testing PlasmaPower/railroad against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlasmaPower%2Frailroad" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PlasmaPower/railroad on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PlasmaPower/railroad [INFO] finished tweaking git repo https://github.com/PlasmaPower/railroad [INFO] tweaked toml for git repo https://github.com/PlasmaPower/railroad written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/PlasmaPower/railroad already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--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-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3008fd3bc69d65cc97e50b4358fccd8f53a11ec16be60455622d92ae6cfaaa92 [INFO] running `Command { std: "docker" "start" "-a" "3008fd3bc69d65cc97e50b4358fccd8f53a11ec16be60455622d92ae6cfaaa92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3008fd3bc69d65cc97e50b4358fccd8f53a11ec16be60455622d92ae6cfaaa92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3008fd3bc69d65cc97e50b4358fccd8f53a11ec16be60455622d92ae6cfaaa92", kill_on_drop: false }` [INFO] [stdout] 3008fd3bc69d65cc97e50b4358fccd8f53a11ec16be60455622d92ae6cfaaa92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a654794e877b713c4b4a6c50a2d0c55307eb142cd33babeed5c2e6fb0d4a8c07 [INFO] running `Command { std: "docker" "start" "-a" "a654794e877b713c4b4a6c50a2d0c55307eb142cd33babeed5c2e6fb0d4a8c07", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling cc v1.0.46 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling smallvec v0.6.12 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling subtle v2.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.7 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling constant_time_eq v0.1.4 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling memoffset v0.5.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling tokio-sync v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.11.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling crypto-mac v0.5.2 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling blake2 v0.8.1 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling curve25519-dalek v1.2.3 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling blake2 v0.7.1 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling tokio-threadpool v0.1.16 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-reactor v0.1.10 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio-udp v0.1.5 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling ed25519-dalek v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling nanocurrency-types v0.3.18 [INFO] [stderr] Compiling nanocurrency-types v0.4.0 (/opt/rustwide/workdir/nanocurrency-types) [INFO] [stderr] Compiling nanocurrency-protocol v0.5.1 [INFO] [stderr] Compiling nanocurrency-peering v0.6.0 (/opt/rustwide/workdir/nanocurrency-peering) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> nanocurrency-peering/src/udp_framed.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | fn poll(&mut self) -> Poll, Self::Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - fn poll(&mut self) -> Poll, Self::Error> { [INFO] [stdout] 42 + fn poll(&mut self) -> Poll, Self::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> nanocurrency-peering/src/lib.rs:156:24 [INFO] [stdout] | [INFO] [stdout] 156 | send_messages: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 156 - send_messages: Box>, [INFO] [stdout] 156 + send_messages: Box>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> nanocurrency-peering/src/lib.rs:204:20 [INFO] [stdout] | [INFO] [stdout] 204 | value: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 204 - value: Box>, [INFO] [stdout] 204 + value: Box>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> nanocurrency-peering/src/lib.rs:210:40 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn run(self) -> io::Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 210 - pub fn run(self) -> io::Result>> { [INFO] [stdout] 210 + pub fn run(self) -> io::Result>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio::reactor::Handle::current`: semantics were sometimes surprising, use Handle::default() [INFO] [stdout] --> nanocurrency-peering/src/lib.rs:229:63 [INFO] [stdout] | [INFO] [stdout] 229 | socket = UdpSocket::from_std(std_socket, &Handle::current())?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling railroad v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/node.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn run(conf: NodeConfig) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - pub fn run(conf: NodeConfig) -> Box> { [INFO] [stdout] 18 + pub fn run(conf: NodeConfig) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 23 | match message { [INFO] [stdout] | ------- this expression has type `nanocurrency_protocol::Message` [INFO] [stdout] ... [INFO] [stdout] 37 | Message::ConfirmAck(Vote { block, .. }) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected struct `nanocurrency_types::Vote`, found a different struct `nanocurrency_types::Vote` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `nanocurrency_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0026]: struct `nanocurrency_types::Vote` does not have a field named `block` [INFO] [stdout] --> src/node.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | Message::ConfirmAck(Vote { block, .. }) => { [INFO] [stdout] | ^^^^^ struct `nanocurrency_types::Vote` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 27 | if block.work_valid(network) { [INFO] [stdout] | ^^^^^^^ expected enum `nanocurrency_types::Network`, found a different enum `nanocurrency_types::Network` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `nanocurrency_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/node.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | .network(conf.network) [INFO] [stdout] | ^^^^^^^^^^^^ expected enum `nanocurrency_types::Network`, found a different enum `nanocurrency_types::Network` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `nanocurrency_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `railroad` due to 5 previous errors; 1 warning emitted [INFO] [stdout] Some errors have detailed explanations: E0026, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0026`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a654794e877b713c4b4a6c50a2d0c55307eb142cd33babeed5c2e6fb0d4a8c07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a654794e877b713c4b4a6c50a2d0c55307eb142cd33babeed5c2e6fb0d4a8c07", kill_on_drop: false }` [INFO] [stdout] a654794e877b713c4b4a6c50a2d0c55307eb142cd33babeed5c2e6fb0d4a8c07