[INFO] cloning repository https://github.com/MentorEmbedded/flex_package_source [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MentorEmbedded/flex_package_source" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMentorEmbedded%2Fflex_package_source", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMentorEmbedded%2Fflex_package_source'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f07005bc7a42110640655373d67c236125581c71 [INFO] checking MentorEmbedded/flex_package_source against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMentorEmbedded%2Fflex_package_source" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 46% (5970/12842) Updating files: 47% (6036/12842) Updating files: 48% (6165/12842) Updating files: 49% (6293/12842) Updating files: 50% (6421/12842) Updating files: 51% (6550/12842) Updating files: 52% (6678/12842) Updating files: 53% (6807/12842) Updating files: 54% (6935/12842) Updating files: 55% (7064/12842) Updating files: 56% (7192/12842) Updating files: 57% (7320/12842) Updating files: 58% (7449/12842) Updating files: 59% (7577/12842) Updating files: 60% (7706/12842) Updating files: 61% (7834/12842) Updating files: 62% (7963/12842) Updating files: 63% (8091/12842) Updating files: 64% (8219/12842) Updating files: 65% (8348/12842) Updating files: 66% (8476/12842) Updating files: 67% (8605/12842) Updating files: 68% (8733/12842) Updating files: 69% (8861/12842) Updating files: 70% (8990/12842) Updating files: 71% (9118/12842) Updating files: 72% (9247/12842) Updating files: 73% (9375/12842) Updating files: 74% (9504/12842) Updating files: 75% (9632/12842) Updating files: 76% (9760/12842) Updating files: 77% (9889/12842) Updating files: 78% (10017/12842) Updating files: 79% (10146/12842) Updating files: 80% (10274/12842) Updating files: 81% (10403/12842) Updating files: 82% (10531/12842) Updating files: 83% (10659/12842) Updating files: 84% (10788/12842) Updating files: 85% (10916/12842) Updating files: 86% (11045/12842) Updating files: 87% (11173/12842) Updating files: 88% (11301/12842) Updating files: 89% (11430/12842) Updating files: 90% (11558/12842) Updating files: 91% (11687/12842) Updating files: 92% (11815/12842) Updating files: 93% (11944/12842) Updating files: 94% (12072/12842) Updating files: 95% (12200/12842) Updating files: 96% (12329/12842) Updating files: 97% (12457/12842) Updating files: 98% (12586/12842) Updating files: 99% (12714/12842) Updating files: 99% (12781/12842) Updating files: 100% (12842/12842) Updating files: 100% (12842/12842), done. [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/MentorEmbedded/flex_package_source [INFO] finished tweaking git repo https://github.com/MentorEmbedded/flex_package_source [INFO] tweaked toml for git repo https://github.com/MentorEmbedded/flex_package_source written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MentorEmbedded/flex_package_source on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MentorEmbedded/flex_package_source already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] df1f2aac29aa28551ecde4405c40362fd4cbecbc8c32ece94913fd04e123e213 [INFO] running `Command { std: "docker" "start" "df1f2aac29aa28551ecde4405c40362fd4cbecbc8c32ece94913fd04e123e213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df1f2aac29aa28551ecde4405c40362fd4cbecbc8c32ece94913fd04e123e213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "df1f2aac29aa28551ecde4405c40362fd4cbecbc8c32ece94913fd04e123e213" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df1f2aac29aa28551ecde4405c40362fd4cbecbc8c32ece94913fd04e123e213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "df1f2aac29aa28551ecde4405c40362fd4cbecbc8c32ece94913fd04e123e213" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling syn v1.0.93 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling strum v0.21.0 [INFO] [stderr] Compiling version-compare v0.0.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking futures-channel v0.3.21 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling cfg-expr v0.8.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Compiling rayon-core v1.9.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Compiling cfg-expr v0.10.2 [INFO] [stderr] Checking safe_arch v0.6.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling rayon v1.5.2 [INFO] [stderr] Compiling gio v0.14.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Checking wide v0.7.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking dtoa-short v0.3.3 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.1 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking servo_arc v0.1.1 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking predicates-core v1.0.3 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Checking locale_config v0.3.0 [INFO] [stderr] Checking rgb v0.8.32 [INFO] [stderr] Checking data-url v0.1.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling selectors v0.23.0 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v2.11.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking rctree v0.4.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking termtree v0.2.4 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking predicates v2.1.1 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking predicates-tree v1.0.5 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking flate2 v1.0.23 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking pom v3.2.0 [INFO] [stderr] Checking const-cstr v0.3.0 [INFO] [stderr] Checking png v0.17.5 [INFO] [stderr] Checking simba v0.6.0 [INFO] [stderr] Checking proptest v1.0.0 [INFO] [stderr] Compiling test-generator v0.3.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling cssparser v0.28.1 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Checking lopdf v0.26.0 [INFO] [stderr] Checking nalgebra v0.29.0 [INFO] [stderr] Checking string_cache v0.8.4 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking assert_cmd v2.0.4 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking xml5ever v0.16.2 [INFO] [stderr] Compiling system-deps v3.2.0 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling system-deps v6.0.2 [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stderr] Compiling glib-macros v0.14.1 [INFO] [stderr] Compiling glib-sys v0.14.0 [INFO] [stderr] Compiling gobject-sys v0.14.0 [INFO] [stderr] Compiling gio-sys v0.14.0 [INFO] [stderr] Compiling pango-sys v0.14.0 [INFO] [stderr] Compiling cairo-sys-rs v0.14.9 [INFO] [stderr] Compiling pangocairo-sys v0.14.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.14.0 [INFO] [stderr] Compiling librsvg v2.52.10 (/opt/rustwide/workdir) [INFO] [stderr] Checking glib v0.14.8 [INFO] [stderr] Checking pango v0.14.8 [INFO] [stderr] Checking cairo-rs v0.14.9 [INFO] [stderr] Checking pangocairo v0.14.0 [INFO] [stderr] Checking gdk-pixbuf v0.14.0 [INFO] [stdout] warning: unused import: `rsvg_log` [INFO] [stdout] --> src/c_api/handle.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | rsvg_log, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:145:46 [INFO] [stdout] | [INFO] [stdout] 145 | #![warn(nonstandard_style, rust_2018_idioms, unused)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ignore` [INFO] [stdout] --> src/element.rs:810:7 [INFO] [stdout] | [INFO] [stdout] 810 | #[cfg(ignore)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ignore)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ignore)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::i32`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/c_api/handle.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | use std::{f64, i32}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::isize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/c_api/handle.rs:1647:33 [INFO] [stdout] | [INFO] [stdout] 1647 | data_len <= std::isize::MAX as usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::isize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/c_api/handle.rs:1661:37 [INFO] [stdout] | [INFO] [stdout] 1661 | assert!(data_len <= std::isize::MAX as usize); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64` [INFO] [stdout] --> src/c_api/handle.rs:341:30 [INFO] [stdout] | [INFO] [stdout] 341 | f64::MAX, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64` [INFO] [stdout] --> src/c_api/handle.rs:350:30 [INFO] [stdout] | [INFO] [stdout] 350 | f64::MAX, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::i32::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/c_api/handle.rs:366:30 [INFO] [stdout] | [INFO] [stdout] 366 | i32::MAX, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::i32::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/c_api/handle.rs:375:30 [INFO] [stdout] | [INFO] [stdout] 375 | i32::MAX, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64` [INFO] [stdout] --> src/c_api/handle.rs:384:30 [INFO] [stdout] | [INFO] [stdout] 384 | f64::MAX, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64` [INFO] [stdout] --> src/c_api/handle.rs:393:30 [INFO] [stdout] | [INFO] [stdout] 393 | f64::MAX, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::EPSILON`: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/path_builder.rs:142:27 [INFO] [stdout] | [INFO] [stdout] 142 | if rx * rx < f64::EPSILON || ry * ry < f64::EPSILON { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::EPSILON`: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/path_builder.rs:142:53 [INFO] [stdout] | [INFO] [stdout] 142 | if rx * rx < f64::EPSILON || ry * ry < f64::EPSILON { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rsvg_log` [INFO] [stdout] --> src/c_api/handle.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | rsvg_log, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:145:46 [INFO] [stdout] | [INFO] [stdout] 145 | #![warn(nonstandard_style, rust_2018_idioms, unused)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ignore` [INFO] [stdout] --> src/element.rs:810:7 [INFO] [stdout] | [INFO] [stdout] 810 | #[cfg(ignore)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 34 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ignore)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ignore)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::i32`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/c_api/handle.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | use std::{f64, i32}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::isize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/c_api/handle.rs:1647:33 [INFO] [stdout] | [INFO] [stdout] 1647 | data_len <= std::isize::MAX as usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::isize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/c_api/handle.rs:1661:37 [INFO] [stdout] | [INFO] [stdout] 1661 | assert!(data_len <= std::isize::MAX as usize); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64` [INFO] [stdout] --> src/c_api/handle.rs:341:30 [INFO] [stdout] | [INFO] [stdout] 341 | f64::MAX, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64` [INFO] [stdout] --> src/c_api/handle.rs:350:30 [INFO] [stdout] | [INFO] [stdout] 350 | f64::MAX, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::i32::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/c_api/handle.rs:366:30 [INFO] [stdout] | [INFO] [stdout] 366 | i32::MAX, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::i32::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/c_api/handle.rs:375:30 [INFO] [stdout] | [INFO] [stdout] 375 | i32::MAX, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64` [INFO] [stdout] --> src/c_api/handle.rs:384:30 [INFO] [stdout] | [INFO] [stdout] 384 | f64::MAX, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::MAX`: replaced by the `MAX` associated constant on `f64` [INFO] [stdout] --> src/c_api/handle.rs:393:30 [INFO] [stdout] | [INFO] [stdout] 393 | f64::MAX, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::EPSILON`: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/path_builder.rs:142:27 [INFO] [stdout] | [INFO] [stdout] 142 | if rx * rx < f64::EPSILON || ry * ry < f64::EPSILON { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::EPSILON`: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/path_builder.rs:142:53 [INFO] [stdout] | [INFO] [stdout] 142 | if rx * rx < f64::EPSILON || ry * ry < f64::EPSILON { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::f64::EPSILON`: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/transform.rs:709:34 [INFO] [stdout] | [INFO] [stdout] 709 | let epsilon = 8.0 * f64::EPSILON; // kind of arbitrary, but allow for some sloppiness [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/filters/morphology.rs:124:44 [INFO] [stdout] | [INFO] [stdout] 124 | Operator::Erode => u8::max_value(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::num::::min_value`: replaced by the `MIN` associated constant on this type [INFO] [stdout] --> src/filters/morphology.rs:125:45 [INFO] [stdout] | [INFO] [stdout] 125 | Operator::Dilate => u8::min_value(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::num::::min_value`: replaced by the `MIN` associated constant on this type [INFO] [stdout] --> src/filters/turbulence.rs:94:40 [INFO] [stdout] | [INFO] [stdout] 94 | f64::from(i32::min_value()), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/filters/turbulence.rs:95:40 [INFO] [stdout] | [INFO] [stdout] 95 | f64::from(i32::max_value()), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/filters/morphology.rs:124:44 [INFO] [stdout] | [INFO] [stdout] 124 | Operator::Erode => u8::max_value(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::num::::min_value`: replaced by the `MIN` associated constant on this type [INFO] [stdout] --> src/filters/morphology.rs:125:45 [INFO] [stdout] | [INFO] [stdout] 125 | Operator::Dilate => u8::min_value(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::num::::min_value`: replaced by the `MIN` associated constant on this type [INFO] [stdout] --> src/filters/turbulence.rs:94:40 [INFO] [stdout] | [INFO] [stdout] 94 | f64::from(i32::min_value()), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/filters/turbulence.rs:95:40 [INFO] [stdout] | [INFO] [stdout] 95 | f64::from(i32::max_value()), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CAIRO_MAGIC_NUMBER_FIXED` is never used [INFO] [stdout] --> src/float_eq_cairo.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const CAIRO_MAGIC_NUMBER_FIXED: f64 = (1u64 << (52 - CAIRO_FIXED_FRAC_BITS)) as f64 * 1.5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cairo_magic_double` is never used [INFO] [stdout] --> src/float_eq_cairo.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn cairo_magic_double(d: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cairo_fixed_from_double` is never used [INFO] [stdout] --> src/float_eq_cairo.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn cairo_fixed_from_double(d: f64) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FixedEqCairo` is never used [INFO] [stdout] --> src/float_eq_cairo.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub trait FixedEqCairo { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/css.rs:157:14 [INFO] [stdout] | [INFO] [stdout] 157 | Selector(selectors::parser::SelectorParseErrorKind<'i>), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 157 - Selector(selectors::parser::SelectorParseErrorKind<'i>), [INFO] [stdout] 157 + Selector(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Transform` is never constructed [INFO] [stdout] --> src/property_defs.rs:1061:5 [INFO] [stdout] | [INFO] [stdout] 1061 | Transform, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_property` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `RsvgLength` [INFO] [stdout] --> src/c_api/handle.rs:1763:46 [INFO] [stdout] | [INFO] [stdout] 1763 | set_out_param(out_has_width, out_width, &w.map(Into::into)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 1763 - set_out_param(out_has_width, out_width, &w.map(Into::into)); [INFO] [stdout] 1763 + set_out_param(out_has_width, out_width, &w); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `RsvgLength` [INFO] [stdout] --> src/c_api/handle.rs:1764:48 [INFO] [stdout] | [INFO] [stdout] 1764 | set_out_param(out_has_height, out_height, &h.map(Into::into)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 1764 - set_out_param(out_has_height, out_height, &h.map(Into::into)); [INFO] [stdout] 1764 + set_out_param(out_has_height, out_height, &h); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/xml/xml2_load.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 371 | Box::from_raw(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` implied by `#[warn(unused)]` [INFO] [stdout] help: use `let _unused = ...` to ignore the resulting value without dropping it immediately [INFO] [stdout] | [INFO] [stdout] 371 | let _unused = Box::from_raw(ctx); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `librsvg` (lib) due to 2 previous errors; 24 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/css.rs:157:14 [INFO] [stdout] | [INFO] [stdout] 157 | Selector(selectors::parser::SelectorParseErrorKind<'i>), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 157 - Selector(selectors::parser::SelectorParseErrorKind<'i>), [INFO] [stdout] 157 + Selector(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Transform` is never constructed [INFO] [stdout] --> src/property_defs.rs:1061:5 [INFO] [stdout] | [INFO] [stdout] 1061 | Transform, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_property` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `RsvgLength` [INFO] [stdout] --> src/c_api/handle.rs:1763:46 [INFO] [stdout] | [INFO] [stdout] 1763 | set_out_param(out_has_width, out_width, &w.map(Into::into)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 1763 - set_out_param(out_has_width, out_width, &w.map(Into::into)); [INFO] [stdout] 1763 + set_out_param(out_has_width, out_width, &w); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `RsvgLength` [INFO] [stdout] --> src/c_api/handle.rs:1764:48 [INFO] [stdout] | [INFO] [stdout] 1764 | set_out_param(out_has_height, out_height, &h.map(Into::into)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 1764 - set_out_param(out_has_height, out_height, &h.map(Into::into)); [INFO] [stdout] 1764 + set_out_param(out_has_height, out_height, &h); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/xml/xml2_load.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 371 | Box::from_raw(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` implied by `#[warn(unused)]` [INFO] [stdout] help: use `let _unused = ...` to ignore the resulting value without dropping it immediately [INFO] [stdout] | [INFO] [stdout] 371 | let _unused = Box::from_raw(ctx); [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `librsvg` (lib test) due to 2 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "df1f2aac29aa28551ecde4405c40362fd4cbecbc8c32ece94913fd04e123e213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df1f2aac29aa28551ecde4405c40362fd4cbecbc8c32ece94913fd04e123e213", kill_on_drop: false }` [INFO] [stdout] df1f2aac29aa28551ecde4405c40362fd4cbecbc8c32ece94913fd04e123e213