[INFO] cloning repository https://github.com/jlyonsmith/stampver-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jlyonsmith/stampver-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlyonsmith%2Fstampver-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlyonsmith%2Fstampver-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 76da227d68d7712bdb17e88a6fdb4c3e20e1ccb1 [INFO] testing jlyonsmith/stampver-rs against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlyonsmith%2Fstampver-rs" "/workspace/builds/worker-36/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-36/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jlyonsmith/stampver-rs on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jlyonsmith/stampver-rs [INFO] finished tweaking git repo https://github.com/jlyonsmith/stampver-rs [INFO] tweaked toml for git repo https://github.com/jlyonsmith/stampver-rs written to /workspace/builds/worker-36/source/Cargo.toml [INFO] crate git repo https://github.com/jlyonsmith/stampver-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbda5482454c36e792d84e1b005b6a7df84bb2df919b3d75684502f343af7a71 [INFO] running `Command { std: "docker" "start" "-a" "fbda5482454c36e792d84e1b005b6a7df84bb2df919b3d75684502f343af7a71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbda5482454c36e792d84e1b005b6a7df84bb2df919b3d75684502f343af7a71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbda5482454c36e792d84e1b005b6a7df84bb2df919b3d75684502f343af7a71", kill_on_drop: false }` [INFO] [stdout] fbda5482454c36e792d84e1b005b6a7df84bb2df919b3d75684502f343af7a71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb98b26e84e498de41cc0c8125a7e8316302b68e38cba52c53506e4dd7dca95f [INFO] running `Command { std: "docker" "start" "-a" "eb98b26e84e498de41cc0c8125a7e8316302b68e38cba52c53506e4dd7dca95f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: invalid feature `cli` in required-features of target `stampver`: `cli` is not present in [features] section [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling evalexpr v6.5.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling json5_nodes v0.1.3 [INFO] [stderr] Compiling stampver v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `!` or `::`, found `:` [INFO] [stdout] --> src/config.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) OPERATION: &str = "OPERATION", [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `run` is defined multiple times [INFO] [stdout] --> src/run.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn run() -> Result<(), i32> { [INFO] [stdout] | ------------------------------- previous definition of the value `run` here [INFO] [stdout] ... [INFO] [stdout] 335 | pub fn run(operation: &str, input_file: Option<&str>, update: bool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `run` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `run` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/run.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | info!("Parsing command line arguments…"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] log::info [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `json5` [INFO] [stdout] --> src/run.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | json5::from_str::(content)?; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `json5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> src/run.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let app = Config::app(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Loader` [INFO] [stdout] --> src/run.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | let loader = Loader::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Loader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Verbosity` [INFO] [stdout] --> src/run.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | let mut verbosity = Verbosity::default(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Verbosity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> src/run.rs:88:3 [INFO] [stdout] | [INFO] [stdout] 88 | Config::from_matches(&matches) [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/run.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | Action::Update(replacements) => { [INFO] [stdout] | ^^^^^^ use of undeclared type `Action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/run.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | Action::CopyFrom(from_expr) => { [INFO] [stdout] | ^^^^^^ use of undeclared type `Action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/run.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | Action::Write(file_content) => { [INFO] [stdout] | ^^^^^^ use of undeclared type `Action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VersionTarget` in this scope [INFO] [stdout] --> src/run.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct VersionInfo<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, VersionTarget` [INFO] [stdout] ... [INFO] [stdout] 56 | pub targets: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/run.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | let mut color = Color::auto(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use colored::Color; [INFO] [stdout] | [INFO] [stdout] 3 | use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXIT_FAILURE` in this scope [INFO] [stdout] --> src/run.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | error.code().unwrap_or(EXIT_FAILURE) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VarType` in this scope [INFO] [stdout] --> src/run.rs:307:29 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn update_version_content( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 307 | let vars: HashMap; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WalkDir` [INFO] [stdout] --> src/run.rs:341:20 [INFO] [stdout] | [INFO] [stdout] 341 | for entry in WalkDir::new(".") { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use walkdir::WalkDir; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_version_file` in this scope [INFO] [stdout] --> src/run.rs:364:22 [INFO] [stdout] | [INFO] [stdout] 364 | let version_info = read_version_file(&content)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `version_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0726]: implicit elided lifetime not allowed here [INFO] [stdout] --> src/run.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | impl VersionInfo { [INFO] [stdout] | ^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` [INFO] [stdout] | [INFO] [stdout] = note: assuming a `'static` lifetime... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config` [INFO] [stdout] --> src/common.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) use crate::config; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword [INFO] [stdout] --> src/run.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | .map_err(Error::from) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `dyn` keyword before this trait [INFO] [stdout] | [INFO] [stdout] 89 | .map_err(::from) [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn std::error::Error` cannot be known at compilation time [INFO] [stdout] --> src/run.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | .map_err(Error::from) [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn std::error::Error` [INFO] [stdout] note: required by a bound in `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `vars` on type `&VersionInfo<'_>` [INFO] [stdout] --> src/run.rs:107:43 [INFO] [stdout] | [INFO] [stdout] 107 | for (identifier, value) in version_info.vars.iter() { [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `vars_node`, `calc_vars_node`, `operations_node`, `targets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `calc_vars` on type `&VersionInfo<'_>` [INFO] [stdout] --> src/run.rs:145:43 [INFO] [stdout] | [INFO] [stdout] 145 | for (identifier, value) in version_info.calc_vars.iter() { [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `vars_node`, `calc_vars_node`, `operations_node`, `targets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/run.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | for (identifier, value) in version_info.calc_vars.iter() { [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `operations` on type `&VersionInfo<'_>` [INFO] [stdout] --> src/run.rs:160:37 [INFO] [stdout] | [INFO] [stdout] 160 | if let Some(value) = version_info.operations.get(operation) { [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `vars_node`, `calc_vars_node`, `operations_node`, `targets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/run.rs:160:15 [INFO] [stdout] | [INFO] [stdout] 160 | if let Some(value) = version_info.operations.get(operation) { [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/run.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | if let Some(value) = version_info.operations.get(operation) { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `Some` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `vars` on type `VersionInfo<'_>` [INFO] [stdout] --> src/run.rs:376:59 [INFO] [stdout] | [INFO] [stdout] 376 | content = update_version_content(content, &version_info.vars, &context)?; [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `vars_node`, `calc_vars_node`, `operations_node`, `targets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/run.rs:376:13 [INFO] [stdout] | [INFO] [stdout] 376 | content = update_version_content(content, &version_info.vars, &context)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ------- ------------------ -------- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/run.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn update_version_content( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 302 | content: String, [INFO] [stdout] | --------------- [INFO] [stdout] 303 | context: &HashMapContext, [INFO] [stdout] | ------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 28 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0412, E0425, E0428, E0433, E0609, E0782. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stampver` due to 29 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "eb98b26e84e498de41cc0c8125a7e8316302b68e38cba52c53506e4dd7dca95f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb98b26e84e498de41cc0c8125a7e8316302b68e38cba52c53506e4dd7dca95f", kill_on_drop: false }` [INFO] [stdout] eb98b26e84e498de41cc0c8125a7e8316302b68e38cba52c53506e4dd7dca95f