[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.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthoughtworks%2Fcandouble" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thoughtworks/candouble on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.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-11/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.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4bf05552cfe637b6444e25336fcdb5203a3bd38c9878b8f02accbbd143cccc5 [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" "d4bf05552cfe637b6444e25336fcdb5203a3bd38c9878b8f02accbbd143cccc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4bf05552cfe637b6444e25336fcdb5203a3bd38c9878b8f02accbbd143cccc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4bf05552cfe637b6444e25336fcdb5203a3bd38c9878b8f02accbbd143cccc5", kill_on_drop: false }` [INFO] [stdout] d4bf05552cfe637b6444e25336fcdb5203a3bd38c9878b8f02accbbd143cccc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3aaa3b401dc010531e18e3f9a52ad2fb755a46311aa380c0e912ce79ead1a2d7 [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" "3aaa3b401dc010531e18e3f9a52ad2fb755a46311aa380c0e912ce79ead1a2d7", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.26 [INFO] [stderr] Compiling rustc-demangle v0.1.10 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling bytecount v0.4.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling candouble v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling num_cpus v1.9.0 [INFO] [stderr] Compiling time v0.1.41 [INFO] [stderr] Compiling crossbeam-utils v0.6.3 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling arrayvec v0.4.8 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling bincode v1.0.1 [INFO] [stderr] Compiling uuid v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.30 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling syn v0.15.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling http v0.1.14 [INFO] [stderr] Compiling crossbeam-epoch v0.6.1 [INFO] [stderr] Compiling tokio-timer v0.2.8 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling cookie v0.11.0 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling crossbeam-deque v0.6.2 [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 tokio-codec v0.1.1 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling backtrace-sys v0.1.26 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling tokio-reactor v0.1.7 [INFO] [stderr] Compiling h2 v0.1.14 [INFO] [stderr] Compiling backtrace v0.3.11 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.4 [INFO] [stderr] Compiling error-chain v0.12.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.9 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling tokio-fs v0.1.4 [INFO] [stderr] Compiling tokio v0.1.13 [INFO] [stderr] Compiling serde_derive v1.0.79 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Compiling gotham_derive v0.3.0 [INFO] [stderr] Compiling hyper v0.12.18 [INFO] [stderr] Compiling failure v0.1.3 [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 1m 34s [INFO] running `Command { std: "docker" "inspect" "3aaa3b401dc010531e18e3f9a52ad2fb755a46311aa380c0e912ce79ead1a2d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3aaa3b401dc010531e18e3f9a52ad2fb755a46311aa380c0e912ce79ead1a2d7", kill_on_drop: false }` [INFO] [stdout] 3aaa3b401dc010531e18e3f9a52ad2fb755a46311aa380c0e912ce79ead1a2d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ffef193a68563b3d2f021f229177fa461eb1ec3ac74194872d8d1338e3f142d [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" "4ffef193a68563b3d2f021f229177fa461eb1ec3ac74194872d8d1338e3f142d", kill_on_drop: false }` [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] Compiling candouble v0.1.0 (/opt/rustwide/workdir) [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 11.81s [INFO] running `Command { std: "docker" "inspect" "4ffef193a68563b3d2f021f229177fa461eb1ec3ac74194872d8d1338e3f142d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ffef193a68563b3d2f021f229177fa461eb1ec3ac74194872d8d1338e3f142d", kill_on_drop: false }` [INFO] [stdout] 4ffef193a68563b3d2f021f229177fa461eb1ec3ac74194872d8d1338e3f142d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 760ab3838eaa011630b621da81b7d1f3f9cec4c0371dd3cf003f0954ea5ec203 [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" "760ab3838eaa011630b621da81b7d1f3f9cec4c0371dd3cf003f0954ea5ec203", 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.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/candouble-5fc925f20018a157) [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 imposter::tests::records_received_messages_when_instructed ... ok [INFO] [stdout] test imposter::tests::returns_response_from_first_matching_stub ... ok [INFO] [stdout] test predicate::tests::does_not_match_when_id_matches_but_data_does_not ... ok [INFO] [stdout] test predicate::tests::matches_if_id_is_equal ... ok [INFO] [stdout] test predicate::tests::matches_when_id_and_data_with_asterisk_match ... ok [INFO] [stdout] test predicate::tests::matches_when_id_and_literal_data_match ... ok [INFO] [stdout] test predicate::tests::pattern_does_not_match_value_when_decimal_number_is_not_equal ... ok [INFO] [stdout] test predicate::tests::pattern_matches_value_when_decimal_number_is_equal ... ok [INFO] [stdout] test predicate::tests::pattern_matches_value_when_hexadecimal_number_is_equal ... ok [INFO] [stdout] test predicate::tests::pattern_matches_value_when_pattern_is_asterisk ... ok [INFO] [stdout] test response::tests::creates_response_with_hex_id_and_data_from_template ... 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 controller::tests::upsert_replaces_existing_imposter_with_same_id ... ok [INFO] [stdout] test predicate::tests::does_not_match_when_data_matches_but_id_does_not ... ok [INFO] [stdout] test stub::tests::repeat_behavior_repeats_a_message ... ok [INFO] [stdout] test predicate::tests::does_not_match_if_id_is_not_equal ... ok [INFO] [stdout] test imposter::tests::adds_stub_from_json_definition ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/candouble-bdc25c37b90cfbcc) [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 tests/it_imposter.rs (/opt/rustwide/target/debug/deps/it_imposter-783de816b9c62c05) [INFO] [stdout] [INFO] [stderr] Running tests/it_webapi.rs (/opt/rustwide/target/debug/deps/it_webapi-8a70b8fbb3c4d453) [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] [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] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [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-8a70b8fbb3c4d453` (signal: 11, SIGSEGV: invalid memory reference) [INFO] running `Command { std: "docker" "inspect" "760ab3838eaa011630b621da81b7d1f3f9cec4c0371dd3cf003f0954ea5ec203", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "760ab3838eaa011630b621da81b7d1f3f9cec4c0371dd3cf003f0954ea5ec203", kill_on_drop: false }` [INFO] [stdout] 760ab3838eaa011630b621da81b7d1f3f9cec4c0371dd3cf003f0954ea5ec203