[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] testing raftario/bm2 against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraftario%2Fbm2" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/raftario/bm2 on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/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-4/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-2020-07-24" "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] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/raftario/semver_rs` [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/raftario/semver_rs` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cookie_store v0.12.0 [INFO] [stderr] Downloaded console v0.10.3 [INFO] [stderr] Downloaded dialoguer v0.5.1 [INFO] [stderr] Downloaded manifest v0.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35a44c5d49137df9453b896983683889d7a8cee52c1a9272ce5ab9b133f81c2f [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" "35a44c5d49137df9453b896983683889d7a8cee52c1a9272ce5ab9b133f81c2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35a44c5d49137df9453b896983683889d7a8cee52c1a9272ce5ab9b133f81c2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35a44c5d49137df9453b896983683889d7a8cee52c1a9272ce5ab9b133f81c2f", kill_on_drop: false }` [INFO] [stdout] 35a44c5d49137df9453b896983683889d7a8cee52c1a9272ce5ab9b133f81c2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abe4835703ab7eb896aa7c75f0fa5b18e488c21f4eba5170ac21f4aba34e797a [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" "abe4835703ab7eb896aa7c75f0fa5b18e488c21f4eba5170ac21f4aba34e797a", 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] Compiling syn v1.0.38 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling podio v0.1.7 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling cookie v0.14.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.13 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling semver v0.9.0 (https://github.com/raftario/semver_rs?branch=minmax#7bc29882) [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling termios v0.3.2 [INFO] [stderr] Compiling terminal_size v0.1.13 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.18 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling publicsuffix v1.5.4 [INFO] [stderr] Compiling console v0.12.0 [INFO] [stderr] Compiling console v0.10.3 [INFO] [stderr] Compiling console v0.9.2 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling indicatif v0.13.0 [INFO] [stderr] Compiling zip v0.5.6 [INFO] [stderr] Compiling dialoguer v0.5.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling structopt-derive v0.4.9 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling structopt v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling cookie_store v0.12.0 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.7 [INFO] [stderr] Compiling 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 type 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 type 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 type 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 type 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 `console::Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&console::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 `console::Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&console::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 `console::Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&console::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 `console::Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&console::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 `console::Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&console::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 `console::Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&console::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 `console::Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&console::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 `console::Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&console::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 `console::Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&console::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 `std::marker::Sized` is not implemented for `str` [INFO] [stdout] = note: to learn more, visit [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 `std::marker::Sized` is not implemented for `str` [INFO] [stdout] = note: to learn more, visit [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 `std::marker::Sized` is not implemented for `str` [INFO] [stdout] = note: to learn more, visit [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 `console::Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&console::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 `console::Term` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&console::term::Term` [INFO] [stdout] found reference `&console::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 [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] running `Command { std: "docker" "inspect" "abe4835703ab7eb896aa7c75f0fa5b18e488c21f4eba5170ac21f4aba34e797a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abe4835703ab7eb896aa7c75f0fa5b18e488c21f4eba5170ac21f4aba34e797a", kill_on_drop: false }` [INFO] [stdout] abe4835703ab7eb896aa7c75f0fa5b18e488c21f4eba5170ac21f4aba34e797a