[INFO] fetching crate rendersvg-meetmangukiya 0.9.1... [INFO] checking rendersvg-meetmangukiya-0.9.1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate rendersvg-meetmangukiya 0.9.1 into /workspace/builds/worker-34/source [INFO] validating manifest of crates.io crate rendersvg-meetmangukiya 0.9.1 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rendersvg-meetmangukiya 0.9.1 [INFO] finished tweaking crates.io crate rendersvg-meetmangukiya 0.9.1 [INFO] tweaked toml for crates.io crate rendersvg-meetmangukiya 0.9.1 written to /workspace/builds/worker-34/source/Cargo.toml [INFO] crate crates.io crate rendersvg-meetmangukiya 0.9.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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 jpeg-decoder v0.1.18 [INFO] [stderr] Downloaded ttf-parser v0.3.0 [INFO] [stderr] Downloaded raqote v0.7.14 [INFO] [stderr] Downloaded unicode-script v0.5.0 [INFO] [stderr] Downloaded xmlparser v0.13.1 [INFO] [stderr] Downloaded roxmltree v0.9.1 [INFO] [stderr] Downloaded fern v0.5.8 [INFO] [stderr] Downloaded rgb v0.8.17 [INFO] [stderr] Downloaded kurbo v0.5.11 [INFO] [stderr] Downloaded cmake v0.1.42 [INFO] [stderr] Downloaded usvg v0.9.0 [INFO] [stderr] Downloaded pico-args v0.2.0 [INFO] [stderr] Downloaded resvg-skia v0.9.0 [INFO] [stderr] Downloaded sw-composite v0.7.8 [INFO] [stderr] Downloaded euclid v0.20.10 [INFO] [stderr] Downloaded lyon_geom v0.15.2 [INFO] [stderr] Downloaded harfbuzz_rs v1.0.1 [INFO] [stderr] Downloaded resvg-qt v0.9.0 [INFO] [stderr] Downloaded resvg v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df1ab459666b0dc06eb745e354b553804d358964a01c7317a0d580a699e87d6d [INFO] running `Command { std: "docker" "start" "-a" "df1ab459666b0dc06eb745e354b553804d358964a01c7317a0d580a699e87d6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df1ab459666b0dc06eb745e354b553804d358964a01c7317a0d580a699e87d6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df1ab459666b0dc06eb745e354b553804d358964a01c7317a0d580a699e87d6d", kill_on_drop: false }` [INFO] [stdout] df1ab459666b0dc06eb745e354b553804d358964a01c7317a0d580a699e87d6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6af72593d8a3c7a3a1d04a2b4ec85faa236f79f479d7371ea05240592ca7e974 [INFO] running `Command { std: "docker" "start" "-a" "6af72593d8a3c7a3a1d04a2b4ec85faa236f79f479d7371ea05240592ca7e974", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking float-cmp v0.5.3 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking siphasher v0.2.3 [INFO] [stderr] Checking xmlparser v0.13.1 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking unicode-script v0.5.0 [INFO] [stderr] Checking rgb v0.8.17 [INFO] [stderr] Checking xmlwriter v0.1.0 [INFO] [stderr] Checking unicode-vo v0.1.0 [INFO] [stderr] Checking ttf-parser v0.3.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking rctree v0.3.3 [INFO] [stderr] Checking pico-args v0.2.0 [INFO] [stderr] Checking data-url v0.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking svgtypes v0.5.0 [INFO] [stderr] Checking kurbo v0.5.11 [INFO] [stderr] Checking svgfilters v0.1.0 [INFO] [stderr] Checking roxmltree v0.9.1 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Checking simplecss v0.2.0 [INFO] [stderr] Checking fern v0.5.8 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling harfbuzz-sys v0.3.4 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking freetype v0.4.1 [INFO] [stderr] Checking harfbuzz_rs v1.0.1 [INFO] [stderr] Checking usvg v0.9.0 [INFO] [stderr] Checking resvg v0.9.0 [INFO] [stderr] Checking rendersvg-meetmangukiya v0.9.1 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `rendersvg_meetmangukiya` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/main.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0425]: cannot find value `opt` in this scope [INFO] [stderr] --> src/main.rs:80:46 [INFO] [stderr] | [INFO] [stderr] 80 | usvg::Tree::from_file(&args.in_svg, &opt.usvg).map_err(|e| e.to_string()) [INFO] [stderr] | ^^^ help: a local variable with a similar name exists: `_opt` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `backend` in this scope [INFO] [stderr] --> src/main.rs:100:37 [INFO] [stderr] | [INFO] [stderr] 100 | timed!("Rendering", backend.render_node_to_image(&node, &opt)) [INFO] [stderr] | ^^^^^^^ help: a local variable with a similar name exists: `_backend` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `opt` in this scope [INFO] [stderr] --> src/main.rs:100:74 [INFO] [stderr] | [INFO] [stderr] 100 | timed!("Rendering", backend.render_node_to_image(&node, &opt)) [INFO] [stderr] | ^^^ help: a local variable with a similar name exists: `_opt` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `backend` in this scope [INFO] [stderr] --> src/main.rs:105:33 [INFO] [stderr] | [INFO] [stderr] 105 | timed!("Rendering", backend.render_to_image(&tree, &opt)) [INFO] [stderr] | ^^^^^^^ help: a local variable with a similar name exists: `_backend` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `opt` in this scope [INFO] [stderr] --> src/main.rs:105:65 [INFO] [stderr] | [INFO] [stderr] 105 | timed!("Rendering", backend.render_to_image(&tree, &opt)) [INFO] [stderr] | ^^^ help: a local variable with a similar name exists: `_opt` [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/main.rs:17:40 [INFO] [stderr] | [INFO] [stderr] 17 | return Err(format!("{}", $msg)); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 38 | bail!("rendersvg has been built without any backends") [INFO] [stderr] | ------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stderr] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/main.rs:17:40 [INFO] [stderr] | [INFO] [stderr] 17 | return Err(format!("{}", $msg)); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 46 | bail!(e) [INFO] [stderr] | -------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stderr] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/main.rs:17:40 [INFO] [stderr] | [INFO] [stderr] 17 | return Err(format!("{}", $msg)); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 71 | _ => bail!("unknown backend"), [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/main.rs:20:44 [INFO] [stderr] | [INFO] [stderr] 20 | return Err(format!($fmt, $($arg)*)); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 102 | bail!("SVG doesn't have '{}' ID", id) [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stderr] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/main.rs:17:40 [INFO] [stderr] | [INFO] [stderr] 17 | return Err(format!("{}", $msg)); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 110 | None => { bail!("failed to allocate an image") } [INFO] [stderr] | ------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stderr] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/main.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 17 | return Err(format!("{}", $msg)); [INFO] [stderr] | ------------------------------- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 41 | / let (args, _opt) = match args::parse() { [INFO] [stderr] 42 | | Ok((args, opt)) => (args, opt), [INFO] [stderr] 43 | | Err(e) => { [INFO] [stderr] 44 | | args::print_help(); [INFO] [stderr] ... | [INFO] [stderr] 47 | | } [INFO] [stderr] 48 | | }; [INFO] [stderr] | |______^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors; 6 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | return Err(format!("{}", $msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 38 | bail!("rendersvg has been built without any backends") [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | return Err(format!("{}", $msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 46 | bail!(e) [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | return Err(format!("{}", $msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 71 | _ => bail!("unknown backend"), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:20:44 [INFO] [stdout] | [INFO] [stdout] 20 | return Err(format!($fmt, $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 102 | bail!("SVG doesn't have '{}' ID", id) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | return Err(format!("{}", $msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 110 | None => { bail!("failed to allocate an image") } [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | return Err(format!("{}", $msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 38 | bail!("rendersvg has been built without any backends") [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | return Err(format!("{}", $msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 46 | bail!(e) [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | return Err(format!("{}", $msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 71 | _ => bail!("unknown backend"), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:20:44 [INFO] [stdout] | [INFO] [stdout] 20 | return Err(format!($fmt, $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 102 | bail!("SVG doesn't have '{}' ID", id) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | return Err(format!("{}", $msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 110 | None => { bail!("failed to allocate an image") } [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 17 | return Err(format!("{}", $msg)); [INFO] [stdout] | ------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 41 | / let (args, opt) = match args::parse() { [INFO] [stdout] 42 | | Ok((args, opt)) => (args, opt), [INFO] [stdout] 43 | | Err(e) => { [INFO] [stdout] 44 | | args::print_help(); [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | }; [INFO] [stdout] | |______^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 17 | return Err(format!("{}", $msg)); [INFO] [stdout] | ------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 41 | / let (args, opt) = match args::parse() { [INFO] [stdout] 42 | | Ok((args, opt)) => (args, opt), [INFO] [stdout] 43 | | Err(e) => { [INFO] [stdout] 44 | | args::print_help(); [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | }; [INFO] [stdout] | |______^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt` [INFO] [stdout] --> src/main.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | let (args, opt) = match args::parse() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_opt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `backend` [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let backend: Box = match args.backend_name.as_str() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt` [INFO] [stdout] --> src/main.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | let (args, opt) = match args::parse() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_opt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `backend` [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let backend: Box = match args.backend_name.as_str() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/args.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | let mut list = Vec::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/args.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | let mut list = Vec::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.97s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking rendersvg-meetmangukiya v0.9.1 (/tmp/fixit) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | return Err(format!("{}", $msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 38 | bail!("rendersvg has been built without any backends") [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | return Err(format!("{}", $msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 38 | bail!("rendersvg has been built without any backends") [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | return Err(format!("{}", $msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 46 | bail!(e) [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | return Err(format!("{}", $msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 71 | _ => bail!("unknown backend"), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:20:44 [INFO] [stdout] | [INFO] [stdout] 20 | return Err(format!($fmt, $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 102 | bail!("SVG doesn't have '{}' ID", id) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | return Err(format!("{}", $msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 110 | None => { bail!("failed to allocate an image") } [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | return Err(format!("{}", $msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 46 | bail!(e) [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | return Err(format!("{}", $msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 71 | _ => bail!("unknown backend"), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:20:44 [INFO] [stdout] | [INFO] [stdout] 20 | return Err(format!($fmt, $($arg)*)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 102 | bail!("SVG doesn't have '{}' ID", id) [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/main.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | return Err(format!("{}", $msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 110 | None => { bail!("failed to allocate an image") } [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 17 | return Err(format!("{}", $msg)); [INFO] [stdout] | ------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 41 | / let (args, opt) = match args::parse() { [INFO] [stdout] 42 | | Ok((args, opt)) => (args, opt), [INFO] [stdout] 43 | | Err(e) => { [INFO] [stdout] 44 | | args::print_help(); [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | }; [INFO] [stdout] | |______^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 17 | return Err(format!("{}", $msg)); [INFO] [stdout] | ------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 41 | / let (args, opt) = match args::parse() { [INFO] [stdout] 42 | | Ok((args, opt)) => (args, opt), [INFO] [stdout] 43 | | Err(e) => { [INFO] [stdout] 44 | | args::print_help(); [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | }; [INFO] [stdout] | |______^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt` [INFO] [stdout] --> src/main.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | let (args, opt) = match args::parse() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_opt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `backend` [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let backend: Box = match args.backend_name.as_str() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opt` [INFO] [stdout] --> src/main.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | let (args, opt) = match args::parse() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_opt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `backend` [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let backend: Box = match args.backend_name.as_str() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_backend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/args.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | let mut list = Vec::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/args.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | let mut list = Vec::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "6af72593d8a3c7a3a1d04a2b4ec85faa236f79f479d7371ea05240592ca7e974", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6af72593d8a3c7a3a1d04a2b4ec85faa236f79f479d7371ea05240592ca7e974", kill_on_drop: false }` [INFO] [stdout] 6af72593d8a3c7a3a1d04a2b4ec85faa236f79f479d7371ea05240592ca7e974