[INFO] cloning repository https://github.com/tmccombs/dopen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tmccombs/dopen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmccombs%2Fdopen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmccombs%2Fdopen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e48f350e558313841e271ed6ff99953cba879ed [INFO] testing tmccombs/dopen against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmccombs%2Fdopen" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tmccombs/dopen on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tmccombs/dopen [INFO] finished tweaking git repo https://github.com/tmccombs/dopen [INFO] tweaked toml for git repo https://github.com/tmccombs/dopen written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/tmccombs/dopen already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e93e01f5d38c23427c6bc35bc99a21215bfe8600115d1bc4294ab65e272f35e [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" "7e93e01f5d38c23427c6bc35bc99a21215bfe8600115d1bc4294ab65e272f35e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e93e01f5d38c23427c6bc35bc99a21215bfe8600115d1bc4294ab65e272f35e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e93e01f5d38c23427c6bc35bc99a21215bfe8600115d1bc4294ab65e272f35e", kill_on_drop: false }` [INFO] [stdout] 7e93e01f5d38c23427c6bc35bc99a21215bfe8600115d1bc4294ab65e272f35e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be1d4171695e038a53987fd272c5afebe8e87ea0ea59d4c078d5fc414cf7122c [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" "be1d4171695e038a53987fd272c5afebe8e87ea0ea59d4c078d5fc414cf7122c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.32 [INFO] [stderr] Compiling lazy_static v0.2.9 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling regex v0.2.2 [INFO] [stderr] Compiling nom v3.2.0 [INFO] [stderr] Compiling dopen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/desktop/error.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/desktop/entries.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/desktop/execute.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | / lazy_static! { [INFO] [stdout] 113 | | static ref FLAG_RE: Regex = Regex::new("%.").unwrap(); [INFO] [stdout] 114 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/desktop/execute.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | / lazy_static! { [INFO] [stdout] 113 | | static ref FLAG_RE: Regex = Regex::new("%.").unwrap(); [INFO] [stdout] 114 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/desktop/model.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/desktop/parser.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | use std::ascii::AsciiExt; [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/desktop/parser.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / named!(entry_key, map!(re_bytes_find_static!(KEY_RE), |name| { [INFO] [stdout] 83 | | use std::ascii::AsciiExt; [INFO] [stdout] 84 | | // regex already garantees name is ascii [INFO] [stdout] 85 | | let mut s = unsafe { str::from_utf8_unchecked(name).to_owned() }; [INFO] [stdout] ... | [INFO] [stdout] 88 | | s [INFO] [stdout] 89 | | })); [INFO] [stdout] | |____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/desktop/parser.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / named!(entry_key, map!(re_bytes_find_static!(KEY_RE), |name| { [INFO] [stdout] 83 | | use std::ascii::AsciiExt; [INFO] [stdout] 84 | | // regex already garantees name is ascii [INFO] [stdout] 85 | | let mut s = unsafe { str::from_utf8_unchecked(name).to_owned() }; [INFO] [stdout] ... | [INFO] [stdout] 88 | | s [INFO] [stdout] 89 | | })); [INFO] [stdout] | |____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [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/desktop/error.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | IO(ref err) => err.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/desktop/model.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/desktop/parser.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `entry` [INFO] [stdout] --> src/desktop/execute.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | entry: &'a DesktopEntry, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.76s [INFO] running `Command { std: "docker" "inspect" "be1d4171695e038a53987fd272c5afebe8e87ea0ea59d4c078d5fc414cf7122c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be1d4171695e038a53987fd272c5afebe8e87ea0ea59d4c078d5fc414cf7122c", kill_on_drop: false }` [INFO] [stdout] be1d4171695e038a53987fd272c5afebe8e87ea0ea59d4c078d5fc414cf7122c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9abeac5c2673e80783487e75dde4df28dfbf63fd2517a93be42dbbd402801d1d [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" "9abeac5c2673e80783487e75dde4df28dfbf63fd2517a93be42dbbd402801d1d", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/desktop/error.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/desktop/entries.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/desktop/execute.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | / lazy_static! { [INFO] [stdout] 113 | | static ref FLAG_RE: Regex = Regex::new("%.").unwrap(); [INFO] [stdout] 114 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/desktop/execute.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | / lazy_static! { [INFO] [stdout] 113 | | static ref FLAG_RE: Regex = Regex::new("%.").unwrap(); [INFO] [stdout] 114 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/desktop/model.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/desktop/parser.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | use std::ascii::AsciiExt; [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/desktop/parser.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / named!(entry_key, map!(re_bytes_find_static!(KEY_RE), |name| { [INFO] [stdout] 83 | | use std::ascii::AsciiExt; [INFO] [stdout] 84 | | // regex already garantees name is ascii [INFO] [stdout] 85 | | let mut s = unsafe { str::from_utf8_unchecked(name).to_owned() }; [INFO] [stdout] ... | [INFO] [stdout] 88 | | s [INFO] [stdout] 89 | | })); [INFO] [stdout] | |____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dopen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/desktop/parser.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / named!(entry_key, map!(re_bytes_find_static!(KEY_RE), |name| { [INFO] [stdout] 83 | | use std::ascii::AsciiExt; [INFO] [stdout] 84 | | // regex already garantees name is ascii [INFO] [stdout] 85 | | let mut s = unsafe { str::from_utf8_unchecked(name).to_owned() }; [INFO] [stdout] ... | [INFO] [stdout] 88 | | s [INFO] [stdout] 89 | | })); [INFO] [stdout] | |____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [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/desktop/error.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | IO(ref err) => err.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/desktop/model.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/desktop/parser.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `entry` [INFO] [stdout] --> src/desktop/execute.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | entry: &'a DesktopEntry, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/desktop/error.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/desktop/entries.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/desktop/execute.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | / lazy_static! { [INFO] [stdout] 113 | | static ref FLAG_RE: Regex = Regex::new("%.").unwrap(); [INFO] [stdout] 114 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/desktop/execute.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | / lazy_static! { [INFO] [stdout] 113 | | static ref FLAG_RE: Regex = Regex::new("%.").unwrap(); [INFO] [stdout] 114 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/desktop/model.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/desktop/parser.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | use std::ascii::AsciiExt; [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/desktop/parser.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / named!(entry_key, map!(re_bytes_find_static!(KEY_RE), |name| { [INFO] [stdout] 83 | | use std::ascii::AsciiExt; [INFO] [stdout] 84 | | // regex already garantees name is ascii [INFO] [stdout] 85 | | let mut s = unsafe { str::from_utf8_unchecked(name).to_owned() }; [INFO] [stdout] ... | [INFO] [stdout] 88 | | s [INFO] [stdout] 89 | | })); [INFO] [stdout] | |____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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/desktop/parser.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / named!(entry_key, map!(re_bytes_find_static!(KEY_RE), |name| { [INFO] [stdout] 83 | | use std::ascii::AsciiExt; [INFO] [stdout] 84 | | // regex already garantees name is ascii [INFO] [stdout] 85 | | let mut s = unsafe { str::from_utf8_unchecked(name).to_owned() }; [INFO] [stdout] ... | [INFO] [stdout] 88 | | s [INFO] [stdout] 89 | | })); [INFO] [stdout] | |____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [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/desktop/error.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | IO(ref err) => err.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/desktop/model.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/desktop/parser.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `entry` [INFO] [stdout] --> src/desktop/execute.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | entry: &'a DesktopEntry, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.12s [INFO] running `Command { std: "docker" "inspect" "9abeac5c2673e80783487e75dde4df28dfbf63fd2517a93be42dbbd402801d1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9abeac5c2673e80783487e75dde4df28dfbf63fd2517a93be42dbbd402801d1d", kill_on_drop: false }` [INFO] [stdout] 9abeac5c2673e80783487e75dde4df28dfbf63fd2517a93be42dbbd402801d1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 45719a4026f2f35268c739c7788f46ae65eb027fa686cc865d04ff3220a5aede [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" "45719a4026f2f35268c739c7788f46ae65eb027fa686cc865d04ff3220a5aede", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/desktop/error.rs:36:32 [INFO] [stderr] | [INFO] [stderr] 36 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` is ignored on function prototypes [INFO] [stderr] --> src/desktop/entries.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | #[inline(always)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/desktop/execute.rs:112:5 [INFO] [stderr] | [INFO] [stderr] 112 | / lazy_static! { [INFO] [stderr] 113 | | static ref FLAG_RE: Regex = Regex::new("%.").unwrap(); [INFO] [stderr] 114 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (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/desktop/execute.rs:112:5 [INFO] [stderr] | [INFO] [stderr] 112 | / lazy_static! { [INFO] [stderr] 113 | | static ref FLAG_RE: Regex = Regex::new("%.").unwrap(); [INFO] [stderr] 114 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/desktop/model.rs:41:13 [INFO] [stderr] | [INFO] [stderr] 41 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/desktop/parser.rs:83:9 [INFO] [stderr] | [INFO] [stderr] 83 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/desktop/parser.rs:82:1 [INFO] [stderr] | [INFO] [stderr] 82 | / named!(entry_key, map!(re_bytes_find_static!(KEY_RE), |name| { [INFO] [stderr] 83 | | use std::ascii::AsciiExt; [INFO] [stderr] 84 | | // regex already garantees name is ascii [INFO] [stderr] 85 | | let mut s = unsafe { str::from_utf8_unchecked(name).to_owned() }; [INFO] [stderr] ... | [INFO] [stderr] 88 | | s [INFO] [stderr] 89 | | })); [INFO] [stderr] | |____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (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/desktop/parser.rs:82:1 [INFO] [stderr] | [INFO] [stderr] 82 | / named!(entry_key, map!(re_bytes_find_static!(KEY_RE), |name| { [INFO] [stderr] 83 | | use std::ascii::AsciiExt; [INFO] [stderr] 84 | | // regex already garantees name is ascii [INFO] [stderr] 85 | | let mut s = unsafe { str::from_utf8_unchecked(name).to_owned() }; [INFO] [stderr] ... | [INFO] [stderr] 88 | | s [INFO] [stderr] 89 | | })); [INFO] [stderr] | |____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/desktop/error.rs:32:32 [INFO] [stderr] | [INFO] [stderr] 32 | IO(ref err) => err.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/desktop/model.rs:41:13 [INFO] [stderr] | [INFO] [stderr] 41 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/desktop/parser.rs:83:9 [INFO] [stderr] | [INFO] [stderr] 83 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `entry` [INFO] [stderr] --> src/desktop/execute.rs:137:5 [INFO] [stderr] | [INFO] [stderr] 137 | entry: &'a DesktopEntry, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 12 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/desktop/error.rs:36:32 [INFO] [stderr] | [INFO] [stderr] 36 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` is ignored on function prototypes [INFO] [stderr] --> src/desktop/entries.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | #[inline(always)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/desktop/execute.rs:112:5 [INFO] [stderr] | [INFO] [stderr] 112 | / lazy_static! { [INFO] [stderr] 113 | | static ref FLAG_RE: Regex = Regex::new("%.").unwrap(); [INFO] [stderr] 114 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (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/desktop/execute.rs:112:5 [INFO] [stderr] | [INFO] [stderr] 112 | / lazy_static! { [INFO] [stderr] 113 | | static ref FLAG_RE: Regex = Regex::new("%.").unwrap(); [INFO] [stderr] 114 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/desktop/model.rs:41:13 [INFO] [stderr] | [INFO] [stderr] 41 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/desktop/parser.rs:83:9 [INFO] [stderr] | [INFO] [stderr] 83 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/desktop/parser.rs:82:1 [INFO] [stderr] | [INFO] [stderr] 82 | / named!(entry_key, map!(re_bytes_find_static!(KEY_RE), |name| { [INFO] [stderr] 83 | | use std::ascii::AsciiExt; [INFO] [stderr] 84 | | // regex already garantees name is ascii [INFO] [stderr] 85 | | let mut s = unsafe { str::from_utf8_unchecked(name).to_owned() }; [INFO] [stderr] ... | [INFO] [stderr] 88 | | s [INFO] [stderr] 89 | | })); [INFO] [stderr] | |____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (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/desktop/parser.rs:82:1 [INFO] [stderr] | [INFO] [stderr] 82 | / named!(entry_key, map!(re_bytes_find_static!(KEY_RE), |name| { [INFO] [stderr] 83 | | use std::ascii::AsciiExt; [INFO] [stderr] 84 | | // regex already garantees name is ascii [INFO] [stderr] 85 | | let mut s = unsafe { str::from_utf8_unchecked(name).to_owned() }; [INFO] [stderr] ... | [INFO] [stderr] 88 | | s [INFO] [stderr] 89 | | })); [INFO] [stderr] | |____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/desktop/error.rs:32:32 [INFO] [stderr] | [INFO] [stderr] 32 | IO(ref err) => err.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/desktop/model.rs:41:13 [INFO] [stderr] | [INFO] [stderr] 41 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/desktop/parser.rs:83:9 [INFO] [stderr] | [INFO] [stderr] 83 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `entry` [INFO] [stderr] --> src/desktop/execute.rs:137:5 [INFO] [stderr] | [INFO] [stderr] 137 | entry: &'a DesktopEntry, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 12 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/libdopen-839978e8182de588) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test desktop::entries::tests::split_value_str_escape_test ... ok [INFO] [stdout] test desktop::entries::tests::split_value_str_test ... ok [INFO] [stdout] test desktop::entries::tests::unescape_value_test ... ok [INFO] [stdout] test desktop::parser::test::entry_test ... ok [INFO] [stdout] test desktop::parser::test::entry_value_test_escapes ... ok [INFO] [stdout] test desktop::parser::test::entry_value_test_invalid_utf8 ... ok [INFO] [stdout] test desktop::parser::test::entry_value_test_empty ... ok [INFO] [stdout] test desktop::parser::test::parse_test ... ok [INFO] [stdout] test desktop::parser::test::entry_key_test_locales ... ok [INFO] [stdout] test desktop::parser::test::entry_value_test_basic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests libdopen [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "45719a4026f2f35268c739c7788f46ae65eb027fa686cc865d04ff3220a5aede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45719a4026f2f35268c739c7788f46ae65eb027fa686cc865d04ff3220a5aede", kill_on_drop: false }` [INFO] [stdout] 45719a4026f2f35268c739c7788f46ae65eb027fa686cc865d04ff3220a5aede