[INFO] fetching crate porteurbars 0.1.5... [INFO] testing porteurbars-0.1.5 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate porteurbars 0.1.5 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate porteurbars 0.1.5 [INFO] finished tweaking crates.io crate porteurbars 0.1.5 [INFO] tweaked toml for crates.io crate porteurbars 0.1.5 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate porteurbars 0.1.5 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 95 packages to latest compatible versions [INFO] [stderr] Adding case v0.1.0 (available: v1.0.0) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.48) [INFO] [stderr] Adding difference v1.0.0 (available: v2.0.0) [INFO] [stderr] Adding env_logger v0.4.3 (available: v0.11.8) [INFO] [stderr] Adding error-chain v0.11.0 (available: v0.12.4) [INFO] [stderr] Adding git2 v0.6.11 (available: v0.20.2) [INFO] [stderr] Adding handlebars v0.28.3 (available: v6.3.2) [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.28) [INFO] [stderr] Adding regex v0.2.11 (available: v1.11.3) [INFO] [stderr] Adding term v0.4.6 (available: v1.2.0) [INFO] [stderr] Adding walkdir v1.0.7 (available: v2.5.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99a6bd60dc4c76c7a0ddecf517dffe9f036bdbb15dbfc19c34469778affce11a [INFO] running `Command { std: "docker" "start" "-a" "99a6bd60dc4c76c7a0ddecf517dffe9f036bdbb15dbfc19c34469778affce11a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99a6bd60dc4c76c7a0ddecf517dffe9f036bdbb15dbfc19c34469778affce11a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99a6bd60dc4c76c7a0ddecf517dffe9f036bdbb15dbfc19c34469778affce11a", kill_on_drop: false }` [INFO] [stdout] 99a6bd60dc4c76c7a0ddecf517dffe9f036bdbb15dbfc19c34469778affce11a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86f483b129834abf50530eae1f948d807e3b38d34ee27c1d4bea1c33355b01be [INFO] running `Command { std: "docker" "start" "-a" "86f483b129834abf50530eae1f948d807e3b38d34ee27c1d4bea1c33355b01be", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling curl-sys v0.4.83+curl-8.15.0 [INFO] [stderr] Compiling libgit2-sys v0.6.19 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling same-file v0.1.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling pest v0.3.3 [INFO] [stderr] Compiling walkdir v1.0.7 [INFO] [stderr] Compiling case v0.1.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling difference v1.0.0 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling handlebars v0.28.3 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling git2 v0.6.11 [INFO] [stderr] Compiling porteurbars v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/errors.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | /// Enumeration of types of errors [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/git.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | static ref LOCAL: Regex = Regex::new(r#"^file://(\S+)$"#).unwrap(); [INFO] [stdout] 23 | | static ref GH: Regex = Regex::new(r#"^([^\s/]+)/([^\s/]+?)$"#).unwrap(); [INFO] [stdout] 24 | | static ref REMOTE: Regex = Regex::new( [INFO] [stdout] 25 | | r#"^(git[@|://].*)|(https://.*)|(http://.*)|(ssh://.*)$"# [INFO] [stdout] 26 | | ).unwrap(); [INFO] [stdout] 27 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/git.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | static ref LOCAL: Regex = Regex::new(r#"^file://(\S+)$"#).unwrap(); [INFO] [stdout] 23 | | static ref GH: Regex = Regex::new(r#"^([^\s/]+)/([^\s/]+?)$"#).unwrap(); [INFO] [stdout] 24 | | static ref REMOTE: Regex = Regex::new( [INFO] [stdout] 25 | | r#"^(git[@|://].*)|(https://.*)|(http://.*)|(ssh://.*)$"# [INFO] [stdout] 26 | | ).unwrap(); [INFO] [stdout] 27 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/git.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | static ref LOCAL: Regex = Regex::new(r#"^file://(\S+)$"#).unwrap(); [INFO] [stdout] 23 | | static ref GH: Regex = Regex::new(r#"^([^\s/]+)/([^\s/]+?)$"#).unwrap(); [INFO] [stdout] 24 | | static ref REMOTE: Regex = Regex::new( [INFO] [stdout] 25 | | r#"^(git[@|://].*)|(https://.*)|(http://.*)|(ssh://.*)$"# [INFO] [stdout] 26 | | ).unwrap(); [INFO] [stdout] 27 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / error_chain! { [INFO] [stdout] 9 | | [INFO] [stdout] 10 | | foreign_links { [INFO] [stdout] 11 | | Io(io::Error); [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / error_chain! { [INFO] [stdout] 9 | | [INFO] [stdout] 10 | | foreign_links { [INFO] [stdout] 11 | | Io(io::Error); [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/template.rs:107:40 [INFO] [stdout] | [INFO] [stdout] 107 | path.to_str().unwrap().trim_left_matches(scratchpath); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 107 - path.to_str().unwrap().trim_left_matches(scratchpath); [INFO] [stdout] 107 + path.to_str().unwrap().trim_start_matches(scratchpath); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.55s [INFO] running `Command { std: "docker" "inspect" "86f483b129834abf50530eae1f948d807e3b38d34ee27c1d4bea1c33355b01be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86f483b129834abf50530eae1f948d807e3b38d34ee27c1d4bea1c33355b01be", kill_on_drop: false }` [INFO] [stdout] 86f483b129834abf50530eae1f948d807e3b38d34ee27c1d4bea1c33355b01be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47700a62c437027f43adf25af99ec49056e14b3c4d4a2150fcb06bdb80bacd5b [INFO] running `Command { std: "docker" "start" "-a" "47700a62c437027f43adf25af99ec49056e14b3c4d4a2150fcb06bdb80bacd5b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling porteurbars v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/errors.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | /// Enumeration of types of errors [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/git.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | static ref LOCAL: Regex = Regex::new(r#"^file://(\S+)$"#).unwrap(); [INFO] [stdout] 23 | | static ref GH: Regex = Regex::new(r#"^([^\s/]+)/([^\s/]+?)$"#).unwrap(); [INFO] [stdout] 24 | | static ref REMOTE: Regex = Regex::new( [INFO] [stdout] 25 | | r#"^(git[@|://].*)|(https://.*)|(http://.*)|(ssh://.*)$"# [INFO] [stdout] 26 | | ).unwrap(); [INFO] [stdout] 27 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/git.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | static ref LOCAL: Regex = Regex::new(r#"^file://(\S+)$"#).unwrap(); [INFO] [stdout] 23 | | static ref GH: Regex = Regex::new(r#"^([^\s/]+)/([^\s/]+?)$"#).unwrap(); [INFO] [stdout] 24 | | static ref REMOTE: Regex = Regex::new( [INFO] [stdout] 25 | | r#"^(git[@|://].*)|(https://.*)|(http://.*)|(ssh://.*)$"# [INFO] [stdout] 26 | | ).unwrap(); [INFO] [stdout] 27 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/git.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | static ref LOCAL: Regex = Regex::new(r#"^file://(\S+)$"#).unwrap(); [INFO] [stdout] 23 | | static ref GH: Regex = Regex::new(r#"^([^\s/]+)/([^\s/]+?)$"#).unwrap(); [INFO] [stdout] 24 | | static ref REMOTE: Regex = Regex::new( [INFO] [stdout] 25 | | r#"^(git[@|://].*)|(https://.*)|(http://.*)|(ssh://.*)$"# [INFO] [stdout] 26 | | ).unwrap(); [INFO] [stdout] 27 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / error_chain! { [INFO] [stdout] 9 | | [INFO] [stdout] 10 | | foreign_links { [INFO] [stdout] 11 | | Io(io::Error); [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / error_chain! { [INFO] [stdout] 9 | | [INFO] [stdout] 10 | | foreign_links { [INFO] [stdout] 11 | | Io(io::Error); [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/template.rs:107:40 [INFO] [stdout] | [INFO] [stdout] 107 | path.to_str().unwrap().trim_left_matches(scratchpath); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 107 - path.to_str().unwrap().trim_left_matches(scratchpath); [INFO] [stdout] 107 + path.to_str().unwrap().trim_start_matches(scratchpath); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/errors.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | /// Enumeration of types of errors [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/git.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | static ref LOCAL: Regex = Regex::new(r#"^file://(\S+)$"#).unwrap(); [INFO] [stdout] 23 | | static ref GH: Regex = Regex::new(r#"^([^\s/]+)/([^\s/]+?)$"#).unwrap(); [INFO] [stdout] 24 | | static ref REMOTE: Regex = Regex::new( [INFO] [stdout] 25 | | r#"^(git[@|://].*)|(https://.*)|(http://.*)|(ssh://.*)$"# [INFO] [stdout] 26 | | ).unwrap(); [INFO] [stdout] 27 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/git.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | static ref LOCAL: Regex = Regex::new(r#"^file://(\S+)$"#).unwrap(); [INFO] [stdout] 23 | | static ref GH: Regex = Regex::new(r#"^([^\s/]+)/([^\s/]+?)$"#).unwrap(); [INFO] [stdout] 24 | | static ref REMOTE: Regex = Regex::new( [INFO] [stdout] 25 | | r#"^(git[@|://].*)|(https://.*)|(http://.*)|(ssh://.*)$"# [INFO] [stdout] 26 | | ).unwrap(); [INFO] [stdout] 27 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/git.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | static ref LOCAL: Regex = Regex::new(r#"^file://(\S+)$"#).unwrap(); [INFO] [stdout] 23 | | static ref GH: Regex = Regex::new(r#"^([^\s/]+)/([^\s/]+?)$"#).unwrap(); [INFO] [stdout] 24 | | static ref REMOTE: Regex = Regex::new( [INFO] [stdout] 25 | | r#"^(git[@|://].*)|(https://.*)|(http://.*)|(ssh://.*)$"# [INFO] [stdout] 26 | | ).unwrap(); [INFO] [stdout] 27 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / error_chain! { [INFO] [stdout] 9 | | [INFO] [stdout] 10 | | foreign_links { [INFO] [stdout] 11 | | Io(io::Error); [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / error_chain! { [INFO] [stdout] 9 | | [INFO] [stdout] 10 | | foreign_links { [INFO] [stdout] 11 | | Io(io::Error); [INFO] [stdout] ... | [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/template.rs:107:40 [INFO] [stdout] | [INFO] [stdout] 107 | path.to_str().unwrap().trim_left_matches(scratchpath); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 107 - path.to_str().unwrap().trim_left_matches(scratchpath); [INFO] [stdout] 107 + path.to_str().unwrap().trim_start_matches(scratchpath); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.28s [INFO] running `Command { std: "docker" "inspect" "47700a62c437027f43adf25af99ec49056e14b3c4d4a2150fcb06bdb80bacd5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47700a62c437027f43adf25af99ec49056e14b3c4d4a2150fcb06bdb80bacd5b", kill_on_drop: false }` [INFO] [stdout] 47700a62c437027f43adf25af99ec49056e14b3c4d4a2150fcb06bdb80bacd5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0e880e24fe8b5b64d28ce843a3b5e56d920d135341e783bdf46e5ad74cc291b5 [INFO] running `Command { std: "docker" "start" "-a" "0e880e24fe8b5b64d28ce843a3b5e56d920d135341e783bdf46e5ad74cc291b5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/errors.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | /// Enumeration of types of errors [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/git.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | static ref LOCAL: Regex = Regex::new(r#"^file://(\S+)$"#).unwrap(); [INFO] [stderr] 23 | | static ref GH: Regex = Regex::new(r#"^([^\s/]+)/([^\s/]+?)$"#).unwrap(); [INFO] [stderr] 24 | | static ref REMOTE: Regex = Regex::new( [INFO] [stderr] 25 | | r#"^(git[@|://].*)|(https://.*)|(http://.*)|(ssh://.*)$"# [INFO] [stderr] 26 | | ).unwrap(); [INFO] [stderr] 27 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/git.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | / lazy_static! { [INFO] [stderr] 22 | | static ref LOCAL: Regex = Regex::new(r#"^file://(\S+)$"#).unwrap(); [INFO] [stderr] 23 | | static ref GH: Regex = Regex::new(r#"^([^\s/]+)/([^\s/]+?)$"#).unwrap(); [INFO] [stderr] 24 | | static ref REMOTE: Regex = Regex::new( [INFO] [stderr] 25 | | r#"^(git[@|://].*)|(https://.*)|(http://.*)|(ssh://.*)$"# [INFO] [stderr] 26 | | ).unwrap(); [INFO] [stderr] 27 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / error_chain! { [INFO] [stderr] 9 | | [INFO] [stderr] 10 | | foreign_links { [INFO] [stderr] 11 | | Io(io::Error); [INFO] [stderr] ... | [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/errors.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / error_chain! { [INFO] [stderr] 9 | | [INFO] [stderr] 10 | | foreign_links { [INFO] [stderr] 11 | | Io(io::Error); [INFO] [stderr] ... | [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stderr] --> src/template.rs:107:40 [INFO] [stderr] | [INFO] [stderr] 107 | path.to_str().unwrap().trim_left_matches(scratchpath); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 107 - path.to_str().unwrap().trim_left_matches(scratchpath); [INFO] [stderr] 107 + path.to_str().unwrap().trim_start_matches(scratchpath); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `porteurbars` (lib) generated 7 warnings (1 duplicate) (run `cargo fix --lib -p porteurbars` to apply 1 suggestion) [INFO] [stderr] warning: `porteurbars` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/porteurbars-341bf80508d6363e) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test defaults::tests::parses_defaults_preserving_order ... ok [INFO] [stdout] test defaults::tests::test_from_string ... ok [INFO] [stdout] test template::tests::bars_capitalize ... ok [INFO] [stdout] test template::tests::bars_camel ... ok [INFO] [stdout] test template::tests::bars_dashed ... ok [INFO] [stdout] test template::tests::bars_eq ... ok [INFO] [stdout] test template::tests::bars_lower ... ok [INFO] [stdout] test template::tests::bars_neq ... ok [INFO] [stdout] test template::tests::bars_respects_escapes_tags ... ok [INFO] [stdout] test template::tests::bars_snake ... ok [INFO] [stdout] test template::tests::bars_upper ... ok [INFO] [stdout] test git::tests::test_public_ssh_url ... ok [INFO] [stdout] test git::tests::test_authenticated_ssh_url ... ok [INFO] [stdout] test git::tests::test_https_url ... ok [INFO] [stderr] Running unittests src/bin/porteurbars.rs (/opt/rustwide/target/debug/deps/porteurbars-2902a598cf2d62d8) [INFO] [stdout] test git::tests::test_github_url ... ok [INFO] [stdout] test git::tests::test_local_uri ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.55s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests porteurbars [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0e880e24fe8b5b64d28ce843a3b5e56d920d135341e783bdf46e5ad74cc291b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e880e24fe8b5b64d28ce843a3b5e56d920d135341e783bdf46e5ad74cc291b5", kill_on_drop: false }` [INFO] [stdout] 0e880e24fe8b5b64d28ce843a3b5e56d920d135341e783bdf46e5ad74cc291b5