[INFO] fetching crate svg_to_lines 0.1.0... [INFO] testing svg_to_lines-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate svg_to_lines 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate svg_to_lines 0.1.0 [INFO] removed 1 missing examples [INFO] finished tweaking crates.io crate svg_to_lines 0.1.0 [INFO] tweaked toml for crates.io crate svg_to_lines 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate svg_to_lines 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate svg_to_lines 0.1.0 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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] 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6590f20bd05e908a4fffa3e42d23ec4f7bd77287f6281670159ffcb73312f924 [INFO] running `Command { std: "docker" "start" "-a" "6590f20bd05e908a4fffa3e42d23ec4f7bd77287f6281670159ffcb73312f924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6590f20bd05e908a4fffa3e42d23ec4f7bd77287f6281670159ffcb73312f924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6590f20bd05e908a4fffa3e42d23ec4f7bd77287f6281670159ffcb73312f924", kill_on_drop: false }` [INFO] [stdout] 6590f20bd05e908a4fffa3e42d23ec4f7bd77287f6281670159ffcb73312f924 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fea456424b946021f017d2514eacb3650c005d29f6153b9f70e2a8e52f65bcaf [INFO] running `Command { std: "docker" "start" "-a" "fea456424b946021f017d2514eacb3650c005d29f6153b9f70e2a8e52f65bcaf", kill_on_drop: false }` [INFO] [stderr] Compiling float-cmp v0.5.3 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling svgtypes v0.5.0 [INFO] [stderr] Compiling svg_to_lines v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Erase` is never constructed [INFO] [stdout] --> src/svg/svg_curve.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 56 | enum MoveType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 59 | Erase, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MoveType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `svgtypes::PathSegment` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use svgtypes::PathSegment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CurvePoint` is never used [INFO] [stdout] --> src/svg/math.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait CurvePoint { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SquareCurve` is never constructed [INFO] [stdout] --> src/svg/math.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SquareCurve { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/svg/math.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl SquareCurve { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(start: Point, p1: Point, end: Point) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CubicCurve` is never constructed [INFO] [stdout] --> src/svg/math.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CubicCurve { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/svg/math.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl CubicCurve { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 37 | pub fn new(start: Point, p1: Point, p2: Point, end: Point) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EllipseCurve` is never constructed [INFO] [stdout] --> src/svg/math.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct EllipseCurve { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/svg/math.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl EllipseCurve { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 68 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ellipse_support_calc` is never used [INFO] [stdout] --> src/svg/math.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn ellipse_support_calc( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sqr` is never used [INFO] [stdout] --> src/svg/math.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn sqr(x: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `angle_between` is never used [INFO] [stdout] --> src/svg/math.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn angle_between(start: Point, end: Point) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EPSILON` is never used [INFO] [stdout] --> src/svg/math.rs:211:7 [INFO] [stdout] | [INFO] [stdout] 211 | const EPSILON: f64 = 0.05; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_point_on_lane` is never used [INFO] [stdout] --> src/svg/math.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn is_point_on_lane(lane_start: Point, lane_end: Point, p: &Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/svg/point.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `ZERO` are never used [INFO] [stdout] --> src/svg/point.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Point { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(x: f64, y: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub const ZERO: Point = Point { x: 0., y: 0. }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LineTo` is never used [INFO] [stdout] --> src/svg/svg_curve.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum LineTo { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/svg/svg_curve.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl LineTo { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 14 | fn new(point: Point, move_type: MoveType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `points_from_path_segments` is never used [INFO] [stdout] --> src/svg/svg_curve.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn points_from_path_segments( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MoveType` is never used [INFO] [stdout] --> src/svg/svg_curve.rs:56:6 [INFO] [stdout] | [INFO] [stdout] 56 | enum MoveType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SupportPoint` is never constructed [INFO] [stdout] --> src/svg/svg_curve.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | struct SupportPoint { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmptyPointIterator` is never constructed [INFO] [stdout] --> src/svg/svg_curve.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | struct EmptyPointIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LinePointIterator` is never constructed [INFO] [stdout] --> src/svg/svg_curve.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | struct LinePointIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_support` are never used [INFO] [stdout] --> src/svg/svg_curve.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 81 | impl LinePointIterator { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] 82 | fn new(end: Point, move_type: MoveType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn with_support(end: Point, move_type: MoveType, support_point: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SquareCurvePointIterator` is never constructed [INFO] [stdout] --> src/svg/svg_curve.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | struct SquareCurvePointIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CubicCurvePointIterator` is never constructed [INFO] [stdout] --> src/svg/svg_curve.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | struct CubicCurvePointIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EllipsePointIterator` is never constructed [INFO] [stdout] --> src/svg/svg_curve.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | struct EllipsePointIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PointIterator` is never used [INFO] [stdout] --> src/svg/svg_curve.rs:122:6 [INFO] [stdout] | [INFO] [stdout] 122 | enum PointIterator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `support_point`, `end_position`, and `move_type` are never used [INFO] [stdout] --> src/svg/svg_curve.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 131 | impl PointIterator { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 132 | //support point is always in absolute [INFO] [stdout] 133 | fn support_point(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn end_position(&self) -> Point { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | fn move_type(&self) -> MoveType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_point_iterator` is never used [INFO] [stdout] --> src/svg/svg_curve.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn calc_point_iterator( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_to` is never used [INFO] [stdout] --> src/svg/svg_curve.rs:259:4 [INFO] [stdout] | [INFO] [stdout] 259 | fn move_to(current: Point, abs: bool, x: f64, y: f64) -> PointIterator { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_to` is never used [INFO] [stdout] --> src/svg/svg_curve.rs:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | fn line_to(current: Point, abs: bool, x: f64, y: f64) -> PointIterator { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cubic_curve_to` is never used [INFO] [stdout] --> src/svg/svg_curve.rs:269:4 [INFO] [stdout] | [INFO] [stdout] 269 | fn cubic_curve_to( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `smooth_cubic_curve_to` is never used [INFO] [stdout] --> src/svg/svg_curve.rs:309:4 [INFO] [stdout] | [INFO] [stdout] 309 | fn smooth_cubic_curve_to( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quadratic_curve_to` is never used [INFO] [stdout] --> src/svg/svg_curve.rs:323:4 [INFO] [stdout] | [INFO] [stdout] 323 | fn quadratic_curve_to( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `smooth_quadratic_curve_to` is never used [INFO] [stdout] --> src/svg/svg_curve.rs:358:4 [INFO] [stdout] | [INFO] [stdout] 358 | fn smooth_quadratic_curve_to( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ellipse_curve_to` is never used [INFO] [stdout] --> src/svg/svg_curve.rs:370:4 [INFO] [stdout] | [INFO] [stdout] 370 | fn ellipse_curve_to( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `absolute_point_coord` is never used [INFO] [stdout] --> src/svg/svg_curve.rs:423:4 [INFO] [stdout] | [INFO] [stdout] 423 | fn absolute_point_coord(start: Point, abs: bool, x: f64, y: f64) -> Point { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CurveType` is never used [INFO] [stdout] --> src/svg/svg_curve.rs:430:6 [INFO] [stdout] | [INFO] [stdout] 430 | enum CurveType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_command_condition` is never used [INFO] [stdout] --> src/svg/svg_curve.rs:435:4 [INFO] [stdout] | [INFO] [stdout] 435 | fn path_command_condition(prev_support_point: &SupportPoint, curve_type: CurveType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mirrored_point` is never used [INFO] [stdout] --> src/svg/svg_curve.rs:449:4 [INFO] [stdout] | [INFO] [stdout] 449 | fn mirrored_point( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TickTimer` is never constructed [INFO] [stdout] --> src/svg/tick_timer.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct TickTimer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `TICK_PERIOD` is never used [INFO] [stdout] --> src/svg/tick_timer.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 11 | impl TickTimer { [INFO] [stdout] | -------------- associated constant in this implementation [INFO] [stdout] 12 | const TICK_PERIOD: f64 = 0.001; //todo: number of ticks should be calculated based on curve length [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.36s [INFO] running `Command { std: "docker" "inspect" "fea456424b946021f017d2514eacb3650c005d29f6153b9f70e2a8e52f65bcaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fea456424b946021f017d2514eacb3650c005d29f6153b9f70e2a8e52f65bcaf", kill_on_drop: false }` [INFO] [stdout] fea456424b946021f017d2514eacb3650c005d29f6153b9f70e2a8e52f65bcaf [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1238005c90866dfce270264e783f567ace7b6ef9ad45ae396a1eb13e088aab39 [INFO] running `Command { std: "docker" "start" "-a" "1238005c90866dfce270264e783f567ace7b6ef9ad45ae396a1eb13e088aab39", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling bindgen v0.52.0 [INFO] [stderr] Compiling curl v0.4.25 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.3.5 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling curl-sys v0.4.24 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling filetime v0.2.8 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling which v3.1.0 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] warning: openssl-sys@0.9.53: build/expando.c:4:24: error: pasting "RUST_VERSION_OPENSSL_" and "(" does not give a valid preprocessing token [INFO] [stderr] warning: openssl-sys@0.9.53: 4 | #define VERSION2(n, v) RUST_VERSION_##n##_##v [INFO] [stderr] warning: openssl-sys@0.9.53: | ^~~~~~~~~~~~~ [INFO] [stderr] warning: openssl-sys@0.9.53: build/expando.c:5:23: note: in expansion of macro 'VERSION2' [INFO] [stderr] warning: openssl-sys@0.9.53: 5 | #define VERSION(n, v) VERSION2(n, v) [INFO] [stderr] warning: openssl-sys@0.9.53: | ^~~~~~~~ [INFO] [stderr] warning: openssl-sys@0.9.53: build/expando.c:10:1: note: in expansion of macro 'VERSION' [INFO] [stderr] warning: openssl-sys@0.9.53: 10 | VERSION(OPENSSL, OPENSSL_VERSION_NUMBER) [INFO] [stderr] warning: openssl-sys@0.9.53: | ^~~~~~~ [INFO] [stderr] error: failed to run custom build command for `openssl-sys v0.9.53` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_TEST_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/openssl-sys-e194e381c1232480/build-script-main` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rustc-cfg=const_fn [INFO] [stderr] cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR [INFO] [stderr] X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR unset [INFO] [stderr] cargo:rerun-if-env-changed=OPENSSL_LIB_DIR [INFO] [stderr] OPENSSL_LIB_DIR unset [INFO] [stderr] cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR [INFO] [stderr] X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR unset [INFO] [stderr] cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR [INFO] [stderr] OPENSSL_INCLUDE_DIR unset [INFO] [stderr] cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR [INFO] [stderr] X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR unset [INFO] [stderr] cargo:rerun-if-env-changed=OPENSSL_DIR [INFO] [stderr] OPENSSL_DIR unset [INFO] [stderr] cargo:rustc-link-lib=ssl [INFO] [stderr] cargo:rustc-link-lib=crypto [INFO] [stderr] OPT_LEVEL = Some("0") [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] CC_x86_64-unknown-linux-gnu = None [INFO] [stderr] CC_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CC = None [INFO] [stderr] CC = None [INFO] [stderr] CFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] CFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] HOST_CFLAGS = None [INFO] [stderr] CFLAGS = None [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] DEBUG = Some("false") [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2,x87") [INFO] [stderr] running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "/usr/include" "-Wall" "-Wextra" "-E" "build/expando.c" [INFO] [stderr] cargo:warning=build/expando.c:4:24: error: pasting "RUST_VERSION_OPENSSL_" and "(" does not give a valid preprocessing token [INFO] [stderr] cargo:warning= 4 | #define VERSION2(n, v) RUST_VERSION_##n##_##v [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=build/expando.c:5:23: note: in expansion of macro 'VERSION2' [INFO] [stderr] cargo:warning= 5 | #define VERSION(n, v) VERSION2(n, v) [INFO] [stderr] cargo:warning= | ^~~~~~~~ [INFO] [stderr] cargo:warning=build/expando.c:10:1: note: in expansion of macro 'VERSION' [INFO] [stderr] cargo:warning= 10 | VERSION(OPENSSL, OPENSSL_VERSION_NUMBER) [INFO] [stderr] cargo:warning= | ^~~~~~~ [INFO] [stderr] exit status: 1 [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] thread 'main' (1094) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openssl-sys-0.9.53/build/main.rs:126:13: [INFO] [stderr] [INFO] [stderr] Header expansion error: [INFO] [stderr] Error { kind: ToolExecError, message: "Command \"cc\" \"-O0\" \"-ffunction-sections\" \"-fdata-sections\" \"-fPIC\" \"-m64\" \"-I\" \"/usr/include\" \"-Wall\" \"-Wextra\" \"-E\" \"build/expando.c\" with args \"cc\" did not execute successfully (status code exit status: 1)." } [INFO] [stderr] [INFO] [stderr] Failed to find OpenSSL development headers. [INFO] [stderr] [INFO] [stderr] You can try fixing this setting the `OPENSSL_DIR` environment variable [INFO] [stderr] pointing to your OpenSSL installation or installing OpenSSL headers package [INFO] [stderr] specific to your distribution: [INFO] [stderr] [INFO] [stderr] # On Ubuntu [INFO] [stderr] sudo apt-get install libssl-dev [INFO] [stderr] # On Arch Linux [INFO] [stderr] sudo pacman -S openssl [INFO] [stderr] # On Fedora [INFO] [stderr] sudo dnf install openssl-devel [INFO] [stderr] [INFO] [stderr] See rust-openssl README for more information: [INFO] [stderr] [INFO] [stderr] https://github.com/sfackler/rust-openssl#linux [INFO] [stderr] [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x592b4b418902 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stderr] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x592b4b418902 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stderr] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x592b4b418902 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stderr] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x592b4b418902 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stderr] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x592b4b428a9f - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stderr] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x592b4b428a9f - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stderr] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stderr] 6: 0x592b4b3e8e73 - std::io::default_write_fmt::hb29d13affe7e9cd0 [INFO] [stderr] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x592b4b3e8e73 - std::io::Write::write_fmt::hec441b8c6eca32b9 [INFO] [stderr] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x592b4b3f3762 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stderr] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x592b4b3f640f - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stderr] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x592b4b3f6269 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stderr] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x592b4b3f69e5 - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stderr] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:834:13 [INFO] [stderr] 12: 0x592b4b3f687a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stderr] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stderr] 13: 0x592b4b3f3899 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stderr] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 14: 0x592b4b3dd48d - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stderr] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stderr] 15: 0x592b4b42c7c0 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stderr] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stderr] 16: 0x592b4b3793b2 - build_script_main::validate_headers::h3441c9232f76550f [INFO] [stderr] 17: 0x592b4b37a6e4 - build_script_main::find::try_pkg_config::hb767625658b9015d [INFO] [stderr] 18: 0x592b4b37aaa8 - build_script_main::find::find_openssl_dir::h763fdfbcb6803493 [INFO] [stderr] 19: 0x592b4b37a177 - build_script_main::find::get_openssl::{{closure}}::h39cb16d0a65465e7 [INFO] [stderr] 20: 0x592b4b382ef9 - core::option::Option::unwrap_or_else::h7d30ff084e0d7305 [INFO] [stderr] 21: 0x592b4b379f71 - build_script_main::find::get_openssl::hbce52fe4119744e3 [INFO] [stderr] 22: 0x592b4b37bc99 - build_script_main::main::h5df13f18acb71d13 [INFO] [stderr] 23: 0x592b4b381653 - core::ops::function::FnOnce::call_once::h03b246a5268f9b3e [INFO] [stderr] 24: 0x592b4b381366 - std::sys::backtrace::__rust_begin_short_backtrace::h984b06891a1663ae [INFO] [stderr] 25: 0x592b4b3810d9 - std::rt::lang_start::{{closure}}::h6f3a13f7ff8fbc09 [INFO] [stderr] 26: 0x592b4b3ea530 - core::ops::function::impls:: for &F>::call_once::h9095abc9db71b07e [INFO] [stderr] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:287:21 [INFO] [stderr] 27: 0x592b4b3ea530 - std::panicking::catch_unwind::do_call::h6cf5dc461761418c [INFO] [stderr] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stderr] 28: 0x592b4b3ea530 - std::panicking::catch_unwind::h60074fd2327f40bd [INFO] [stderr] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stderr] 29: 0x592b4b3ea530 - std::panic::catch_unwind::heb14fa8e39d051cf [INFO] [stderr] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stderr] 30: 0x592b4b3ea530 - std::rt::lang_start_internal::{{closure}}::hfb550bec36306a19 [INFO] [stderr] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/rt.rs:175:24 [INFO] [stderr] 31: 0x592b4b3ea530 - std::panicking::catch_unwind::do_call::hc805f36f35b6d647 [INFO] [stderr] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stderr] 32: 0x592b4b3ea530 - std::panicking::catch_unwind::hb8d32f0195463ad2 [INFO] [stderr] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stderr] 33: 0x592b4b3ea530 - std::panic::catch_unwind::hcebe3b1d5adfc5a2 [INFO] [stderr] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stderr] 34: 0x592b4b3ea530 - std::rt::lang_start_internal::h27f55ed238aa26df [INFO] [stderr] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/rt.rs:171:5 [INFO] [stderr] 35: 0x592b4b3810c1 - std::rt::lang_start::hfddd7b39c78e8535 [INFO] [stderr] 36: 0x592b4b3806c5 - main [INFO] [stderr] 37: 0x7a032280c1ca - [INFO] [stderr] 38: 0x7a032280c28b - __libc_start_main [INFO] [stderr] 39: 0x592b4b377045 - _start [INFO] [stderr] 40: 0x0 - [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/socket2-0.3.11/src/sockaddr.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | mem::transmute::(v4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `SocketAddrV4` (48 bits) [INFO] [stdout] = note: target type: `sockaddr_in` (128 bits) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0512`. [INFO] [stdout] [INFO] [stderr] error: could not compile `socket2` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "1238005c90866dfce270264e783f567ace7b6ef9ad45ae396a1eb13e088aab39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1238005c90866dfce270264e783f567ace7b6ef9ad45ae396a1eb13e088aab39", kill_on_drop: false }` [INFO] [stdout] 1238005c90866dfce270264e783f567ace7b6ef9ad45ae396a1eb13e088aab39