[INFO] cloning repository https://github.com/getgauge-contrib/gauge-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/getgauge-contrib/gauge-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgetgauge-contrib%2Fgauge-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgetgauge-contrib%2Fgauge-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ae3eed5cb6f085a2b9b4535a188a29ee4549e00 [INFO] testing getgauge-contrib/gauge-rust against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgetgauge-contrib%2Fgauge-rust" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/getgauge-contrib/gauge-rust on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/getgauge-contrib/gauge-rust [INFO] finished tweaking git repo https://github.com/getgauge-contrib/gauge-rust [INFO] tweaked toml for git repo https://github.com/getgauge-contrib/gauge-rust written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/getgauge-contrib/gauge-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-10/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5fc8eb2c05526877143bc36325ae9c68d9703422a09f16eb72f29ff9c2e9c454 [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" "5fc8eb2c05526877143bc36325ae9c68d9703422a09f16eb72f29ff9c2e9c454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fc8eb2c05526877143bc36325ae9c68d9703422a09f16eb72f29ff9c2e9c454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fc8eb2c05526877143bc36325ae9c68d9703422a09f16eb72f29ff9c2e9c454", kill_on_drop: false }` [INFO] [stdout] 5fc8eb2c05526877143bc36325ae9c68d9703422a09f16eb72f29ff9c2e9c454 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7ac99611c02e9db366a9ccf97dd2993571ae60a350d75278128a4e342cc710f [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" "a7ac99611c02e9db366a9ccf97dd2993571ae60a350d75278128a4e342cc710f", kill_on_drop: false }` [INFO] [stderr] Compiling protobuf v1.7.5 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling gauge_rs v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | try!(fs::create_dir_all(dirpath)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | try!(fs::copy(from, to)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | if try!(fs::metadata(dir)).is_dir() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | for entry in try!(fs::read_dir(dir)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | if try!(fs::metadata(entry.path())).is_dir() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | try!(visit_dirs(&entry.path(), callback)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/common.rs:50:45 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn visit_dirs(dir: &PathBuf, callback: &Fn(&DirEntry)) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&DirEntry)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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/lib.rs:21:90 [INFO] [stdout] | [INFO] [stdout] 21 | Err(why) => panic!("Couldn't open plugin meta file {}: {}", file_path.display(), Error::description(&why)), [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/lib.rs:27:90 [INFO] [stdout] | [INFO] [stdout] 27 | Err(why) => panic!("Couldn't read plugin meta file {}: {}", file_path.display(), Error::description(&why)), [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/lib.rs:32:62 [INFO] [stdout] | [INFO] [stdout] 32 | Err(why) => panic!("Couldn't parse plugin JSON: {}", Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/common.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / lazy_static! { [INFO] [stdout] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stdout] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stdout] 19 | | Ok(d) => d, [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/common.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / lazy_static! { [INFO] [stdout] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stdout] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stdout] 19 | | Ok(d) => d, [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/common.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / lazy_static! { [INFO] [stdout] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stdout] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stdout] 19 | | Ok(d) => d, [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/common.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / lazy_static! { [INFO] [stdout] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stdout] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stdout] 19 | | Ok(d) => d, [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/common.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / lazy_static! { [INFO] [stdout] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stdout] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stdout] 19 | | Ok(d) => d, [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/common.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / lazy_static! { [INFO] [stdout] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stdout] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stdout] 19 | | Ok(d) => d, [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.35s [INFO] running `Command { std: "docker" "inspect" "a7ac99611c02e9db366a9ccf97dd2993571ae60a350d75278128a4e342cc710f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7ac99611c02e9db366a9ccf97dd2993571ae60a350d75278128a4e342cc710f", kill_on_drop: false }` [INFO] [stdout] a7ac99611c02e9db366a9ccf97dd2993571ae60a350d75278128a4e342cc710f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e6cdb77b49784a904052bf201df82963b428a02791effbbe8e22ca16bb4a0e9 [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" "5e6cdb77b49784a904052bf201df82963b428a02791effbbe8e22ca16bb4a0e9", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | try!(fs::create_dir_all(dirpath)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | try!(fs::copy(from, to)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | if try!(fs::metadata(dir)).is_dir() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | for entry in try!(fs::read_dir(dir)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | if try!(fs::metadata(entry.path())).is_dir() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | try!(visit_dirs(&entry.path(), callback)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/common.rs:50:45 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn visit_dirs(dir: &PathBuf, callback: &Fn(&DirEntry)) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&DirEntry)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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/lib.rs:21:90 [INFO] [stdout] | [INFO] [stdout] 21 | Err(why) => panic!("Couldn't open plugin meta file {}: {}", file_path.display(), Error::description(&why)), [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/lib.rs:27:90 [INFO] [stdout] | [INFO] [stdout] 27 | Err(why) => panic!("Couldn't read plugin meta file {}: {}", file_path.display(), Error::description(&why)), [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/lib.rs:32:62 [INFO] [stdout] | [INFO] [stdout] 32 | Err(why) => panic!("Couldn't parse plugin JSON: {}", Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/common.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / lazy_static! { [INFO] [stdout] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stdout] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stdout] 19 | | Ok(d) => d, [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/common.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / lazy_static! { [INFO] [stdout] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stdout] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stdout] 19 | | Ok(d) => d, [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/common.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / lazy_static! { [INFO] [stdout] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stdout] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stdout] 19 | | Ok(d) => d, [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gauge_rs v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/common.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / lazy_static! { [INFO] [stdout] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stdout] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stdout] 19 | | Ok(d) => d, [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/common.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / lazy_static! { [INFO] [stdout] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stdout] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stdout] 19 | | Ok(d) => d, [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/common.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / lazy_static! { [INFO] [stdout] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stdout] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stdout] 19 | | Ok(d) => d, [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | try!(fs::create_dir_all(dirpath)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | try!(fs::copy(from, to)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | if try!(fs::metadata(dir)).is_dir() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | for entry in try!(fs::read_dir(dir)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | if try!(fs::metadata(entry.path())).is_dir() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | try!(visit_dirs(&entry.path(), callback)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/common.rs:50:45 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn visit_dirs(dir: &PathBuf, callback: &Fn(&DirEntry)) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&DirEntry)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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/lib.rs:21:90 [INFO] [stdout] | [INFO] [stdout] 21 | Err(why) => panic!("Couldn't open plugin meta file {}: {}", file_path.display(), Error::description(&why)), [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/lib.rs:27:90 [INFO] [stdout] | [INFO] [stdout] 27 | Err(why) => panic!("Couldn't read plugin meta file {}: {}", file_path.display(), Error::description(&why)), [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/lib.rs:32:62 [INFO] [stdout] | [INFO] [stdout] 32 | Err(why) => panic!("Couldn't parse plugin JSON: {}", Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/common.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / lazy_static! { [INFO] [stdout] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stdout] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stdout] 19 | | Ok(d) => d, [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/common.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / lazy_static! { [INFO] [stdout] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stdout] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stdout] 19 | | Ok(d) => d, [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/common.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / lazy_static! { [INFO] [stdout] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stdout] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stdout] 19 | | Ok(d) => d, [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/common.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / lazy_static! { [INFO] [stdout] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stdout] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stdout] 19 | | Ok(d) => d, [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/common.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / lazy_static! { [INFO] [stdout] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stdout] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stdout] 19 | | Ok(d) => d, [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/common.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / lazy_static! { [INFO] [stdout] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stdout] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stdout] 19 | | Ok(d) => d, [INFO] [stdout] ... | [INFO] [stdout] 28 | | }; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.24s [INFO] running `Command { std: "docker" "inspect" "5e6cdb77b49784a904052bf201df82963b428a02791effbbe8e22ca16bb4a0e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e6cdb77b49784a904052bf201df82963b428a02791effbbe8e22ca16bb4a0e9", kill_on_drop: false }` [INFO] [stdout] 5e6cdb77b49784a904052bf201df82963b428a02791effbbe8e22ca16bb4a0e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 479f8bd207babd0ad39b6a3431e22dbd4e98e2c51a4832e37b6b9d359f0d0425 [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" "479f8bd207babd0ad39b6a3431e22dbd4e98e2c51a4832e37b6b9d359f0d0425", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/common.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | try!(fs::create_dir_all(dirpath)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/common.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | try!(fs::copy(from, to)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/common.rs:51:8 [INFO] [stderr] | [INFO] [stderr] 51 | if try!(fs::metadata(dir)).is_dir() { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/common.rs:52:22 [INFO] [stderr] | [INFO] [stderr] 52 | for entry in try!(fs::read_dir(dir)) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/common.rs:53:25 [INFO] [stderr] | [INFO] [stderr] 53 | let entry = try!(entry); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/common.rs:54:16 [INFO] [stderr] | [INFO] [stderr] 54 | if try!(fs::metadata(entry.path())).is_dir() { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/common.rs:55:17 [INFO] [stderr] | [INFO] [stderr] 55 | try!(visit_dirs(&entry.path(), callback)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/common.rs:50:45 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn visit_dirs(dir: &PathBuf, callback: &Fn(&DirEntry)) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&DirEntry)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` 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/lib.rs:21:90 [INFO] [stderr] | [INFO] [stderr] 21 | Err(why) => panic!("Couldn't open plugin meta file {}: {}", file_path.display(), Error::description(&why)), [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/lib.rs:27:90 [INFO] [stderr] | [INFO] [stderr] 27 | Err(why) => panic!("Couldn't read plugin meta file {}: {}", file_path.display(), Error::description(&why)), [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/lib.rs:32:62 [INFO] [stderr] | [INFO] [stderr] 32 | Err(why) => panic!("Couldn't parse plugin JSON: {}", Error::description(&why)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/common.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / lazy_static! { [INFO] [stderr] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stderr] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stderr] 19 | | Ok(d) => d, [INFO] [stderr] ... | [INFO] [stderr] 28 | | }; [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/common.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / lazy_static! { [INFO] [stderr] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stderr] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stderr] 19 | | Ok(d) => d, [INFO] [stderr] ... | [INFO] [stderr] 28 | | }; [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/common.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / lazy_static! { [INFO] [stderr] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stderr] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stderr] 19 | | Ok(d) => d, [INFO] [stderr] ... | [INFO] [stderr] 28 | | }; [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/common.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / lazy_static! { [INFO] [stderr] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stderr] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stderr] 19 | | Ok(d) => d, [INFO] [stderr] ... | [INFO] [stderr] 28 | | }; [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/common.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / lazy_static! { [INFO] [stderr] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stderr] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stderr] 19 | | Ok(d) => d, [INFO] [stderr] ... | [INFO] [stderr] 28 | | }; [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/common.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / lazy_static! { [INFO] [stderr] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stderr] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stderr] 19 | | Ok(d) => d, [INFO] [stderr] ... | [INFO] [stderr] 28 | | }; [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 17 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/common.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | try!(fs::create_dir_all(dirpath)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/common.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | try!(fs::copy(from, to)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/common.rs:51:8 [INFO] [stderr] | [INFO] [stderr] 51 | if try!(fs::metadata(dir)).is_dir() { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/common.rs:52:22 [INFO] [stderr] | [INFO] [stderr] 52 | for entry in try!(fs::read_dir(dir)) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/common.rs:53:25 [INFO] [stderr] | [INFO] [stderr] 53 | let entry = try!(entry); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/common.rs:54:16 [INFO] [stderr] | [INFO] [stderr] 54 | if try!(fs::metadata(entry.path())).is_dir() { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/common.rs:55:17 [INFO] [stderr] | [INFO] [stderr] 55 | try!(visit_dirs(&entry.path(), callback)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/common.rs:50:45 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn visit_dirs(dir: &PathBuf, callback: &Fn(&DirEntry)) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&DirEntry)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` 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/lib.rs:21:90 [INFO] [stderr] | [INFO] [stderr] 21 | Err(why) => panic!("Couldn't open plugin meta file {}: {}", file_path.display(), Error::description(&why)), [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/lib.rs:27:90 [INFO] [stderr] | [INFO] [stderr] 27 | Err(why) => panic!("Couldn't read plugin meta file {}: {}", file_path.display(), Error::description(&why)), [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/lib.rs:32:62 [INFO] [stderr] | [INFO] [stderr] 32 | Err(why) => panic!("Couldn't parse plugin JSON: {}", Error::description(&why)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/common.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / lazy_static! { [INFO] [stderr] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stderr] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stderr] 19 | | Ok(d) => d, [INFO] [stderr] ... | [INFO] [stderr] 28 | | }; [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/common.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / lazy_static! { [INFO] [stderr] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stderr] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stderr] 19 | | Ok(d) => d, [INFO] [stderr] ... | [INFO] [stderr] 28 | | }; [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/common.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / lazy_static! { [INFO] [stderr] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stderr] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stderr] 19 | | Ok(d) => d, [INFO] [stderr] ... | [INFO] [stderr] 28 | | }; [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/common.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / lazy_static! { [INFO] [stderr] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stderr] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stderr] 19 | | Ok(d) => d, [INFO] [stderr] ... | [INFO] [stderr] 28 | | }; [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/common.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / lazy_static! { [INFO] [stderr] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stderr] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stderr] 19 | | Ok(d) => d, [INFO] [stderr] ... | [INFO] [stderr] 28 | | }; [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/common.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / lazy_static! { [INFO] [stderr] 17 | | pub static ref PROJECT_ROOT: PathBuf = PathBuf::from(env_var("GAUGE_PROJECT_ROOT")); [INFO] [stderr] 18 | | pub static ref PLUGIN_SOURCE: PathBuf = match env::current_dir() { [INFO] [stderr] 19 | | Ok(d) => d, [INFO] [stderr] ... | [INFO] [stderr] 28 | | }; [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 17 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/gauge_rs-5491900ce7fb825d [INFO] [stderr] Running /opt/rustwide/target/debug/deps/gauge_rs-de729486c41e69ae [INFO] [stderr] Doc-tests gauge_rs [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 [INFO] [stdout] [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 [INFO] [stdout] [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "479f8bd207babd0ad39b6a3431e22dbd4e98e2c51a4832e37b6b9d359f0d0425", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "479f8bd207babd0ad39b6a3431e22dbd4e98e2c51a4832e37b6b9d359f0d0425", kill_on_drop: false }` [INFO] [stdout] 479f8bd207babd0ad39b6a3431e22dbd4e98e2c51a4832e37b6b9d359f0d0425