[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ae3eed5cb6f085a2b9b4535a188a29ee4549e00 [INFO] testing getgauge-contrib/gauge-rust against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgetgauge-contrib%2Fgauge-rust" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/getgauge-contrib/gauge-rust on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-9/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" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-9/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" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac8e021d0cd8073acb5d6252f4006eaf1dcb09294d0a1082f788a5abb50c542d [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" "ac8e021d0cd8073acb5d6252f4006eaf1dcb09294d0a1082f788a5abb50c542d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac8e021d0cd8073acb5d6252f4006eaf1dcb09294d0a1082f788a5abb50c542d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac8e021d0cd8073acb5d6252f4006eaf1dcb09294d0a1082f788a5abb50c542d", kill_on_drop: false }` [INFO] [stdout] ac8e021d0cd8073acb5d6252f4006eaf1dcb09294d0a1082f788a5abb50c542d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f2ec3b532927547b170b66655943306f7c54c02bd8afc9347ef8a2d211b6c77 [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" "7f2ec3b532927547b170b66655943306f7c54c02bd8afc9347ef8a2d211b6c77", kill_on_drop: false }` [INFO] [stderr] Compiling protobuf v1.7.5 [INFO] [stderr] Compiling gauge_rs v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 28.95s [INFO] running `Command { std: "docker" "inspect" "7f2ec3b532927547b170b66655943306f7c54c02bd8afc9347ef8a2d211b6c77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f2ec3b532927547b170b66655943306f7c54c02bd8afc9347ef8a2d211b6c77", kill_on_drop: false }` [INFO] [stdout] 7f2ec3b532927547b170b66655943306f7c54c02bd8afc9347ef8a2d211b6c77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 507122a9c20c5e4a358ac78086819569430aa71e2218b0c73a41beaaeb8e2787 [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" "507122a9c20c5e4a358ac78086819569430aa71e2218b0c73a41beaaeb8e2787", kill_on_drop: false }` [INFO] [stderr] Compiling gauge_rs v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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.32s [INFO] running `Command { std: "docker" "inspect" "507122a9c20c5e4a358ac78086819569430aa71e2218b0c73a41beaaeb8e2787", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "507122a9c20c5e4a358ac78086819569430aa71e2218b0c73a41beaaeb8e2787", kill_on_drop: false }` [INFO] [stdout] 507122a9c20c5e4a358ac78086819569430aa71e2218b0c73a41beaaeb8e2787 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1b50f1520c922516625e5cc5364cfafc76df3908e1e88c9f2287953f664eafd2 [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" "1b50f1520c922516625e5cc5364cfafc76df3908e1e88c9f2287953f664eafd2", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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.05s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/gauge_rs-66353cc6e7eca3da [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] [stderr] Running /opt/rustwide/target/debug/deps/gauge_rs-e41375b906d19e9b [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] running `Command { std: "docker" "inspect" "1b50f1520c922516625e5cc5364cfafc76df3908e1e88c9f2287953f664eafd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b50f1520c922516625e5cc5364cfafc76df3908e1e88c9f2287953f664eafd2", kill_on_drop: false }` [INFO] [stdout] 1b50f1520c922516625e5cc5364cfafc76df3908e1e88c9f2287953f664eafd2