[INFO] cloning repository https://github.com/adfaure/batsim.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adfaure/batsim.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadfaure%2Fbatsim.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadfaure%2Fbatsim.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0993b27d4dc3ffd9173fceaaa49a704c7bcf11d [INFO] checking adfaure/batsim.rs against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadfaure%2Fbatsim.rs" "/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/adfaure/batsim.rs on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adfaure/batsim.rs [INFO] finished tweaking git repo https://github.com/adfaure/batsim.rs [INFO] tweaked toml for git repo https://github.com/adfaure/batsim.rs written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/adfaure/batsim.rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zmq v0.9.1 [INFO] [stderr] Downloaded zmq-sys v0.9.1 [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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", 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] d787740a6ee4caa0611a9bf616e629ee63041ffad5145f549ab4ff58db59b2e8 [INFO] running `Command { std: "docker" "start" "-a" "d787740a6ee4caa0611a9bf616e629ee63041ffad5145f549ab4ff58db59b2e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d787740a6ee4caa0611a9bf616e629ee63041ffad5145f549ab4ff58db59b2e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d787740a6ee4caa0611a9bf616e629ee63041ffad5145f549ab4ff58db59b2e8", kill_on_drop: false }` [INFO] [stdout] d787740a6ee4caa0611a9bf616e629ee63041ffad5145f549ab4ff58db59b2e8 [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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 272d5b1a7b00efb9fb7d213e3c6b01b0cfba2474d4bd0072c3673865155529a0 [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" "272d5b1a7b00efb9fb7d213e3c6b01b0cfba2474d4bd0072c3673865155529a0", kill_on_drop: false }` [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling log v0.4.7 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Checking utf8-ranges v1.0.3 [INFO] [stderr] Compiling zmq v0.9.1 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling metadeps v1.1.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling zmq-sys v0.9.1 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking regex v0.2.11 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.94 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking batsim-rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/libbatsim/batsim.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | try!(self.send_message(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/libbatsim/batsim.rs:243:25 [INFO] [stdout] | [INFO] [stdout] 243 | try!(self.send_message(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/libbatsim/batsim.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | try!(self.send_message(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/libbatsim/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/libbatsim/batsim.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | scheduler: &'a mut Scheduler, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Scheduler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/libbatsim/batsim.rs:120:35 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn new(scheduler: &'a mut Scheduler, endpointport: Option) -> Batsim<'a> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Scheduler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/libbatsim/batsim.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | try!(self.send_message(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/libbatsim/batsim.rs:243:25 [INFO] [stdout] | [INFO] [stdout] 243 | try!(self.send_message(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/libbatsim/batsim.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | try!(self.send_message(res)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/libbatsim/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/libbatsim/batsim.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | scheduler: &'a mut Scheduler, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Scheduler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/libbatsim/batsim.rs:120:35 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn new(scheduler: &'a mut Scheduler, endpointport: Option) -> Batsim<'a> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Scheduler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `batsim::zmq::Socket::send_str`: Use `send` instead [INFO] [stdout] --> src/libbatsim/batsim.rs:192:25 [INFO] [stdout] | [INFO] [stdout] 192 | self.zmq_socket.send_str(message_json.as_str(), 0).unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/libbatsim/batsim.rs:274:25 [INFO] [stdout] | [INFO] [stdout] 274 | ref timestamp, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `batsim::zmq::Socket::send_str`: Use `send` instead [INFO] [stdout] --> src/libbatsim/batsim.rs:192:25 [INFO] [stdout] | [INFO] [stdout] 192 | self.zmq_socket.send_str(message_json.as_str(), 0).unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/libbatsim/batsim.rs:274:25 [INFO] [stdout] | [INFO] [stdout] 274 | ref timestamp, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 42.65s [INFO] running `Command { std: "docker" "inspect" "272d5b1a7b00efb9fb7d213e3c6b01b0cfba2474d4bd0072c3673865155529a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "272d5b1a7b00efb9fb7d213e3c6b01b0cfba2474d4bd0072c3673865155529a0", kill_on_drop: false }` [INFO] [stdout] 272d5b1a7b00efb9fb7d213e3c6b01b0cfba2474d4bd0072c3673865155529a0