[INFO] cloning repository https://github.com/exclave/exclave [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/exclave/exclave" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexclave%2Fexclave", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexclave%2Fexclave'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df7bda920fed6bd274616d848fb90a535ec6fc81 [INFO] testing exclave/exclave against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexclave%2Fexclave" "/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/exclave/exclave on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/source/.cargo/config [INFO] started tweaking git repo https://github.com/exclave/exclave [INFO] finished tweaking git repo https://github.com/exclave/exclave [INFO] tweaked toml for git repo https://github.com/exclave/exclave written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/exclave/exclave already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a06febed00bb3c7dfa4de2e94d77a28cf3de4b0bbf36966c2ca3f3cda022d0f0 [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" "a06febed00bb3c7dfa4de2e94d77a28cf3de4b0bbf36966c2ca3f3cda022d0f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a06febed00bb3c7dfa4de2e94d77a28cf3de4b0bbf36966c2ca3f3cda022d0f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a06febed00bb3c7dfa4de2e94d77a28cf3de4b0bbf36966c2ca3f3cda022d0f0", kill_on_drop: false }` [INFO] [stdout] a06febed00bb3c7dfa4de2e94d77a28cf3de4b0bbf36966c2ca3f3cda022d0f0 [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=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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1407eae49d3e8a8ffc5e4ff1d26b730c73d3eb4a67895c2d7766d18b4273a1cb [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" "1407eae49d3e8a8ffc5e4ff1d26b730c73d3eb4a67895c2d7766d18b4273a1cb", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling same-file v1.0.3 [INFO] [stderr] Compiling nom v2.2.1 [INFO] [stderr] Compiling exclave v0.2.6 (/opt/rustwide/workdir) [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling filetime v0.2.1 [INFO] [stderr] Compiling clicolors-control v0.2.0 [INFO] [stderr] Compiling nix v0.9.0 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Compiling daggy v0.6.0 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling ctrlc v3.1.1 [INFO] [stderr] Compiling walkdir v2.2.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling tokio-reactor v0.1.6 [INFO] [stderr] Compiling dependy v0.4.1 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling quote v0.6.9 [INFO] [stderr] Compiling syn v0.15.15 [INFO] [stderr] Compiling inotify v0.6.1 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling systemd-parser v0.1.3 [INFO] [stderr] Compiling notify v4.0.6 [INFO] [stderr] Compiling runny v1.2.5 [INFO] [stderr] Compiling console v0.6.2 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling serde_json v1.0.32 [INFO] [stdout] warning: the item `RunnyError` is imported redundantly [INFO] [stdout] --> src/unit.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 13 | use self::runny::RunnyError; [INFO] [stdout] | ----------------------- the item `RunnyError` is already imported here [INFO] [stdout] ... [INFO] [stdout] 262 | use self::runny::RunnyError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::Receiver` [INFO] [stdout] --> src/terminal.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::mpsc::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/unit.rs:267:64 [INFO] [stdout] | [INFO] [stdout] 267 | write!(f, "Unable to activate unit: {}", e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/unit.rs:375:58 [INFO] [stdout] | [INFO] [stdout] 375 | write!(f, "unable to open file -- {}", e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/unit.rs:378:49 [INFO] [stdout] | [INFO] [stdout] 378 | write!(f, "syntax error: {}", e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/unit.rs:381:53 [INFO] [stdout] | [INFO] [stdout] 381 | write!(f, "time parse error: {}", e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/unit.rs:388:52 [INFO] [stdout] | [INFO] [stdout] 388 | write!(f, "int parse error: {}", e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/units/test.rs:386:171 [INFO] [stdout] | [INFO] [stdout] 386 | ...tents::LogError(format!("test daemon raised an error: {}", e.description())))).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_max_time` [INFO] [stdout] --> src/units/scenario.rs:621:21 [INFO] [stdout] | [INFO] [stdout] 621 | let test_max_time = self.make_timeout(test_timeout); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_max_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_manager` [INFO] [stdout] --> src/unitlibrary.rs:422:12 [INFO] [stdout] | [INFO] [stdout] 422 | pub fn get_manager(&self) -> &RefCell { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "1407eae49d3e8a8ffc5e4ff1d26b730c73d3eb4a67895c2d7766d18b4273a1cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1407eae49d3e8a8ffc5e4ff1d26b730c73d3eb4a67895c2d7766d18b4273a1cb", kill_on_drop: false }` [INFO] [stdout] 1407eae49d3e8a8ffc5e4ff1d26b730c73d3eb4a67895c2d7766d18b4273a1cb [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=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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe8b0a77bb40b1ae3b3178206b968224fd5de99b7746209d9a8b4f37ad022130 [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" "fe8b0a77bb40b1ae3b3178206b968224fd5de99b7746209d9a8b4f37ad022130", kill_on_drop: false }` [INFO] [stderr] Compiling exclave v0.2.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `RunnyError` is imported redundantly [INFO] [stdout] --> src/unit.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 13 | use self::runny::RunnyError; [INFO] [stdout] | ----------------------- the item `RunnyError` is already imported here [INFO] [stdout] ... [INFO] [stdout] 262 | use self::runny::RunnyError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::Receiver` [INFO] [stdout] --> src/terminal.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::mpsc::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `units::interface::InterfaceDescription` [INFO] [stdout] --> src/test.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use units::interface::InterfaceDescription; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `units::logger::LoggerDescription` [INFO] [stdout] --> src/test.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use units::logger::LoggerDescription; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `units::trigger::TriggerDescription` [INFO] [stdout] --> src/test.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use units::trigger::TriggerDescription; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/unit.rs:267:64 [INFO] [stdout] | [INFO] [stdout] 267 | write!(f, "Unable to activate unit: {}", e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/unit.rs:375:58 [INFO] [stdout] | [INFO] [stdout] 375 | write!(f, "unable to open file -- {}", e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/unit.rs:378:49 [INFO] [stdout] | [INFO] [stdout] 378 | write!(f, "syntax error: {}", e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/unit.rs:381:53 [INFO] [stdout] | [INFO] [stdout] 381 | write!(f, "time parse error: {}", e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/unit.rs:388:52 [INFO] [stdout] | [INFO] [stdout] 388 | write!(f, "int parse error: {}", e.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/units/test.rs:386:171 [INFO] [stdout] | [INFO] [stdout] 386 | ...tents::LogError(format!("test daemon raised an error: {}", e.description())))).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_max_time` [INFO] [stdout] --> src/units/scenario.rs:621:21 [INFO] [stdout] | [INFO] [stdout] 621 | let test_max_time = self.make_timeout(test_timeout); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_max_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `master_seen` is never read [INFO] [stdout] --> src/test.rs:502:29 [INFO] [stdout] | [INFO] [stdout] 502 | ... master_seen = true; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 12.01s [INFO] running `Command { std: "docker" "inspect" "fe8b0a77bb40b1ae3b3178206b968224fd5de99b7746209d9a8b4f37ad022130", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe8b0a77bb40b1ae3b3178206b968224fd5de99b7746209d9a8b4f37ad022130", kill_on_drop: false }` [INFO] [stdout] fe8b0a77bb40b1ae3b3178206b968224fd5de99b7746209d9a8b4f37ad022130 [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=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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4249c73cd819da90782933b15277566dd8fa419e4c0664fa2db9dd23d88f7168 [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" "4249c73cd819da90782933b15277566dd8fa419e4c0664fa2db9dd23d88f7168", kill_on_drop: false }` [INFO] [stderr] warning: the item `RunnyError` is imported redundantly [INFO] [stderr] --> src/unit.rs:262:13 [INFO] [stderr] | [INFO] [stderr] 13 | use self::runny::RunnyError; [INFO] [stderr] | ----------------------- the item `RunnyError` is already imported here [INFO] [stderr] ... [INFO] [stderr] 262 | use self::runny::RunnyError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::mpsc::Receiver` [INFO] [stderr] --> src/terminal.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::sync::mpsc::Receiver; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `units::interface::InterfaceDescription` [INFO] [stderr] --> src/test.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use units::interface::InterfaceDescription; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `units::logger::LoggerDescription` [INFO] [stderr] --> src/test.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use units::logger::LoggerDescription; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `units::trigger::TriggerDescription` [INFO] [stderr] --> src/test.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use units::trigger::TriggerDescription; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/unit.rs:267:64 [INFO] [stderr] | [INFO] [stderr] 267 | write!(f, "Unable to activate unit: {}", e.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/unit.rs:375:58 [INFO] [stderr] | [INFO] [stderr] 375 | write!(f, "unable to open file -- {}", e.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/unit.rs:378:49 [INFO] [stderr] | [INFO] [stderr] 378 | write!(f, "syntax error: {}", e.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/unit.rs:381:53 [INFO] [stderr] | [INFO] [stderr] 381 | write!(f, "time parse error: {}", e.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/unit.rs:388:52 [INFO] [stderr] | [INFO] [stderr] 388 | write!(f, "int parse error: {}", e.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/units/test.rs:386:171 [INFO] [stderr] | [INFO] [stderr] 386 | ...tents::LogError(format!("test daemon raised an error: {}", e.description())))).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `test_max_time` [INFO] [stderr] --> src/units/scenario.rs:621:21 [INFO] [stderr] | [INFO] [stderr] 621 | let test_max_time = self.make_timeout(test_timeout); [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_max_time` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `master_seen` is never read [INFO] [stderr] --> src/test.rs:502:29 [INFO] [stderr] | [INFO] [stderr] 502 | ... master_seen = true; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: 13 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/exclave-5ad12db303338743 [INFO] [stdout] running 6 tests [INFO] [stdout] test test::load_dependency ... ok [INFO] [stdout] test test::basic_scenario ... ok [INFO] [stdout] test test::test_requires ... ok [INFO] [stdout] test test::scenario_execstop ... ok [INFO] [stdout] test test::scenario_execstopsuccess ... ok [INFO] [stdout] test test::scenario_execstopfailure ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::scenario_execstopfailure stdout ---- [INFO] [stdout] Message: Status(UnitStatusEvent { name: UnitName { id: "simpletest", kind: Test }, status: Loaded }) [INFO] [stdout] Message: Status(UnitStatusEvent { name: UnitName { id: "execstopfailure", kind: Scenario }, status: Loaded }) [INFO] [stdout] Message: RescanRequest [INFO] [stdout] Message: RescanStart [INFO] [stdout] Message: Status(UnitStatusEvent { name: UnitName { id: "simpletest", kind: Test }, status: Selected }) [INFO] [stdout] Message: Status(UnitStatusEvent { name: UnitName { id: "execstopfailure", kind: Scenario }, status: Selected }) [INFO] [stdout] Message: RescanFinish [INFO] [stdout] Message: ManagerRequest(ManagerControlMessage { sender: UnitName { id: "execstopfailure", kind: Scenario }, contents: StartScenario(Some(UnitName { id: "execstopfailure", kind: Scenario })) }) [INFO] [stdout] Message: Log(LogEntry { unit: UnitName { id: "execstopfailure", kind: Scenario }, log_type: Info, log_message: "scenario starting", unix_time: 1609950173, unix_time_nsecs: 706622374 }) [INFO] [stdout] Message: Status(UnitStatusEvent { name: UnitName { id: "execstopfailure", kind: Scenario }, status: Active }) [INFO] [stdout] Message: ManagerRequest(ManagerControlMessage { sender: UnitName { id: "execstopfailure", kind: Scenario }, contents: AdvanceScenario(0) }) [INFO] [stdout] Message: ManagerRequest(ManagerControlMessage { sender: UnitName { id: "execstopfailure", kind: Scenario }, contents: StartTest(UnitName { id: "simpletest", kind: Test }) }) [INFO] [stdout] Message: ManagerRequest(ManagerControlMessage { sender: UnitName { id: "simpletest", kind: Test }, contents: TestStarted }) [INFO] [stdout] Message: Status(UnitStatusEvent { name: UnitName { id: "simpletest", kind: Test }, status: Active }) [INFO] [stdout] Message: ManagerRequest(ManagerControlMessage { sender: UnitName { id: "simpletest", kind: Test }, contents: Log("begin") }) [INFO] [stdout] Message: Log(LogEntry { unit: UnitName { id: "simpletest", kind: Test }, log_type: Info, log_message: "begin", unix_time: 1609950173, unix_time_nsecs: 733784111 }) [INFO] [stdout] Message: ManagerRequest(ManagerControlMessage { sender: UnitName { id: "simpletest", kind: Test }, contents: Log("end") }) [INFO] [stdout] Message: Log(LogEntry { unit: UnitName { id: "simpletest", kind: Test }, log_type: Info, log_message: "end", unix_time: 1609950173, unix_time_nsecs: 733847112 }) [INFO] [stdout] Message: ManagerRequest(ManagerControlMessage { sender: UnitName { id: "simpletest", kind: Test }, contents: TestFinished(1, "end") }) [INFO] [stdout] Message: ManagerRequest(ManagerControlMessage { sender: UnitName { id: "simpletest", kind: Test }, contents: AdvanceScenario(1) }) [INFO] [stdout] Message: ManagerRequest(ManagerControlMessage { sender: UnitName { id: "simpletest", kind: Test }, contents: LogError("test failed with nonzero return code: 1") }) [INFO] [stdout] Message: ManagerRequest(ManagerControlMessage { sender: UnitName { id: "execstopfailure", kind: Scenario }, contents: StopTest(UnitName { id: "simpletest", kind: Test }) }) [INFO] [stdout] Message: ManagerRequest(ManagerControlMessage { sender: UnitName { id: "execstopfailure", kind: Scenario }, contents: Log("execstopfailure: starting [/bin/sh -c \"echo \'cmd-starting-failure\'; sleep 1; echo \'cmd-ending-failure\'; exit 0\"]") }) [INFO] [stdout] Message: Log(LogEntry { unit: UnitName { id: "simpletest", kind: Test }, log_type: Error, log_message: "test failed with nonzero return code: 1", unix_time: 1609950173, unix_time_nsecs: 858694578 }) [INFO] [stdout] Message: Status(UnitStatusEvent { name: UnitName { id: "simpletest", kind: Test }, status: DeactivatedSuccessfully("controller requested test stop") }) [INFO] [stdout] Message: Log(LogEntry { unit: UnitName { id: "execstopfailure", kind: Scenario }, log_type: Info, log_message: "execstopfailure: starting [/bin/sh -c \"echo \'cmd-starting-failure\'; sleep 1; echo \'cmd-ending-failure\'; exit 0\"]", unix_time: 1609950173, unix_time_nsecs: 858744479 }) [INFO] [stdout] Message: ManagerRequest(ManagerControlMessage { sender: UnitName { id: "execstopfailure", kind: Scenario }, contents: Log("cmd-starting-failure") }) [INFO] [stdout] Message: Log(LogEntry { unit: UnitName { id: "execstopfailure", kind: Scenario }, log_type: Info, log_message: "cmd-starting-failure", unix_time: 1609950173, unix_time_nsecs: 861990644 }) [INFO] [stdout] Message: ManagerRequest(ManagerControlMessage { sender: UnitName { id: "execstopfailure", kind: Scenario }, contents: AdvanceScenario(0) }) [INFO] [stdout] Message: ManagerRequest(ManagerControlMessage { sender: UnitName { id: "execstopfailure", kind: Scenario }, contents: Log("execstopfailure: finished [/bin/sh -c \"echo \'cmd-starting-failure\'; sleep 1; echo \'cmd-ending-failure\'; exit 0\"]") }) [INFO] [stdout] Message: Log(LogEntry { unit: UnitName { id: "execstopfailure", kind: Scenario }, log_type: Info, log_message: "execstopfailure: finished [/bin/sh -c \"echo \'cmd-starting-failure\'; sleep 1; echo \'cmd-ending-failure\'; exit 0\"]", unix_time: 1609950174, unix_time_nsecs: 861512489 }) [INFO] [stdout] Message: ManagerRequest(ManagerControlMessage { sender: UnitName { id: "execstopfailure", kind: Scenario }, contents: StopTest(UnitName { id: "simpletest", kind: Test }) }) [INFO] [stdout] Message: ManagerRequest(ManagerControlMessage { sender: UnitName { id: "execstopfailure", kind: Scenario }, contents: StopTest(UnitName { id: "execstopfailure", kind: Scenario }) }) [INFO] [stdout] Message: ManagerRequest(ManagerControlMessage { sender: UnitName { id: "execstopfailure", kind: Scenario }, contents: ScenarioFinished(501, "at least one test failed") }) [INFO] [stdout] Message: Log(LogEntry { unit: UnitName { id: "execstopfailure", kind: Scenario }, log_type: Info, log_message: "scenario ended", unix_time: 1609950174, unix_time_nsecs: 861619291 }) [INFO] [stdout] Message: Status(UnitStatusEvent { name: UnitName { id: "execstopfailure", kind: Scenario }, status: DeactivatedSuccessfully("controller requested test stop") }) [INFO] [stdout] thread 'test::scenario_execstopfailure' panicked at 'unit execstopfailure.scenario deactivated before failure script was run (success: controller requested test stop)', src/test.rs:441:25 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5591f2e1c9b0 - std::backtrace_rs::backtrace::libunwind::trace::h04d12fdcddff82aa [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/../../backtrace/src/backtrace/libunwind.rs:100:5 [INFO] [stdout] 1: 0x5591f2e1c9b0 - std::backtrace_rs::backtrace::trace_unsynchronized::h1459b974b6fbe5e1 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5591f2e1c9b0 - std::sys_common::backtrace::_print_fmt::h9b8396a669123d95 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5591f2e1c9b0 - ::fmt::he009dcaaa75eed60 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5591f2e4145c - core::fmt::write::h77b4746b0dea1dd3 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/fmt/mod.rs:1078:17 [INFO] [stdout] 5: 0x5591f2bfafc6 - std::io::Write::write_fmt::h3a40d9c04f88bb58 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/io/mod.rs:1518:15 [INFO] [stdout] 6: 0x5591f2e1641d - std::io::impls::>::write_fmt::h1b3d263673641f53 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/io/impls.rs:179:9 [INFO] [stdout] 7: 0x5591f2e1f0d5 - std::sys_common::backtrace::_print::h2d880c9e69a21be9 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 8: 0x5591f2e1f0d5 - std::sys_common::backtrace::print::h5f02b1bb49f36879 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 9: 0x5591f2e1f0d5 - std::panicking::default_hook::{{closure}}::h658e288a7a809b29 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:208:50 [INFO] [stdout] 10: 0x5591f2e1ed22 - std::panicking::default_hook::hb52d73f0da9a4bb8 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:224:9 [INFO] [stdout] 11: 0x5591f2e1f871 - std::panicking::rust_panic_with_hook::hfe7e1c684e3e6462 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:593:17 [INFO] [stdout] 12: 0x5591f2e1f3b7 - std::panicking::begin_panic_handler::{{closure}}::h42939e004b32765c [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:499:13 [INFO] [stdout] 13: 0x5591f2e1ce6c - std::sys_common::backtrace::__rust_end_short_backtrace::h9d2070f7bf9fd56c [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 14: 0x5591f2e1f319 - rust_begin_unwind [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:495:5 [INFO] [stdout] 15: 0x5591f2e1f2cb - std::panicking::begin_panic_fmt::h4a7e15187eac098d [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:437:5 [INFO] [stdout] 16: 0x5591f2b16e5b - exclave::test::scenario_execstopfailure::he127314130c97190 [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:441:25 [INFO] [stdout] 17: 0x5591f2b1667a - exclave::test::scenario_execstopfailure::{{closure}}::h987a077f44b44ecf [INFO] [stdout] at /opt/rustwide/workdir/src/test.rs:381:1 [INFO] [stdout] 18: 0x5591f2b3e9fe - core::ops::function::FnOnce::call_once::h543f7be7420ac0dd [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x5591f2c22b13 - core::ops::function::FnOnce::call_once::hdbd2235b6243db3d [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x5591f2c22b13 - test::__rust_begin_short_backtrace::hb1dea1c208110812 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/test/src/lib.rs:517:5 [INFO] [stdout] 21: 0x5591f2c20fba - as core::ops::function::FnOnce>::call_once::h5d11a40efef721f2 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/alloc/src/boxed.rs:1307:9 [INFO] [stdout] 22: 0x5591f2c20fba - as core::ops::function::FnOnce<()>>::call_once::h23961df98af0bc5a [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panic.rs:322:9 [INFO] [stdout] 23: 0x5591f2c20fba - std::panicking::try::do_call::h6390646e3de3fb9e [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:381:40 [INFO] [stdout] 24: 0x5591f2c20fba - std::panicking::try::hc531439ab6159192 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:345:19 [INFO] [stdout] 25: 0x5591f2c20fba - std::panic::catch_unwind::h859d8bdaf9b4855c [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panic.rs:396:14 [INFO] [stdout] 26: 0x5591f2c20fba - test::run_test_in_process::hae60aa74417e3abc [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/test/src/lib.rs:544:18 [INFO] [stdout] 27: 0x5591f2c20fba - test::run_test::run_test_inner::{{closure}}::hf48c86652c4a151d [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/test/src/lib.rs:450:39 [INFO] [stdout] 28: 0x5591f2bfa346 - std::sys_common::backtrace::__rust_begin_short_backtrace::hb82b392232b8bd1f [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 29: 0x5591f2bff343 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h79ca9e9abe157956 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/thread/mod.rs:474:17 [INFO] [stdout] 30: 0x5591f2bff343 - as core::ops::function::FnOnce<()>>::call_once::ha12f1f228780a4f7 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panic.rs:322:9 [INFO] [stdout] 31: 0x5591f2bff343 - std::panicking::try::do_call::h722bb7416d021cdc [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:381:40 [INFO] [stdout] 32: 0x5591f2bff343 - std::panicking::try::h78e5abca71ac7cac [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:345:19 [INFO] [stdout] 33: 0x5591f2bff343 - std::panic::catch_unwind::h95162588bd0fa090 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panic.rs:396:14 [INFO] [stdout] 34: 0x5591f2bff343 - std::thread::Builder::spawn_unchecked::{{closure}}::h64da5c4b9acc58dc [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/thread/mod.rs:473:30 [INFO] [stdout] 35: 0x5591f2bff343 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h7a8c588ad0b69edb [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 36: 0x5591f2e2654a - as core::ops::function::FnOnce>::call_once::h09ff301006f1aeca [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/alloc/src/boxed.rs:1307:9 [INFO] [stdout] 37: 0x5591f2e2654a - as core::ops::function::FnOnce>::call_once::he79488c8f00b5f31 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/alloc/src/boxed.rs:1307:9 [INFO] [stdout] 38: 0x5591f2e2654a - std::sys::unix::thread::Thread::new::thread_start::h587efff279c68ba7 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 39: 0x7f991911c609 - start_thread [INFO] [stdout] 40: 0x7f9919283293 - clone [INFO] [stdout] 41: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::scenario_execstopfailure [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin exclave' [INFO] running `Command { std: "docker" "inspect" "4249c73cd819da90782933b15277566dd8fa419e4c0664fa2db9dd23d88f7168", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4249c73cd819da90782933b15277566dd8fa419e4c0664fa2db9dd23d88f7168", kill_on_drop: false }` [INFO] [stdout] 4249c73cd819da90782933b15277566dd8fa419e4c0664fa2db9dd23d88f7168