[INFO] cloning repository https://github.com/jlgerber/pes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jlgerber/pes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlgerber%2Fpes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlgerber%2Fpes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb63ab0385ba3ccc01ca74188f9728d713cc9353 [INFO] checking jlgerber/pes against try#18c1d185ac7a6a3bf399296b35e4b2736809a756 for pr-146972 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlgerber%2Fpes" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/jlgerber/pes [INFO] finished tweaking git repo https://github.com/jlgerber/pes [INFO] tweaked toml for git repo https://github.com/jlgerber/pes written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jlgerber/pes on toolchain 18c1d185ac7a6a3bf399296b35e4b2736809a756 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jlgerber/pes already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking jlgerber/pes against try#18c1d185ac7a6a3bf399296b35e4b2736809a756 for pr-146972 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlgerber%2Fpes" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/jlgerber/pes [INFO] finished tweaking git repo https://github.com/jlgerber/pes [INFO] tweaked toml for git repo https://github.com/jlgerber/pes written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jlgerber/pes on toolchain 18c1d185ac7a6a3bf399296b35e4b2736809a756 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jlgerber/pes already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustversion v1.0.4 [INFO] [stderr] Downloaded generator v0.6.24 [INFO] [stderr] Downloaded prettytable-rs v0.8.0 [INFO] [stderr] Downloaded serde_derive v1.0.124 [INFO] [stderr] Downloaded dtoa v0.4.7 [INFO] [stderr] Downloaded anyhow v1.0.39 [INFO] [stderr] Downloaded pubgrub v0.2.0 [INFO] [stderr] Downloaded itertools v0.10.0 [INFO] [stderr] Downloaded syn v1.0.62 [INFO] [stderr] Downloaded lexical-core v0.7.5 [INFO] [stderr] Downloaded libc v0.2.88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13506d2cee1be587593f03d11bc0f99fc71fb7ae53ff0cee951017fc6dd13c87 [INFO] running `Command { std: "docker" "start" "-a" "13506d2cee1be587593f03d11bc0f99fc71fb7ae53ff0cee951017fc6dd13c87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13506d2cee1be587593f03d11bc0f99fc71fb7ae53ff0cee951017fc6dd13c87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13506d2cee1be587593f03d11bc0f99fc71fb7ae53ff0cee951017fc6dd13c87", kill_on_drop: false }` [INFO] [stdout] 13506d2cee1be587593f03d11bc0f99fc71fb7ae53ff0cee951017fc6dd13c87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a736b492f15cf5d6511eb6aea3725bd8771f8aae928bbf73a88ff0f66b3247cf [INFO] running `Command { std: "docker" "start" "-a" "a736b492f15cf5d6511eb6aea3725bd8771f8aae928bbf73a88ff0f66b3247cf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling syn v1.0.62 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling lexical-core v0.7.5 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling anyhow v1.0.39 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Compiling generator v0.6.24 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking users v0.11.0 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking dirs v3.0.1 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking testutils v0.1.0 (/opt/rustwide/workdir/testutils) [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking pubgrub v0.2.0 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Checking pes_core v0.6.0 (/opt/rustwide/workdir/pes_core) [INFO] [stderr] Checking prettytable-rs v0.8.0 [INFO] [stderr] Checking peslib v0.6.0 (/opt/rustwide/workdir/peslib) [INFO] [stderr] Checking dev_manifest_finder v0.6.0 (/opt/rustwide/workdir/dev_manifest_finder) [INFO] [stderr] Checking repo_finder v0.6.0 (/opt/rustwide/workdir/dev_repo_finder) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> peslib/src/repository.rs:223:29 [INFO] [stdout] | [INFO] [stdout] 223 | .filter_map(|x| (if x.exists() { Some(x) } else { None })) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 223 - .filter_map(|x| (if x.exists() { Some(x) } else { None })) [INFO] [stdout] 223 + .filter_map(|x| if x.exists() { Some(x) } else { None }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> peslib/src/repository.rs:223:29 [INFO] [stdout] | [INFO] [stdout] 223 | .filter_map(|x| (if x.exists() { Some(x) } else { None })) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 223 - .filter_map(|x| (if x.exists() { Some(x) } else { None })) [INFO] [stdout] 223 + .filter_map(|x| if x.exists() { Some(x) } else { None }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> peslib/src/manifest.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_requires(&self, target: &str) -> Result, PesError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_requires(&self, target: &str) -> Result>, PesError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> peslib/src/manifest.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn environment(&self) -> indexmap::map::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn environment(&self) -> indexmap::map::Iter<'_, String, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> peslib/src/manifest/package_manifest.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get_requires(&self, target: &str) -> Result, PesError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get_requires(&self, target: &str) -> Result>, PesError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> peslib/src/manifest/package_target.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_all_requires(&self) -> Result, PesError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_all_requires(&self) -> Result>, PesError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> peslib/src/parser.rs:357:42 [INFO] [stdout] | [INFO] [stdout] 357 | fn parse_var<'a>(s: &'a str) -> PNResult<&str, PathToken<'a>> { [INFO] [stdout] | -- ^^^^ -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 357 | fn parse_var<'a>(s: &'a str) -> PNResult<&'a str, PathToken<'a>> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> peslib/src/parser.rs:362:46 [INFO] [stdout] | [INFO] [stdout] 362 | fn parse_relpath<'a>(s: &'a str) -> PNResult<&str, PathToken<'a>> { [INFO] [stdout] | -- ^^^^ -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 362 | fn parse_relpath<'a>(s: &'a str) -> PNResult<&'a str, PathToken<'a>> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> peslib/src/parser.rs:381:46 [INFO] [stdout] | [INFO] [stdout] 381 | fn parse_abspath<'a>(s: &'a str) -> PNResult<&str, PathToken<'a>> { [INFO] [stdout] | -- ^^^^ -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 381 | fn parse_abspath<'a>(s: &'a str) -> PNResult<&'a str, PathToken<'a>> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> peslib/src/repository.rs:117:54 [INFO] [stdout] | [INFO] [stdout] 117 | ... Err(e) => panic!(format!("unable to extract semantic version from {}. Error: {}", version_string.as_str(), e))//s.yield_(Err(... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 117 - Err(e) => panic!(format!("unable to extract semantic version from {}. Error: {}", version_string.as_str(), e))//s.yield_(Err(PesError::InvalidVersion(version_string))) [INFO] [stdout] 117 + Err(e) => panic!("unable to extract semantic version from {}. Error: {}", version_string.as_str(), e)//s.yield_(Err(PesError::InvalidVersion(version_string))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> peslib/src/repository.rs:169:54 [INFO] [stdout] | [INFO] [stdout] 169 | ... Err(e) => panic!(format!("unable to extract semantic version from {}. Error: {}", semver_str.as_str(), e))//s.yield_(Err(PesE... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 169 - Err(e) => panic!(format!("unable to extract semantic version from {}. Error: {}", semver_str.as_str(), e))//s.yield_(Err(PesError::InvalidVersion(version_string))) [INFO] [stdout] 169 + Err(e) => panic!("unable to extract semantic version from {}. Error: {}", semver_str.as_str(), e)//s.yield_(Err(PesError::InvalidVersion(version_string))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> peslib/src/repository.rs:218:65 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn from_plugin(plugin_mgr: &'a PluginMgr) -> Result, PesError> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 218 | pub fn from_plugin(plugin_mgr: &'a PluginMgr) -> Result>, PesError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> peslib/src/solver.rs:318:48 [INFO] [stdout] | [INFO] [stdout] 318 | pub(crate) fn convert_request_str(request: &str) -> Vec { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 318 | pub(crate) fn convert_request_str(request: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pes v0.6.0 (/opt/rustwide/workdir/pes) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> pes/src/utils.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 180 | execve(&env_cmd, &args[..], &c_env_vars[..]).unwrap(); [INFO] [stdout] | ----------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 181 | Ok(()) [INFO] [stdout] | ^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `Infallible`, which is uninhabited [INFO] [stdout] --> pes/src/utils.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | execve(&env_cmd, &args[..], &c_env_vars[..]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> pes/src/utils.rs:325:8 [INFO] [stdout] | [INFO] [stdout] 324 | execve(&env_cmd, &args[..], &c_env_vars[..]).unwrap(); [INFO] [stdout] | ----------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 325 | Ok(()) [INFO] [stdout] | ^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `Infallible`, which is uninhabited [INFO] [stdout] --> pes/src/utils.rs:324:5 [INFO] [stdout] | [INFO] [stdout] 324 | execve(&env_cmd, &args[..], &c_env_vars[..]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> peslib/src/manifest.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_requires(&self, target: &str) -> Result, PesError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_requires(&self, target: &str) -> Result>, PesError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> peslib/src/manifest.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn environment(&self) -> indexmap::map::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 58 | pub fn environment(&self) -> indexmap::map::Iter<'_, String, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> peslib/src/manifest/package_manifest.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get_requires(&self, target: &str) -> Result, PesError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get_requires(&self, target: &str) -> Result>, PesError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> peslib/src/manifest/package_target.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_all_requires(&self) -> Result, PesError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_all_requires(&self) -> Result>, PesError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> peslib/src/parser.rs:357:42 [INFO] [stdout] | [INFO] [stdout] 357 | fn parse_var<'a>(s: &'a str) -> PNResult<&str, PathToken<'a>> { [INFO] [stdout] | -- ^^^^ -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 357 | fn parse_var<'a>(s: &'a str) -> PNResult<&'a str, PathToken<'a>> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> peslib/src/parser.rs:362:46 [INFO] [stdout] | [INFO] [stdout] 362 | fn parse_relpath<'a>(s: &'a str) -> PNResult<&str, PathToken<'a>> { [INFO] [stdout] | -- ^^^^ -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 362 | fn parse_relpath<'a>(s: &'a str) -> PNResult<&'a str, PathToken<'a>> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> peslib/src/parser.rs:381:46 [INFO] [stdout] | [INFO] [stdout] 381 | fn parse_abspath<'a>(s: &'a str) -> PNResult<&str, PathToken<'a>> { [INFO] [stdout] | -- ^^^^ -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 381 | fn parse_abspath<'a>(s: &'a str) -> PNResult<&'a str, PathToken<'a>> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> peslib/src/repository.rs:117:54 [INFO] [stdout] | [INFO] [stdout] 117 | ... Err(e) => panic!(format!("unable to extract semantic version from {}. Error: {}", version_string.as_str(), e))//s.yield_(Err(... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 117 - Err(e) => panic!(format!("unable to extract semantic version from {}. Error: {}", version_string.as_str(), e))//s.yield_(Err(PesError::InvalidVersion(version_string))) [INFO] [stdout] 117 + Err(e) => panic!("unable to extract semantic version from {}. Error: {}", version_string.as_str(), e)//s.yield_(Err(PesError::InvalidVersion(version_string))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> peslib/src/repository.rs:169:54 [INFO] [stdout] | [INFO] [stdout] 169 | ... Err(e) => panic!(format!("unable to extract semantic version from {}. Error: {}", semver_str.as_str(), e))//s.yield_(Err(PesE... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 169 - Err(e) => panic!(format!("unable to extract semantic version from {}. Error: {}", semver_str.as_str(), e))//s.yield_(Err(PesError::InvalidVersion(version_string))) [INFO] [stdout] 169 + Err(e) => panic!("unable to extract semantic version from {}. Error: {}", semver_str.as_str(), e)//s.yield_(Err(PesError::InvalidVersion(version_string))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> peslib/src/repository.rs:218:65 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn from_plugin(plugin_mgr: &'a PluginMgr) -> Result, PesError> { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 218 | pub fn from_plugin(plugin_mgr: &'a PluginMgr) -> Result>, PesError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> peslib/src/solver.rs:318:48 [INFO] [stdout] | [INFO] [stdout] 318 | pub(crate) fn convert_request_str(request: &str) -> Vec { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 318 | pub(crate) fn convert_request_str(request: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> pes/src/bin/pesrun.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | trace!("args {:?}", args); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use log::trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> pes/src/bin/pesrun.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | trace!("args {:?}", args); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use log::trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> pes/src/bin/pesrun.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | trace!("wrapper args {:?}", &args); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use log::trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> pes/src/bin/pesrun.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> pes/src/bin/pesrun.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | trace!("wrapper args {:?}", &args); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use log::trace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> pes/src/bin/pesrun.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> pes/src/utils.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 180 | execve(&env_cmd, &args[..], &c_env_vars[..]).unwrap(); [INFO] [stdout] | ----------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 181 | Ok(()) [INFO] [stdout] | ^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `Infallible`, which is uninhabited [INFO] [stdout] --> pes/src/utils.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | execve(&env_cmd, &args[..], &c_env_vars[..]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> pes/src/utils.rs:325:8 [INFO] [stdout] | [INFO] [stdout] 324 | execve(&env_cmd, &args[..], &c_env_vars[..]).unwrap(); [INFO] [stdout] | ----------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 325 | Ok(()) [INFO] [stdout] | ^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `Infallible`, which is uninhabited [INFO] [stdout] --> pes/src/utils.rs:324:5 [INFO] [stdout] | [INFO] [stdout] 324 | execve(&env_cmd, &args[..], &c_env_vars[..]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> pes/src/cli_opts.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 76 | Shell { [INFO] [stdout] | ----- field in this variant [INFO] [stdout] ... [INFO] [stdout] 79 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubCmds` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_str` found for struct `PathBuf` in the current scope [INFO] [stdout] --> pes/src/bin/pesrun.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | run_cmd(lockfile, cmd.as_str())?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: there's an earlier shadowed binding `cmd` of type `String` that has method `as_str` available [INFO] [stdout] --> pes/src/bin/pesrun.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let cmd = args.pop_front().ok_or_else(|| anyhow!("unable to get pes-run from front of args"))?; [INFO] [stdout] | ^^^ `cmd` of type `String` that has method `as_str` defined earlier here [INFO] [stdout] ... [INFO] [stdout] 54 | let Opt{pkg, cmd, lockfile} = opt; [INFO] [stdout] | --- earlier `cmd` shadowed here with type `PathBuf` [INFO] [stdout] help: there is a method `as_os_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 57 | run_cmd(lockfile, cmd.as_os_str())?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_str` found for struct `PathBuf` in the current scope [INFO] [stdout] --> pes/src/bin/pesrun.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | run_cmd(lockfile, cmd.as_str())?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: there's an earlier shadowed binding `cmd` of type `String` that has method `as_str` available [INFO] [stdout] --> pes/src/bin/pesrun.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let cmd = args.pop_front().ok_or_else(|| anyhow!("unable to get pes-run from front of args"))?; [INFO] [stdout] | ^^^ `cmd` of type `String` that has method `as_str` defined earlier here [INFO] [stdout] ... [INFO] [stdout] 54 | let Opt{pkg, cmd, lockfile} = opt; [INFO] [stdout] | --- earlier `cmd` shadowed here with type `PathBuf` [INFO] [stdout] help: there is a method `as_os_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 57 | run_cmd(lockfile, cmd.as_os_str())?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pes` (bin "pes-run" test) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pes` (bin "pes-run") due to 3 previous errors; 1 warning emitted [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> pes/src/cli_opts.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 76 | Shell { [INFO] [stdout] | ----- field in this variant [INFO] [stdout] ... [INFO] [stdout] 79 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubCmds` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a736b492f15cf5d6511eb6aea3725bd8771f8aae928bbf73a88ff0f66b3247cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a736b492f15cf5d6511eb6aea3725bd8771f8aae928bbf73a88ff0f66b3247cf", kill_on_drop: false }` [INFO] [stdout] a736b492f15cf5d6511eb6aea3725bd8771f8aae928bbf73a88ff0f66b3247cf