[INFO] updating cached repository https://github.com/raftario/bm2 [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 04ce87ab173a29b3499137fcf2a5185bf5813582 [INFO] testing raftario/bm2 against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraftario%2Fbm2" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/raftario/bm2 on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [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-6/source/Cargo.toml [INFO] crate git repo https://github.com/raftario/bm2 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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-6/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 `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/raftario/semver_rs` [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=forbid" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stdout] 4523b9baacac91e596be19b075f7d11a68eab60a4d52d6e95e00b1ec06491387 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "4523b9baacac91e596be19b075f7d11a68eab60a4d52d6e95e00b1ec06491387"` [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 libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling podio v0.1.6 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling semver v0.9.0 (https://github.com/raftario/semver_rs?branch=minmax#7bc29882) [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling termios v0.3.2 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling console v0.10.0 [INFO] [stderr] Compiling console v0.9.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling zip v0.5.5 [INFO] [stderr] Compiling indicatif v0.13.0 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling tokio v0.2.19 [INFO] [stderr] Compiling publicsuffix v1.5.4 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling dialoguer v0.5.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Compiling pin-project v0.4.9 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling structopt v0.3.14 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling cookie_store v0.10.0 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling bm2 v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `manifest` [INFO] [stderr] --> src/commands/init.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use manifest::{Manifest, SCHEMA}; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `manifest` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `manifest` [INFO] [stderr] --> src/commands/migrate.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use manifest::{Manifest, OldManifest}; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `manifest` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `manifest` [INFO] [stderr] --> src/commands/publish.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use manifest::Manifest; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `manifest` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `manifest` [INFO] [stderr] --> src/utils.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use manifest::{Manifest, ValidityError, DESCRIPTION_REGEX, ID_REGEX, NAME_REGEX}; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `manifest` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/commands/init.rs:47:67 [INFO] [stderr] | [INFO] [stderr] 47 | .unwrap_or(Input::new().with_prompt("ID").interact_on(&*TERM_ERR)?); [INFO] [stderr] | ^^^^^^^^^^ expected struct `console::term::Term`, found a different struct `console::term::Term` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&console::term::Term` (struct `console::term::Term`) [INFO] [stderr] found reference `&console::term::Term` (struct `console::term::Term`) [INFO] [stderr] = note: perhaps two different versions of crate `console` are being used? [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/commands/init.rs:50:69 [INFO] [stderr] | [INFO] [stderr] 50 | .unwrap_or(Input::new().with_prompt("Name").interact_on(&*TERM_ERR)?); [INFO] [stderr] | ^^^^^^^^^^ expected struct `console::term::Term`, found a different struct `console::term::Term` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&console::term::Term` (struct `console::term::Term`) [INFO] [stderr] found reference `&console::term::Term` (struct `console::term::Term`) [INFO] [stderr] = note: perhaps two different versions of crate `console` are being used? [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/commands/init.rs:53:26 [INFO] [stderr] | [INFO] [stderr] 53 | .interact_on(&*TERM_ERR)?; [INFO] [stderr] | ^^^^^^^^^^ expected struct `console::term::Term`, found a different struct `console::term::Term` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&console::term::Term` (struct `console::term::Term`) [INFO] [stderr] found reference `&console::term::Term` (struct `console::term::Term`) [INFO] [stderr] = note: perhaps two different versions of crate `console` are being used? [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/commands/init.rs:57:30 [INFO] [stderr] | [INFO] [stderr] 57 | .interact_on(&*TERM_ERR)?, [INFO] [stderr] | ^^^^^^^^^^ expected struct `console::term::Term`, found a different struct `console::term::Term` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&console::term::Term` (struct `console::term::Term`) [INFO] [stderr] found reference `&console::term::Term` (struct `console::term::Term`) [INFO] [stderr] = note: perhaps two different versions of crate `console` are being used? [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/commands/init.rs:64:75 [INFO] [stderr] | [INFO] [stderr] 64 | .unwrap_or(Input::new().with_prompt("Author").interact_on(&*TERM_ERR)?), [INFO] [stderr] | ^^^^^^^^^^ expected struct `console::term::Term`, found a different struct `console::term::Term` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&console::term::Term` (struct `console::term::Term`) [INFO] [stderr] found reference `&console::term::Term` (struct `console::term::Term`) [INFO] [stderr] = note: perhaps two different versions of crate `console` are being used? [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/commands/init.rs:70:34 [INFO] [stderr] | [INFO] [stderr] 70 | .interact_on(&*TERM_ERR)?, [INFO] [stderr] | ^^^^^^^^^^ expected struct `console::term::Term`, found a different struct `console::term::Term` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&console::term::Term` (struct `console::term::Term`) [INFO] [stderr] found reference `&console::term::Term` (struct `console::term::Term`) [INFO] [stderr] = note: perhaps two different versions of crate `console` are being used? [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/commands/migrate.rs:33:30 [INFO] [stderr] | [INFO] [stderr] 33 | .interact_on(&*TERM_ERR)?, [INFO] [stderr] | ^^^^^^^^^^ expected struct `console::term::Term`, found a different struct `console::term::Term` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&console::term::Term` (struct `console::term::Term`) [INFO] [stderr] found reference `&console::term::Term` (struct `console::term::Term`) [INFO] [stderr] = note: perhaps two different versions of crate `console` are being used? [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/commands/publish.rs:86:30 [INFO] [stderr] | [INFO] [stderr] 86 | .interact_on(&*TERM_ERR)?, [INFO] [stderr] | ^^^^^^^^^^ expected struct `console::term::Term`, found a different struct `console::term::Term` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&console::term::Term` (struct `console::term::Term`) [INFO] [stderr] found reference `&console::term::Term` (struct `console::term::Term`) [INFO] [stderr] = note: perhaps two different versions of crate `console` are being used? [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/commands/publish.rs:91:30 [INFO] [stderr] | [INFO] [stderr] 91 | .interact_on(&*TERM_ERR)?, [INFO] [stderr] | ^^^^^^^^^^ expected struct `console::term::Term`, found a different struct `console::term::Term` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&console::term::Term` (struct `console::term::Term`) [INFO] [stderr] found reference `&console::term::Term` (struct `console::term::Term`) [INFO] [stderr] = note: perhaps two different versions of crate `console` are being used? [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> src/commands/publish.rs:126:9 [INFO] [stderr] | [INFO] [stderr] 126 | for command in script { [INFO] [stderr] | ^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> src/commands/publish.rs:126:20 [INFO] [stderr] | [INFO] [stderr] 126 | for command in script { [INFO] [stderr] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stderr] --> src/commands/publish.rs:126:5 [INFO] [stderr] | [INFO] [stderr] 126 | / for command in script { [INFO] [stderr] 127 | | TERM_ERR.write_line(&(format!("$ {}", &command)))?; [INFO] [stderr] 128 | | [INFO] [stderr] 129 | | let o = utils::shell_exec(&command, verbose).context("Failed to run command")?; [INFO] [stderr] ... | [INFO] [stderr] 132 | | } [INFO] [stderr] 133 | | } [INFO] [stderr] | |_____^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `str` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required by `config::_IMPL_DESERIALIZE_FOR_Config::_serde::export::None` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/updater.rs:109:22 [INFO] [stderr] | [INFO] [stderr] 109 | .interact_on(&*TERM_ERR)?; [INFO] [stderr] | ^^^^^^^^^^ expected struct `console::term::Term`, found a different struct `console::term::Term` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&console::term::Term` (struct `console::term::Term`) [INFO] [stderr] found reference `&console::term::Term` (struct `console::term::Term`) [INFO] [stderr] = note: perhaps two different versions of crate `console` are being used? [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/utils.rs:77:63 [INFO] [stderr] | [INFO] [stderr] 77 | answer = Input::new().with_prompt(prompt).interact_on(&*TERM_ERR)?; [INFO] [stderr] | ^^^^^^^^^^ expected struct `console::term::Term`, found a different struct `console::term::Term` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&console::term::Term` (struct `console::term::Term`) [INFO] [stderr] found reference `&console::term::Term` (struct `console::term::Term`) [INFO] [stderr] = note: perhaps two different versions of crate `console` are being used? [INFO] [stderr] [INFO] [stderr] error: aborting due to 18 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `bm2`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "4523b9baacac91e596be19b075f7d11a68eab60a4d52d6e95e00b1ec06491387"` [INFO] running `"docker" "rm" "-f" "4523b9baacac91e596be19b075f7d11a68eab60a4d52d6e95e00b1ec06491387"` [INFO] [stdout] 4523b9baacac91e596be19b075f7d11a68eab60a4d52d6e95e00b1ec06491387