[INFO] fetching crate rfc 0.3.0... [INFO] testing rfc-0.3.0 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate rfc 0.3.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate rfc 0.3.0 [INFO] finished tweaking crates.io crate rfc 0.3.0 [INFO] tweaked toml for crates.io crate rfc 0.3.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rfc 0.3.0 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "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" "+beta-2025-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 21 packages to latest compatible versions [INFO] [stderr] Adding docopt v0.6.86 (available: v1.1.1) [INFO] [stderr] Adding lazy_static v0.1.16 (available: v1.5.0) [INFO] [stderr] Adding regex v0.1.80 (available: v1.12.2) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.44) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0116578f29e9b0a0dec0d80653d8d8ed17b660c1e2919a211677364cd7116b8 [INFO] running `Command { std: "docker" "start" "-a" "f0116578f29e9b0a0dec0d80653d8d8ed17b660c1e2919a211677364cd7116b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0116578f29e9b0a0dec0d80653d8d8ed17b660c1e2919a211677364cd7116b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0116578f29e9b0a0dec0d80653d8d8ed17b660c1e2919a211677364cd7116b8", kill_on_drop: false }` [INFO] [stdout] f0116578f29e9b0a0dec0d80653d8d8ed17b660c1e2919a211677364cd7116b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ad2c2278f4c48cdce95b6aa68d537861c926de610ad38106983ad395cc02f20 [INFO] running `Command { std: "docker" "start" "-a" "1ad2c2278f4c48cdce95b6aa68d537861c926de610ad38106983ad395cc02f20", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling strsim v0.5.2 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling docopt v0.6.86 [INFO] [stderr] Compiling rfc v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/main.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / lazy_static! { [INFO] [stdout] 34 | | static ref PR_PATH: String = pull_request_path(); [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/main.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / lazy_static! { [INFO] [stdout] 34 | | static ref PR_PATH: String = pull_request_path(); [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/main.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / lazy_static! { [INFO] [stdout] 38 | | static ref PROJECT_NAME: String = project_name(); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/main.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / lazy_static! { [INFO] [stdout] 38 | | static ref PROJECT_NAME: String = project_name(); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in 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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | try!(cmd!("git", "fetch", "origin")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | try!(cmd!("git", "checkout", "master")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | try!(cmd!("git", "pull", "--rebase=preserve")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | try!(cmd!("git", "merge", "--no-commit", &branch)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | try!(populate_rfc_pr(&rfc_path(&id), "RFC PR", &pr_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | try!(cmd!("git", "add", &rfc_path(&id))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | try!(cmd!("git", "mv", &rfc_path(id), &rfc_path(&new_rfc_id))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | try!(update_readme()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | try!(cmd!("git", "add", README_PATH)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | try!(cmd!("git", "commit", "--message", &format!("Approve RFC {}", id))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:137:7 [INFO] [stdout] | [INFO] [stdout] 137 | { try!(map_err_display!(File::open(rfc_path(&id)))); }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | if !try!(cmd!("git", "status", "-z")).is_empty() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | let branch = try!(cmd!("git", "rev-parse", "--abbrev-ref", "HEAD")) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | try!(populate_rfc_pr(&rfc_path(&id), "Implementation PR", &pr_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | try!(cmd!("git", "add", &rfc_path(&id))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | try!(update_readme()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | try!(cmd!("git", "add", README_PATH)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | try!(cmd!("git", "commit", "--message", &format!("Implement RFC {}", id))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:172:7 [INFO] [stdout] | [INFO] [stdout] 172 | { try!(map_err_display!(File::open(rfc_path(&id)))); }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | if !try!(cmd!("git", "status", "-z")).is_empty() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | try!(map_err_display!(file.read_to_string(&mut buffer))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:195:24 [INFO] [stdout] | [INFO] [stdout] 195 | let mut file = try!(map_err_display!(File::open(filename))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:196:48 [INFO] [stdout] | [INFO] [stdout] 196 | let mut buffer = String::with_capacity(try!(map_err_display!(file.metadata())).len() as usize); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:216:18 [INFO] [stdout] | [INFO] [stdout] 216 | let output = try!(map_err_display!(command.output())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | try!(map_err_display!(file.read_to_string(&mut buffer))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:363:24 [INFO] [stdout] | [INFO] [stdout] 363 | let mut file = try!(map_err_display!(File::open(README_PATH))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/main.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [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/main.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / lazy_static! { [INFO] [stdout] 34 | | static ref PR_PATH: String = pull_request_path(); [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in 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/main.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / lazy_static! { [INFO] [stdout] 34 | | static ref PR_PATH: String = pull_request_path(); [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in 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/main.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / lazy_static! { [INFO] [stdout] 38 | | static ref PROJECT_NAME: String = project_name(); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in 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/main.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / lazy_static! { [INFO] [stdout] 38 | | static ref PROJECT_NAME: String = project_name(); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:211:45 [INFO] [stdout] | [INFO] [stdout] 211 | let mut out_file = File::create(filename.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/markdown.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | .at(0).unwrap() [INFO] [stdout] | ________________________^ [INFO] [stdout] 54 | | .clone(); [INFO] [stdout] | |________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.75s [INFO] running `Command { std: "docker" "inspect" "1ad2c2278f4c48cdce95b6aa68d537861c926de610ad38106983ad395cc02f20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ad2c2278f4c48cdce95b6aa68d537861c926de610ad38106983ad395cc02f20", kill_on_drop: false }` [INFO] [stdout] 1ad2c2278f4c48cdce95b6aa68d537861c926de610ad38106983ad395cc02f20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29ada82d049424f8d95726514d4bd681a9fbde18788441f1df7ddd8b92f8f7bb [INFO] running `Command { std: "docker" "start" "-a" "29ada82d049424f8d95726514d4bd681a9fbde18788441f1df7ddd8b92f8f7bb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rfc v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/main.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / lazy_static! { [INFO] [stdout] 34 | | static ref PR_PATH: String = pull_request_path(); [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/main.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / lazy_static! { [INFO] [stdout] 34 | | static ref PR_PATH: String = pull_request_path(); [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/main.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / lazy_static! { [INFO] [stdout] 38 | | static ref PROJECT_NAME: String = project_name(); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/main.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / lazy_static! { [INFO] [stdout] 38 | | static ref PROJECT_NAME: String = project_name(); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in 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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | try!(cmd!("git", "fetch", "origin")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | try!(cmd!("git", "checkout", "master")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | try!(cmd!("git", "pull", "--rebase=preserve")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | try!(cmd!("git", "merge", "--no-commit", &branch)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | try!(populate_rfc_pr(&rfc_path(&id), "RFC PR", &pr_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | try!(cmd!("git", "add", &rfc_path(&id))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | try!(cmd!("git", "mv", &rfc_path(id), &rfc_path(&new_rfc_id))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | try!(update_readme()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | try!(cmd!("git", "add", README_PATH)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | try!(cmd!("git", "commit", "--message", &format!("Approve RFC {}", id))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:137:7 [INFO] [stdout] | [INFO] [stdout] 137 | { try!(map_err_display!(File::open(rfc_path(&id)))); }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | if !try!(cmd!("git", "status", "-z")).is_empty() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | let branch = try!(cmd!("git", "rev-parse", "--abbrev-ref", "HEAD")) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | try!(populate_rfc_pr(&rfc_path(&id), "Implementation PR", &pr_id)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | try!(cmd!("git", "add", &rfc_path(&id))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | try!(update_readme()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | try!(cmd!("git", "add", README_PATH)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | try!(cmd!("git", "commit", "--message", &format!("Implement RFC {}", id))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:172:7 [INFO] [stdout] | [INFO] [stdout] 172 | { try!(map_err_display!(File::open(rfc_path(&id)))); }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | if !try!(cmd!("git", "status", "-z")).is_empty() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | try!(map_err_display!(file.read_to_string(&mut buffer))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:195:24 [INFO] [stdout] | [INFO] [stdout] 195 | let mut file = try!(map_err_display!(File::open(filename))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:196:48 [INFO] [stdout] | [INFO] [stdout] 196 | let mut buffer = String::with_capacity(try!(map_err_display!(file.metadata())).len() as usize); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:216:18 [INFO] [stdout] | [INFO] [stdout] 216 | let output = try!(map_err_display!(command.output())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | try!(map_err_display!(file.read_to_string(&mut buffer))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:363:24 [INFO] [stdout] | [INFO] [stdout] 363 | let mut file = try!(map_err_display!(File::open(README_PATH))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/main.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [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/main.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / lazy_static! { [INFO] [stdout] 34 | | static ref PR_PATH: String = pull_request_path(); [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in 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/main.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / lazy_static! { [INFO] [stdout] 34 | | static ref PR_PATH: String = pull_request_path(); [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in 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/main.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / lazy_static! { [INFO] [stdout] 38 | | static ref PROJECT_NAME: String = project_name(); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in 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/main.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / lazy_static! { [INFO] [stdout] 38 | | static ref PROJECT_NAME: String = project_name(); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:211:45 [INFO] [stdout] | [INFO] [stdout] 211 | let mut out_file = File::create(filename.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/markdown.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | .at(0).unwrap() [INFO] [stdout] | ________________________^ [INFO] [stdout] 54 | | .clone(); [INFO] [stdout] | |________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `Command { std: "docker" "inspect" "29ada82d049424f8d95726514d4bd681a9fbde18788441f1df7ddd8b92f8f7bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29ada82d049424f8d95726514d4bd681a9fbde18788441f1df7ddd8b92f8f7bb", kill_on_drop: false }` [INFO] [stdout] 29ada82d049424f8d95726514d4bd681a9fbde18788441f1df7ddd8b92f8f7bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a70c9ae0de6827ec4b2cb02b1e34c9239ecc9adcf66f347b0ad25c530f3bd075 [INFO] running `Command { std: "docker" "start" "-a" "a70c9ae0de6827ec4b2cb02b1e34c9239ecc9adcf66f347b0ad25c530f3bd075", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unexpected `cfg` condition value: `nightly` [INFO] [stderr] --> src/main.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | / lazy_static! { [INFO] [stderr] 34 | | static ref PR_PATH: String = pull_request_path(); [INFO] [stderr] 35 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `nightly` [INFO] [stderr] --> src/main.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | / lazy_static! { [INFO] [stderr] 34 | | static ref PR_PATH: String = pull_request_path(); [INFO] [stderr] 35 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `nightly` [INFO] [stderr] --> src/main.rs:37:1 [INFO] [stderr] | [INFO] [stderr] 37 | / lazy_static! { [INFO] [stderr] 38 | | static ref PROJECT_NAME: String = project_name(); [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:150:5 [INFO] [stderr] | [INFO] [stderr] 150 | try!(cmd!("git", "fetch", "origin")); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:151:5 [INFO] [stderr] | [INFO] [stderr] 151 | try!(cmd!("git", "checkout", "master")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:152:5 [INFO] [stderr] | [INFO] [stderr] 152 | try!(cmd!("git", "pull", "--rebase=preserve")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:154:5 [INFO] [stderr] | [INFO] [stderr] 154 | try!(cmd!("git", "merge", "--no-commit", &branch)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:156:5 [INFO] [stderr] | [INFO] [stderr] 156 | try!(populate_rfc_pr(&rfc_path(&id), "RFC PR", &pr_id)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:157:5 [INFO] [stderr] | [INFO] [stderr] 157 | try!(cmd!("git", "add", &rfc_path(&id))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:160:5 [INFO] [stderr] | [INFO] [stderr] 160 | try!(cmd!("git", "mv", &rfc_path(id), &rfc_path(&new_rfc_id))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:162:5 [INFO] [stderr] | [INFO] [stderr] 162 | try!(update_readme()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:163:5 [INFO] [stderr] | [INFO] [stderr] 163 | try!(cmd!("git", "add", README_PATH)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:165:5 [INFO] [stderr] | [INFO] [stderr] 165 | try!(cmd!("git", "commit", "--message", &format!("Approve RFC {}", id))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:137:7 [INFO] [stderr] | [INFO] [stderr] 137 | { try!(map_err_display!(File::open(rfc_path(&id)))); }; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:140:9 [INFO] [stderr] | [INFO] [stderr] 140 | if !try!(cmd!("git", "status", "-z")).is_empty() { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:147:18 [INFO] [stderr] | [INFO] [stderr] 147 | let branch = try!(cmd!("git", "rev-parse", "--abbrev-ref", "HEAD")) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:182:5 [INFO] [stderr] | [INFO] [stderr] 182 | try!(populate_rfc_pr(&rfc_path(&id), "Implementation PR", &pr_id)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:183:5 [INFO] [stderr] | [INFO] [stderr] 183 | try!(cmd!("git", "add", &rfc_path(&id))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:185:5 [INFO] [stderr] | [INFO] [stderr] 185 | try!(update_readme()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:186:5 [INFO] [stderr] | [INFO] [stderr] 186 | try!(cmd!("git", "add", README_PATH)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:188:5 [INFO] [stderr] | [INFO] [stderr] 188 | try!(cmd!("git", "commit", "--message", &format!("Implement RFC {}", id))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:172:7 [INFO] [stderr] | [INFO] [stderr] 172 | { try!(map_err_display!(File::open(rfc_path(&id)))); }; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:175:9 [INFO] [stderr] | [INFO] [stderr] 175 | if !try!(cmd!("git", "status", "-z")).is_empty() { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:197:9 [INFO] [stderr] | [INFO] [stderr] 197 | try!(map_err_display!(file.read_to_string(&mut buffer))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:195:24 [INFO] [stderr] | [INFO] [stderr] 195 | let mut file = try!(map_err_display!(File::open(filename))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:196:48 [INFO] [stderr] | [INFO] [stderr] 196 | let mut buffer = String::with_capacity(try!(map_err_display!(file.metadata())).len() as usize); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:216:18 [INFO] [stderr] | [INFO] [stderr] 216 | let output = try!(map_err_display!(command.output())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:365:9 [INFO] [stderr] | [INFO] [stderr] 365 | try!(map_err_display!(file.read_to_string(&mut buffer))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:363:24 [INFO] [stderr] | [INFO] [stderr] 363 | let mut file = try!(map_err_display!(File::open(README_PATH))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/main.rs:29:17 [INFO] [stderr] | [INFO] [stderr] 29 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/main.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | / lazy_static! { [INFO] [stderr] 34 | | static ref PR_PATH: String = pull_request_path(); [INFO] [stderr] 35 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in 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/main.rs:37:1 [INFO] [stderr] | [INFO] [stderr] 37 | / lazy_static! { [INFO] [stderr] 38 | | static ref PROJECT_NAME: String = project_name(); [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/main.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/main.rs:211:45 [INFO] [stderr] | [INFO] [stderr] 211 | let mut out_file = File::create(filename.clone()).unwrap(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/markdown.rs:53:24 [INFO] [stderr] | [INFO] [stderr] 53 | .at(0).unwrap() [INFO] [stderr] | ________________________^ [INFO] [stderr] 54 | | .clone(); [INFO] [stderr] | |________________^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: `rfc` (bin "rfc" test) generated 38 warnings (3 duplicates) (run `cargo fix --bin "rfc" -p rfc --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rfc-97401f580b4aaacf) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test markdown::tests::test_markdown_replace ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a70c9ae0de6827ec4b2cb02b1e34c9239ecc9adcf66f347b0ad25c530f3bd075", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a70c9ae0de6827ec4b2cb02b1e34c9239ecc9adcf66f347b0ad25c530f3bd075", kill_on_drop: false }` [INFO] [stdout] a70c9ae0de6827ec4b2cb02b1e34c9239ecc9adcf66f347b0ad25c530f3bd075