[INFO] cloning repository https://github.com/raftario/bm2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raftario/bm2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraftario%2Fbm2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraftario%2Fbm2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04ce87ab173a29b3499137fcf2a5185bf5813582 [INFO] checking raftario/bm2 against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraftario%2Fbm2" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/raftario/bm2 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/raftario/bm2 [INFO] removed workspace from git repo https://github.com/raftario/bm2 [INFO] removed path dependency manifest from git repo https://github.com/raftario/bm2 [INFO] finished tweaking git repo https://github.com/raftario/bm2 [INFO] tweaked toml for git repo https://github.com/raftario/bm2 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/raftario/bm2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (manifest) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-10/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/raftario/semver_rs` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (manifest) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6442c6798958086e2c7b5570dd90731af4d139972afbd5d530b0a2152250c7d1 [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" "6442c6798958086e2c7b5570dd90731af4d139972afbd5d530b0a2152250c7d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6442c6798958086e2c7b5570dd90731af4d139972afbd5d530b0a2152250c7d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6442c6798958086e2c7b5570dd90731af4d139972afbd5d530b0a2152250c7d1", kill_on_drop: false }` [INFO] [stdout] 6442c6798958086e2c7b5570dd90731af4d139972afbd5d530b0a2152250c7d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 354d5c0c71aeec4658b50e290338e714c259141eb643e39e9b2aef7d7add97f5 [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" "354d5c0c71aeec4658b50e290338e714c259141eb643e39e9b2aef7d7add97f5", kill_on_drop: false }` [INFO] [stderr] warning: dependency (manifest) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Checking semver v0.9.0 (https://github.com/raftario/semver_rs?branch=minmax#7bc29882) [INFO] [stderr] Checking terminal_size v0.1.15 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking openssl v0.10.30 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tokio v0.2.23 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking console v0.13.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking console v0.10.3 [INFO] [stderr] Checking console v0.9.2 [INFO] [stderr] Compiling structopt-derive v0.4.13 [INFO] [stderr] Checking indicatif v0.13.0 [INFO] [stderr] Checking dialoguer v0.5.1 [INFO] [stderr] Checking zip v0.5.8 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking time v0.2.22 [INFO] [stderr] Checking native-tls v0.2.6 [INFO] [stderr] Checking cookie v0.14.3 [INFO] [stderr] Checking structopt v0.3.20 [INFO] [stderr] Checking cookie_store v0.12.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.8 [INFO] [stderr] Checking bm2 v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `manifest` [INFO] [stdout] --> src/commands/init.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use manifest::{Manifest, SCHEMA}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `manifest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `manifest` [INFO] [stdout] --> src/commands/migrate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use manifest::{Manifest, OldManifest}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `manifest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `manifest` [INFO] [stdout] --> src/commands/publish.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use manifest::Manifest; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `manifest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `manifest` [INFO] [stdout] --> src/utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use manifest::{Manifest, ValidityError, DESCRIPTION_REGEX, ID_REGEX, NAME_REGEX}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `manifest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `manifest` [INFO] [stdout] --> src/commands/init.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use manifest::{Manifest, SCHEMA}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `manifest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `manifest` [INFO] [stdout] --> src/commands/migrate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use manifest::{Manifest, OldManifest}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `manifest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `manifest` [INFO] [stdout] --> src/commands/publish.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use manifest::Manifest; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `manifest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `manifest` [INFO] [stdout] --> src/utils.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use manifest::{Manifest, ValidityError, DESCRIPTION_REGEX, ID_REGEX, NAME_REGEX}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `manifest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/commands/init.rs:47:67 [INFO] [stdout] | [INFO] [stdout] 47 | .unwrap_or(Input::new().with_prompt("ID").interact_on(&*TERM_ERR)?); [INFO] [stdout] | ^^^^^^^^^^ expected struct `console::term::Term`, found struct `Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&Term` [INFO] [stdout] = note: perhaps two different versions of crate `console` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/commands/init.rs:47:67 [INFO] [stdout] | [INFO] [stdout] 47 | .unwrap_or(Input::new().with_prompt("ID").interact_on(&*TERM_ERR)?); [INFO] [stdout] | ^^^^^^^^^^ expected struct `console::term::Term`, found struct `Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&Term` [INFO] [stdout] = note: perhaps two different versions of crate `console` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/commands/init.rs:50:69 [INFO] [stdout] | [INFO] [stdout] 50 | .unwrap_or(Input::new().with_prompt("Name").interact_on(&*TERM_ERR)?); [INFO] [stdout] | ^^^^^^^^^^ expected struct `console::term::Term`, found struct `Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&Term` [INFO] [stdout] = note: perhaps two different versions of crate `console` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/commands/init.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | .interact_on(&*TERM_ERR)?; [INFO] [stdout] | ^^^^^^^^^^ expected struct `console::term::Term`, found struct `Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&Term` [INFO] [stdout] = note: perhaps two different versions of crate `console` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/commands/init.rs:50:69 [INFO] [stdout] | [INFO] [stdout] 50 | .unwrap_or(Input::new().with_prompt("Name").interact_on(&*TERM_ERR)?); [INFO] [stdout] | ^^^^^^^^^^ expected struct `console::term::Term`, found struct `Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&Term` [INFO] [stdout] = note: perhaps two different versions of crate `console` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/commands/init.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | .interact_on(&*TERM_ERR)?, [INFO] [stdout] | ^^^^^^^^^^ expected struct `console::term::Term`, found struct `Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&Term` [INFO] [stdout] = note: perhaps two different versions of crate `console` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/commands/init.rs:64:75 [INFO] [stdout] | [INFO] [stdout] 64 | .unwrap_or(Input::new().with_prompt("Author").interact_on(&*TERM_ERR)?), [INFO] [stdout] | ^^^^^^^^^^ expected struct `console::term::Term`, found struct `Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&Term` [INFO] [stdout] = note: perhaps two different versions of crate `console` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/commands/init.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | .interact_on(&*TERM_ERR)?; [INFO] [stdout] | ^^^^^^^^^^ expected struct `console::term::Term`, found struct `Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&Term` [INFO] [stdout] = note: perhaps two different versions of crate `console` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/commands/init.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | .interact_on(&*TERM_ERR)?, [INFO] [stdout] | ^^^^^^^^^^ expected struct `console::term::Term`, found struct `Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&Term` [INFO] [stdout] = note: perhaps two different versions of crate `console` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/commands/migrate.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | .interact_on(&*TERM_ERR)?, [INFO] [stdout] | ^^^^^^^^^^ expected struct `console::term::Term`, found struct `Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&Term` [INFO] [stdout] = note: perhaps two different versions of crate `console` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/commands/init.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | .interact_on(&*TERM_ERR)?, [INFO] [stdout] | ^^^^^^^^^^ expected struct `console::term::Term`, found struct `Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&Term` [INFO] [stdout] = note: perhaps two different versions of crate `console` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/commands/publish.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | .interact_on(&*TERM_ERR)?, [INFO] [stdout] | ^^^^^^^^^^ expected struct `console::term::Term`, found struct `Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&Term` [INFO] [stdout] = note: perhaps two different versions of crate `console` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/commands/publish.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | .interact_on(&*TERM_ERR)?, [INFO] [stdout] | ^^^^^^^^^^ expected struct `console::term::Term`, found struct `Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&Term` [INFO] [stdout] = note: perhaps two different versions of crate `console` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/commands/publish.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | for command in script { [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/commands/publish.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | for command in script { [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/commands/publish.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | / for command in script { [INFO] [stdout] 127 | | TERM_ERR.write_line(&(format!("$ {}", &command)))?; [INFO] [stdout] 128 | | [INFO] [stdout] 129 | | let o = utils::shell_exec(&command, verbose).context("Failed to run command")?; [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | } [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 `config::_::_serde::export::None` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/commands/init.rs:64:75 [INFO] [stdout] | [INFO] [stdout] 64 | .unwrap_or(Input::new().with_prompt("Author").interact_on(&*TERM_ERR)?), [INFO] [stdout] | ^^^^^^^^^^ expected struct `console::term::Term`, found struct `Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&Term` [INFO] [stdout] = note: perhaps two different versions of crate `console` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/commands/init.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | .interact_on(&*TERM_ERR)?, [INFO] [stdout] | ^^^^^^^^^^ expected struct `console::term::Term`, found struct `Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&Term` [INFO] [stdout] = note: perhaps two different versions of crate `console` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/updater.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | .interact_on(&*TERM_ERR)?; [INFO] [stdout] | ^^^^^^^^^^ expected struct `console::term::Term`, found struct `Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&Term` [INFO] [stdout] = note: perhaps two different versions of crate `console` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `zip::ZipWriter::::start_file_from_path`: by stripping `..`s from the path, the meaning of paths can change. Use `start_file` instead. [INFO] [stdout] --> src/utils.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | zip.start_file_from_path(entry_name, options)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `zip::ZipWriter::::add_directory_from_path`: by stripping `..`s from the path, the meaning of paths can change. Use `add_directory` instead. [INFO] [stdout] --> src/utils.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | zip.add_directory_from_path(entry_name, options)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/commands/migrate.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | .interact_on(&*TERM_ERR)?, [INFO] [stdout] | ^^^^^^^^^^ expected struct `console::term::Term`, found struct `Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&Term` [INFO] [stdout] = note: perhaps two different versions of crate `console` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils.rs:77:63 [INFO] [stdout] | [INFO] [stdout] 77 | answer = Input::new().with_prompt(prompt).interact_on(&*TERM_ERR)?; [INFO] [stdout] | ^^^^^^^^^^ expected struct `console::term::Term`, found struct `Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&Term` [INFO] [stdout] = note: perhaps two different versions of crate `console` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bm2` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/commands/publish.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | .interact_on(&*TERM_ERR)?, [INFO] [stdout] | ^^^^^^^^^^ expected struct `console::term::Term`, found struct `Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&Term` [INFO] [stdout] = note: perhaps two different versions of crate `console` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/commands/publish.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | .interact_on(&*TERM_ERR)?, [INFO] [stdout] | ^^^^^^^^^^ expected struct `console::term::Term`, found struct `Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&Term` [INFO] [stdout] = note: perhaps two different versions of crate `console` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/commands/publish.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | for command in script { [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/commands/publish.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | for command in script { [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/commands/publish.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | / for command in script { [INFO] [stdout] 127 | | TERM_ERR.write_line(&(format!("$ {}", &command)))?; [INFO] [stdout] 128 | | [INFO] [stdout] 129 | | let o = utils::shell_exec(&command, verbose).context("Failed to run command")?; [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | } [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 `config::_::_serde::export::None` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/updater.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | .interact_on(&*TERM_ERR)?; [INFO] [stdout] | ^^^^^^^^^^ expected struct `console::term::Term`, found struct `Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&Term` [INFO] [stdout] = note: perhaps two different versions of crate `console` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `zip::ZipWriter::::start_file_from_path`: by stripping `..`s from the path, the meaning of paths can change. Use `start_file` instead. [INFO] [stdout] --> src/utils.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | zip.start_file_from_path(entry_name, options)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `zip::ZipWriter::::add_directory_from_path`: by stripping `..`s from the path, the meaning of paths can change. Use `add_directory` instead. [INFO] [stdout] --> src/utils.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | zip.add_directory_from_path(entry_name, options)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/utils.rs:77:63 [INFO] [stdout] | [INFO] [stdout] 77 | answer = Input::new().with_prompt(prompt).interact_on(&*TERM_ERR)?; [INFO] [stdout] | ^^^^^^^^^^ expected struct `console::term::Term`, found struct `Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&Term` [INFO] [stdout] = note: perhaps two different versions of crate `console` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "354d5c0c71aeec4658b50e290338e714c259141eb643e39e9b2aef7d7add97f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "354d5c0c71aeec4658b50e290338e714c259141eb643e39e9b2aef7d7add97f5", kill_on_drop: false }` [INFO] [stdout] 354d5c0c71aeec4658b50e290338e714c259141eb643e39e9b2aef7d7add97f5