[INFO] cloning repository https://github.com/CleverCloud/metrics-spec [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CleverCloud/metrics-spec" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCleverCloud%2Fmetrics-spec", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCleverCloud%2Fmetrics-spec'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9af982eb50f36328da9541ad7123e53019815c56 [INFO] testing CleverCloud/metrics-spec against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCleverCloud%2Fmetrics-spec" "/workspace/builds/worker-105/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-105/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CleverCloud/metrics-spec on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CleverCloud/metrics-spec [INFO] finished tweaking git repo https://github.com/CleverCloud/metrics-spec [INFO] tweaked toml for git repo https://github.com/CleverCloud/metrics-spec written to /workspace/builds/worker-105/source/Cargo.toml [INFO] crate git repo https://github.com/CleverCloud/metrics-spec already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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 structopt v0.1.6 [INFO] [stderr] Downloaded stdweb v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7b9e9ce26fbe0ea49f5893947bc48e66784b280e3cc59e4f578df1cdea7e9d2 [INFO] running `Command { std: "docker" "start" "-a" "b7b9e9ce26fbe0ea49f5893947bc48e66784b280e3cc59e4f578df1cdea7e9d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7b9e9ce26fbe0ea49f5893947bc48e66784b280e3cc59e4f578df1cdea7e9d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7b9e9ce26fbe0ea49f5893947bc48e66784b280e3cc59e4f578df1cdea7e9d2", kill_on_drop: false }` [INFO] [stdout] b7b9e9ce26fbe0ea49f5893947bc48e66784b280e3cc59e4f578df1cdea7e9d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] daaa29930781717487d803475afa7570d95bf4a05a982abeb931e1f119516a54 [INFO] running `Command { std: "docker" "start" "-a" "daaa29930781717487d803475afa7570d95bf4a05a982abeb931e1f119516a54", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.36 [INFO] [stderr] Compiling serde v1.0.27 [INFO] [stderr] Compiling num-traits v0.1.42 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling linked-hash-map v0.5.0 [INFO] [stderr] Compiling regex-syntax v0.4.2 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling serde_derive_internals v0.19.0 [INFO] [stderr] Compiling structopt-derive v0.1.6 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling yaml-rust v0.4.0 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling atty v0.2.6 [INFO] [stderr] Compiling clap v2.29.2 [INFO] [stderr] Compiling serde_derive v1.0.27 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling serde_yaml v0.7.3 [INFO] [stderr] Compiling toml v0.4.5 [INFO] [stderr] Compiling serde_json v1.0.9 [INFO] [stderr] Compiling structopt v0.1.6 [INFO] [stderr] Compiling regex v0.2.5 [INFO] [stderr] Compiling stdweb v0.3.0 [INFO] [stderr] Compiling metrics_lib v0.1.0 (/opt/rustwide/workdir/lib) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/lib.rs:84:58 [INFO] [stdout] | [INFO] [stdout] 84 | fn parse_aggregate_str(s: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - fn parse_aggregate_str(s: &str) -> Result> { [INFO] [stdout] 84 + fn parse_aggregate_str(s: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/lib.rs:162:48 [INFO] [stdout] | [INFO] [stdout] 162 | fn parse_with_unit(s: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 162 - fn parse_with_unit(s: &str) -> Result> { [INFO] [stdout] 162 + fn parse_with_unit(s: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/lib.rs:206:56 [INFO] [stdout] | [INFO] [stdout] 206 | fn parse_next_int(os: Option<&str>) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 206 - fn parse_next_int(os: Option<&str>) -> Result> { [INFO] [stdout] 206 + fn parse_next_int(os: Option<&str>) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/lib.rs:216:58 [INFO] [stdout] | [INFO] [stdout] 216 | fn parse_transform_str(s: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 216 - fn parse_transform_str(s: &str) -> Result> { [INFO] [stdout] 216 + fn parse_transform_str(s: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/lib.rs:320:58 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn parse_toml(contents: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 320 - pub fn parse_toml(contents: &str) -> Result> { [INFO] [stdout] 320 + pub fn parse_toml(contents: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/lib.rs:325:58 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn parse_yaml(contents: &str) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 325 - pub fn parse_yaml(contents: &str) -> Result> { [INFO] [stdout] 325 + pub fn parse_yaml(contents: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/lib.rs:330:63 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn generate_toml(metrics: &Metrics) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 330 - pub fn generate_toml(metrics: &Metrics) -> Result> { [INFO] [stdout] 330 + pub fn generate_toml(metrics: &Metrics) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/lib.rs:335:63 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn generate_yaml(metrics: &Metrics) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 335 - pub fn generate_yaml(metrics: &Metrics) -> Result> { [INFO] [stdout] 335 + pub fn generate_yaml(metrics: &Metrics) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/lib.rs:86:35 [INFO] [stdout] | [INFO] [stdout] 86 | let res_op: Result> = match elems.next() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 - let res_op: Result> = match elems.next() { [INFO] [stdout] 86 + let res_op: Result> = match elems.next() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/lib.rs:164:45 [INFO] [stdout] | [INFO] [stdout] 164 | let result: Result> = re.captures(s).ok_or("Missing number".into()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 164 - let result: Result> = re.captures(s).ok_or("Missing number".into()); [INFO] [stdout] 164 + let result: Result> = re.captures(s).ok_or("Missing number".into()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling metrics-cli v0.1.0 (/opt/rustwide/workdir/cli) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cli/src/bin/metrics.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | type Err = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - type Err = Box; [INFO] [stdout] 19 + type Err = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [WARN] too much data in the log, truncating it