[INFO] cloning repository https://github.com/thoughtworks/candouble [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thoughtworks/candouble" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthoughtworks%2Fcandouble", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthoughtworks%2Fcandouble'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bf582f104b4be7a93e65996d100cf26dd4d2b71c [INFO] testing thoughtworks/candouble against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthoughtworks%2Fcandouble" "/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/thoughtworks/candouble on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thoughtworks/candouble [INFO] finished tweaking git repo https://github.com/thoughtworks/candouble [INFO] tweaked toml for git repo https://github.com/thoughtworks/candouble written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/thoughtworks/candouble already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gotham_derive v0.3.0 [INFO] [stderr] Downloaded backtrace v0.3.11 [INFO] [stderr] Downloaded borrow-bag v1.0.0 [INFO] [stderr] Downloaded cc v1.0.26 [INFO] [stderr] Downloaded gotham v0.3.0 [INFO] [stderr] Downloaded hyper v0.12.18 [INFO] [stderr] Downloaded serde_json v1.0.30 [INFO] [stderr] Downloaded backtrace-sys v0.1.26 [INFO] [stderr] Downloaded rustc-demangle v0.1.10 [INFO] [stderr] Downloaded syn v0.15.6 [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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca398bd313dc6d9479829793e9f07efe746ae69842428b50c3eb1803ebbe02d0 [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" "ca398bd313dc6d9479829793e9f07efe746ae69842428b50c3eb1803ebbe02d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca398bd313dc6d9479829793e9f07efe746ae69842428b50c3eb1803ebbe02d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca398bd313dc6d9479829793e9f07efe746ae69842428b50c3eb1803ebbe02d0", kill_on_drop: false }` [INFO] [stdout] ca398bd313dc6d9479829793e9f07efe746ae69842428b50c3eb1803ebbe02d0 [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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] 0cc7cab54994eefdfcd37d1d3599ecc53dade3ad5931eba2805cc40f2b9af358 [INFO] running `Command { std: "docker" "start" "-a" "0cc7cab54994eefdfcd37d1d3599ecc53dade3ad5931eba2805cc40f2b9af358", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.79 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling cc v1.0.26 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling rustc-demangle v0.1.10 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling bytecount v0.4.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling string v0.1.2 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling candouble v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling num_cpus v1.9.0 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling time v0.1.41 [INFO] [stderr] Compiling crossbeam-utils v0.6.3 [INFO] [stderr] Compiling tokio-executor v0.1.5 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling arrayvec v0.4.8 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling getopts v0.2.18 [INFO] [stderr] Compiling base64 v0.10.0 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling smallvec v0.6.7 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling tokio-current-thread v0.1.4 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling tokio-timer v0.2.8 [INFO] [stderr] Compiling cookie v0.11.0 [INFO] [stderr] Compiling crossbeam-epoch v0.6.1 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling http v0.1.14 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling mime v0.3.12 [INFO] [stderr] Compiling crossbeam-deque v0.6.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling backtrace-sys v0.1.26 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling phf v0.7.23 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling uuid v0.7.1 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling syn v0.15.6 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling h2 v0.1.14 [INFO] [stderr] Compiling backtrace v0.3.11 [INFO] [stderr] Compiling error-chain v0.12.0 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.30 [INFO] [stderr] Compiling bincode v1.0.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.79 [INFO] [stderr] Compiling gotham_derive v0.3.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling failure v0.1.3 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling tokio-reactor v0.1.7 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.4 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling tokio-threadpool v0.1.9 [INFO] [stderr] Compiling tokio-fs v0.1.4 [INFO] [stderr] Compiling tokio v0.1.13 [INFO] [stderr] Compiling hyper v0.12.18 [INFO] [stderr] Compiling cargo_metadata v0.6.4 [INFO] [stderr] Compiling skeptic v0.13.4 [INFO] [stderr] Compiling borrow-bag v1.0.0 [INFO] [stderr] Compiling gotham v0.3.0 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/imposter.rs:63:72 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn run_with_adaptor(id: u32, mut list: ImposterList, adaptor: &mut CANAdaptor) { [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 - pub fn run_with_adaptor(id: u32, mut list: ImposterList, adaptor: &mut CANAdaptor) { [INFO] [stdout] 63 + pub fn run_with_adaptor(id: u32, mut list: ImposterList, adaptor: &mut dyn CANAdaptor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/can/mod.rs:62:39 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn create_adaptor() -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 - pub fn create_adaptor() -> Result, &'static str> { [INFO] [stdout] 62 + pub fn create_adaptor() -> Result, &'static str> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/can/dummy.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new() -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - pub fn new() -> Result, &'static str> { [INFO] [stdout] 10 + pub fn new() -> Result, &'static str> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | Err(f) => { panic!(f.to_string()) } [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 17 | Err(f) => { panic!("{}", f.to_string()) } [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 2m 24s [INFO] running `Command { std: "docker" "inspect" "0cc7cab54994eefdfcd37d1d3599ecc53dade3ad5931eba2805cc40f2b9af358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cc7cab54994eefdfcd37d1d3599ecc53dade3ad5931eba2805cc40f2b9af358", kill_on_drop: false }` [INFO] [stdout] 0cc7cab54994eefdfcd37d1d3599ecc53dade3ad5931eba2805cc40f2b9af358 [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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] 1f121ccdbefbbc23a4394a9e3bffa30c85a74512f8b6669a8b9c122b98faa37b [INFO] running `Command { std: "docker" "start" "-a" "1f121ccdbefbbc23a4394a9e3bffa30c85a74512f8b6669a8b9c122b98faa37b", kill_on_drop: false }` [INFO] [stderr] Compiling candouble v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/imposter.rs:63:72 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn run_with_adaptor(id: u32, mut list: ImposterList, adaptor: &mut CANAdaptor) { [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 - pub fn run_with_adaptor(id: u32, mut list: ImposterList, adaptor: &mut CANAdaptor) { [INFO] [stdout] 63 + pub fn run_with_adaptor(id: u32, mut list: ImposterList, adaptor: &mut dyn CANAdaptor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/can/mod.rs:62:39 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn create_adaptor() -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 - pub fn create_adaptor() -> Result, &'static str> { [INFO] [stdout] 62 + pub fn create_adaptor() -> Result, &'static str> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/can/dummy.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new() -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - pub fn new() -> Result, &'static str> { [INFO] [stdout] 10 + pub fn new() -> Result, &'static str> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | Err(f) => { panic!(f.to_string()) } [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 17 | Err(f) => { panic!("{}", f.to_string()) } [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | Err(f) => { panic!(f.to_string()) } [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 17 | Err(f) => { panic!("{}", f.to_string()) } [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/imposter.rs:63:72 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn run_with_adaptor(id: u32, mut list: ImposterList, adaptor: &mut CANAdaptor) { [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 - pub fn run_with_adaptor(id: u32, mut list: ImposterList, adaptor: &mut CANAdaptor) { [INFO] [stdout] 63 + pub fn run_with_adaptor(id: u32, mut list: ImposterList, adaptor: &mut dyn CANAdaptor) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/can/mod.rs:62:39 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn create_adaptor() -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 - pub fn create_adaptor() -> Result, &'static str> { [INFO] [stdout] 62 + pub fn create_adaptor() -> Result, &'static str> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/can/dummy.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new() -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - pub fn new() -> Result, &'static str> { [INFO] [stdout] 10 + pub fn new() -> Result, &'static str> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 14.13s [INFO] running `Command { std: "docker" "inspect" "1f121ccdbefbbc23a4394a9e3bffa30c85a74512f8b6669a8b9c122b98faa37b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f121ccdbefbbc23a4394a9e3bffa30c85a74512f8b6669a8b9c122b98faa37b", kill_on_drop: false }` [INFO] [stdout] 1f121ccdbefbbc23a4394a9e3bffa30c85a74512f8b6669a8b9c122b98faa37b [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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 41be84abec6e0393d67d689405695011056b55b83156e0801e3eb1eee45b0e37 [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" "41be84abec6e0393d67d689405695011056b55b83156e0801e3eb1eee45b0e37", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/imposter.rs:63:72 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn run_with_adaptor(id: u32, mut list: ImposterList, adaptor: &mut CANAdaptor) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 63 - pub fn run_with_adaptor(id: u32, mut list: ImposterList, adaptor: &mut CANAdaptor) { [INFO] [stderr] 63 + pub fn run_with_adaptor(id: u32, mut list: ImposterList, adaptor: &mut dyn CANAdaptor) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/can/mod.rs:62:39 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn create_adaptor() -> Result, &'static str> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 62 - pub fn create_adaptor() -> Result, &'static str> { [INFO] [stderr] 62 + pub fn create_adaptor() -> Result, &'static str> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/can/dummy.rs:10:32 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn new() -> Result, &'static str> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 10 - pub fn new() -> Result, &'static str> { [INFO] [stderr] 10 + pub fn new() -> Result, &'static str> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `candouble` (lib) generated 3 warnings [INFO] [stderr] warning: `candouble` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:17:28 [INFO] [stderr] | [INFO] [stderr] 17 | Err(f) => { panic!(f.to_string()) } [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] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 17 | Err(f) => { panic!("{}", f.to_string()) } [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `candouble` (bin "candouble") generated 1 warning [INFO] [stderr] warning: `candouble` (bin "candouble" test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/candouble-e12f17635b6bfae6) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test can::tests::creates_message_with_content ... ok [INFO] [stdout] test controller::tests::upsert_differentiates_imposters_with_different_ids ... ok [INFO] [stdout] test imposter::tests::does_not_record_received_messages_by_default ... ok [INFO] [stdout] test response::tests::parses_behavior_from_template ... ok [INFO] [stdout] test stub::tests::concat_behavior_concatenates_messages ... ok [INFO] [stdout] test stub::tests::cycles_through_multiple_responses ... ok [INFO] [stdout] test stub::tests::drop_behavior_drops_a_message ... ok [INFO] [stdout] test stub::tests::repeat_and_concat_behaviors_can_be_combined ... ok [INFO] [stdout] test stub::tests::repeat_behavior_repeats_a_message ... ok [INFO] [stdout] test predicate::tests::matches_when_id_and_data_with_asterisk_match ... ok [INFO] [stdout] test predicate::tests::does_not_match_when_id_matches_but_data_does_not ... ok [INFO] [stdout] test predicate::tests::pattern_matches_value_when_hexadecimal_number_is_equal ... ok [INFO] [stdout] test imposter::tests::returns_response_from_first_matching_stub ... ok [INFO] [stdout] test predicate::tests::does_not_match_if_id_is_not_equal ... ok [INFO] [stdout] test predicate::tests::matches_when_id_and_literal_data_match ... ok [INFO] [stdout] test response::tests::creates_response_with_hex_id_and_data_from_template ... ok [INFO] [stdout] test predicate::tests::pattern_does_not_match_value_when_decimal_number_is_not_equal ... ok [INFO] [stdout] test controller::tests::upsert_replaces_existing_imposter_with_same_id ... ok [INFO] [stdout] test imposter::tests::records_received_messages_when_instructed ... ok [INFO] [stdout] test imposter::tests::adds_stub_from_json_definition ... ok [INFO] [stdout] test predicate::tests::pattern_matches_value_when_pattern_is_asterisk ... ok [INFO] [stdout] test predicate::tests::matches_if_id_is_equal ... ok [INFO] [stdout] test predicate::tests::pattern_matches_value_when_decimal_number_is_equal ... ok [INFO] [stdout] test predicate::tests::does_not_match_when_data_matches_but_id_does_not ... ok [INFO] [stdout] test stub::tests::wait_behavior_waits_before_responding ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/candouble-3c962118fed6bdc2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/it_imposter.rs (/opt/rustwide/target/debug/deps/it_imposter-930349dc17396acb) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test it_stub_does_not_match_when_at_least_one_predicate_is_false ... ok [INFO] [stdout] test it_stub_matches_when_all_predicates_are_true ... ok [INFO] [stdout] [INFO] [stderr] Running tests/it_webapi.rs (/opt/rustwide/target/debug/deps/it_webapi-2da7d16f5e5fe229) [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stderr] error: test failed, to rerun pass '--test it_webapi' [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/it_webapi-2da7d16f5e5fe229` (signal: 11, SIGSEGV: invalid memory reference) [INFO] running `Command { std: "docker" "inspect" "41be84abec6e0393d67d689405695011056b55b83156e0801e3eb1eee45b0e37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41be84abec6e0393d67d689405695011056b55b83156e0801e3eb1eee45b0e37", kill_on_drop: false }` [INFO] [stdout] 41be84abec6e0393d67d689405695011056b55b83156e0801e3eb1eee45b0e37