[INFO] fetching crate svg-simple-parser 0.0.6... [INFO] testing svg-simple-parser-0.0.6 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate svg-simple-parser 0.0.6 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate svg-simple-parser 0.0.6 [INFO] finished tweaking crates.io crate svg-simple-parser 0.0.6 [INFO] tweaked toml for crates.io crate svg-simple-parser 0.0.6 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate svg-simple-parser 0.0.6 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate svg-simple-parser 0.0.6 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56c2f5cc01a43e2897870e37a185b63e420cd8c686a0c0d82f5e84e3b8c058b0 [INFO] running `Command { std: "docker" "start" "-a" "56c2f5cc01a43e2897870e37a185b63e420cd8c686a0c0d82f5e84e3b8c058b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56c2f5cc01a43e2897870e37a185b63e420cd8c686a0c0d82f5e84e3b8c058b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56c2f5cc01a43e2897870e37a185b63e420cd8c686a0c0d82f5e84e3b8c058b0", kill_on_drop: false }` [INFO] [stdout] 56c2f5cc01a43e2897870e37a185b63e420cd8c686a0c0d82f5e84e3b8c058b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86c47ee8ef99eee433fc3b3e8b0512652fb5ef9ed17731ed8ef927a014ce6d26 [INFO] running `Command { std: "docker" "start" "-a" "86c47ee8ef99eee433fc3b3e8b0512652fb5ef9ed17731ed8ef927a014ce6d26", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling svg-simple-parser v0.0.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parse.rs:127:69 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn single_element<'a, E>(input: &'a str) -> IResult<&'a str, Rc, E> [INFO] [stdout] | -- -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 127 | pub fn single_element<'a, E>(input: &'a str) -> IResult<&'a str, Rc>, E> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parse.rs:170:69 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn double_element<'a, E>(input: &'a str) -> IResult<&'a str, Rc, E> [INFO] [stdout] | -- -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 170 | pub fn double_element<'a, E>(input: &'a str) -> IResult<&'a str, Rc>, E> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parse.rs:186:58 [INFO] [stdout] | [INFO] [stdout] 186 | fn element<'a, E>(input: &'a str) -> IResult<&'a str, Rc, E> [INFO] [stdout] | -- -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 186 | fn element<'a, E>(input: &'a str) -> IResult<&'a str, Rc>, E> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parse.rs:197:67 [INFO] [stdout] | [INFO] [stdout] 197 | fn element_list<'a, E>(input: &'a str) -> IResult<&'a str, Vec>, E> [INFO] [stdout] | -- -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 197 | fn element_list<'a, E>(input: &'a str) -> IResult<&'a str, Vec>>, E> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parse.rs:235:57 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn parse<'a>(input: &'a str) -> IResult<&'a str, Rc> { [INFO] [stdout] | -- -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 235 | pub fn parse<'a>(input: &'a str) -> IResult<&'a str, Rc>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.69s [INFO] running `Command { std: "docker" "inspect" "86c47ee8ef99eee433fc3b3e8b0512652fb5ef9ed17731ed8ef927a014ce6d26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86c47ee8ef99eee433fc3b3e8b0512652fb5ef9ed17731ed8ef927a014ce6d26", kill_on_drop: false }` [INFO] [stdout] 86c47ee8ef99eee433fc3b3e8b0512652fb5ef9ed17731ed8ef927a014ce6d26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24ffe1702d090ef9eeaedb484a2350e974c5e9bf469e035871a44936bfdecca9 [INFO] running `Command { std: "docker" "start" "-a" "24ffe1702d090ef9eeaedb484a2350e974c5e9bf469e035871a44936bfdecca9", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parse.rs:127:69 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn single_element<'a, E>(input: &'a str) -> IResult<&'a str, Rc, E> [INFO] [stdout] | -- -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 127 | pub fn single_element<'a, E>(input: &'a str) -> IResult<&'a str, Rc>, E> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parse.rs:170:69 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn double_element<'a, E>(input: &'a str) -> IResult<&'a str, Rc, E> [INFO] [stdout] | -- -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 170 | pub fn double_element<'a, E>(input: &'a str) -> IResult<&'a str, Rc>, E> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parse.rs:186:58 [INFO] [stdout] | [INFO] [stdout] 186 | fn element<'a, E>(input: &'a str) -> IResult<&'a str, Rc, E> [INFO] [stdout] | -- -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 186 | fn element<'a, E>(input: &'a str) -> IResult<&'a str, Rc>, E> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parse.rs:197:67 [INFO] [stdout] | [INFO] [stdout] 197 | fn element_list<'a, E>(input: &'a str) -> IResult<&'a str, Vec>, E> [INFO] [stdout] | -- -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 197 | fn element_list<'a, E>(input: &'a str) -> IResult<&'a str, Vec>>, E> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parse.rs:235:57 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn parse<'a>(input: &'a str) -> IResult<&'a str, Rc> { [INFO] [stdout] | -- -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 235 | pub fn parse<'a>(input: &'a str) -> IResult<&'a str, Rc>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling svg-simple-parser v0.0.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parse.rs:127:69 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn single_element<'a, E>(input: &'a str) -> IResult<&'a str, Rc, E> [INFO] [stdout] | -- -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 127 | pub fn single_element<'a, E>(input: &'a str) -> IResult<&'a str, Rc>, E> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parse.rs:170:69 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn double_element<'a, E>(input: &'a str) -> IResult<&'a str, Rc, E> [INFO] [stdout] | -- -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 170 | pub fn double_element<'a, E>(input: &'a str) -> IResult<&'a str, Rc>, E> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parse.rs:186:58 [INFO] [stdout] | [INFO] [stdout] 186 | fn element<'a, E>(input: &'a str) -> IResult<&'a str, Rc, E> [INFO] [stdout] | -- -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 186 | fn element<'a, E>(input: &'a str) -> IResult<&'a str, Rc>, E> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parse.rs:197:67 [INFO] [stdout] | [INFO] [stdout] 197 | fn element_list<'a, E>(input: &'a str) -> IResult<&'a str, Vec>, E> [INFO] [stdout] | -- -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 197 | fn element_list<'a, E>(input: &'a str) -> IResult<&'a str, Vec>>, E> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parse.rs:235:57 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn parse<'a>(input: &'a str) -> IResult<&'a str, Rc> { [INFO] [stdout] | -- -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 235 | pub fn parse<'a>(input: &'a str) -> IResult<&'a str, Rc>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.38s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "24ffe1702d090ef9eeaedb484a2350e974c5e9bf469e035871a44936bfdecca9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24ffe1702d090ef9eeaedb484a2350e974c5e9bf469e035871a44936bfdecca9", kill_on_drop: false }` [INFO] [stdout] 24ffe1702d090ef9eeaedb484a2350e974c5e9bf469e035871a44936bfdecca9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] de06fa57d2a3d581d5cc3305dd40dd91cabbe50482f553ec5d1b626d4bde268c [INFO] running `Command { std: "docker" "start" "-a" "de06fa57d2a3d581d5cc3305dd40dd91cabbe50482f553ec5d1b626d4bde268c", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/parse.rs:127:69 [INFO] [stderr] | [INFO] [stderr] 127 | pub fn single_element<'a, E>(input: &'a str) -> IResult<&'a str, Rc, E> [INFO] [stderr] | -- -- ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 127 | pub fn single_element<'a, E>(input: &'a str) -> IResult<&'a str, Rc>, E> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/parse.rs:170:69 [INFO] [stderr] | [INFO] [stderr] 170 | pub fn double_element<'a, E>(input: &'a str) -> IResult<&'a str, Rc, E> [INFO] [stderr] | -- -- ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 170 | pub fn double_element<'a, E>(input: &'a str) -> IResult<&'a str, Rc>, E> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/parse.rs:186:58 [INFO] [stderr] | [INFO] [stderr] 186 | fn element<'a, E>(input: &'a str) -> IResult<&'a str, Rc, E> [INFO] [stderr] | -- -- ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 186 | fn element<'a, E>(input: &'a str) -> IResult<&'a str, Rc>, E> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/parse.rs:197:67 [INFO] [stderr] | [INFO] [stderr] 197 | fn element_list<'a, E>(input: &'a str) -> IResult<&'a str, Vec>, E> [INFO] [stderr] | -- -- ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 197 | fn element_list<'a, E>(input: &'a str) -> IResult<&'a str, Vec>>, E> [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/parse.rs:235:57 [INFO] [stderr] | [INFO] [stderr] 235 | pub fn parse<'a>(input: &'a str) -> IResult<&'a str, Rc> { [INFO] [stderr] | -- -- ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 235 | pub fn parse<'a>(input: &'a str) -> IResult<&'a str, Rc>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `svg-simple-parser` (lib) generated 5 warnings (run `cargo fix --lib -p svg-simple-parser` to apply 5 suggestions) [INFO] [stderr] warning: `svg-simple-parser` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/svg_simple_parser-5bf1cc111e3a65ba) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test parse::tests::test_attribute ... ok [INFO] [stdout] test parse::tests::test_attribute_hash ... ok [INFO] [stdout] test parse::tests::test_double_element ... ok [INFO] [stdout] test parse::tests::test_attribute_value ... ok [INFO] [stdout] test parse::tests::test_elements ... ok [INFO] [stdout] test parse::tests::test_single_element ... ok [INFO] [stdout] test stringify::tests::test_stringify_attrubutes_hash ... ok [INFO] [stdout] test stringify::tests::test_trasverse ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/parse.rs (/opt/rustwide/target/debug/deps/parse-3b308c9fa1eb68bd) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_parse ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/stringify.rs (/opt/rustwide/target/debug/deps/stringify-8e078bd982e2fd4b) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_parse ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests svg_simple_parser [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/parse.rs - parse::attribute (line 44) ... ignored [INFO] [stdout] test src/parse.rs - parse::attribute_hash (line 58) ... ignored [INFO] [stdout] test src/parse.rs - parse::attribute_value (line 29) ... ignored [INFO] [stdout] test src/parse.rs - parse::double_element (line 143) ... ignored [INFO] [stdout] test src/parse.rs - parse::element_start (line 94) ... ignored [INFO] [stdout] test src/parse.rs - parse::single_element (line 110) ... ignored [INFO] [stdout] test src/ast.rs - ast::Element<'a>::add_child (line 75) ... FAILED [INFO] [stdout] test src/ast.rs - ast::Element<'a>::add_children (line 95) ... FAILED [INFO] [stdout] test src/ast.rs - ast::Element<'a>::new_width_children (line 45) ... ok [INFO] [stdout] test src/stringify.rs - stringify::stringify_pretty (line 101) ... ok [INFO] [stdout] test src/ast.rs - ast::Element<'a>::new (line 26) ... ok [INFO] [stdout] test src/stringify.rs - stringify::stringify (line 69) ... ok [INFO] [stdout] test src/parse.rs - parse::parse (line 211) ... ok [INFO] [stdout] test src/lib.rs - (line 5) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/ast.rs - ast::Element<'a>::add_child (line 75) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ast.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 10 | Element::add_child(parent.clone(),child.clone()); [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^ expected `&Rc>`, found `Rc>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Rc>` [INFO] [stdout] found struct `Rc>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ast.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn add_child(self: &Rc>, new_item: Rc>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 10 | Element::add_child(&parent.clone(),child.clone()); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `Rc>` in the current scope [INFO] [stdout] --> src/ast.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(parent.borrow().children.borrow().get(0),Some(&child)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/borrow.rs:179:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Rc>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(parent.attributes.borrow().children.borrow().get(0),Some(&child)); [INFO] [stdout] | +++++++++++ [INFO] [stdout] 11 | assert_eq!(parent.children.borrow().children.borrow().get(0),Some(&child)); [INFO] [stdout] | +++++++++ [INFO] [stdout] 11 | assert_eq!(parent.parent.borrow().children.borrow().get(0),Some(&child)); [INFO] [stdout] | +++++++ [INFO] [stdout] help: trait `Borrow` which provides `borrow` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use std::borrow::Borrow; [INFO] [stdout] | [INFO] [stdout] help: there is a method `borrow_mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(parent.borrow_mut().children.borrow().get(0),Some(&child)); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/ast.rs - ast::Element<'a>::add_children (line 95) stdout ---- [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/ast.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 10 | Element::add_children(parent.clone(),vec![child.clone()].as_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ -------------- ---------------------------- argument #2 of type `Vec>>` is missing [INFO] [stdout] | | [INFO] [stdout] | unexpected argument #1 of type `Rc>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/ast.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn add_children(self: &Rc>, new_items: Vec>>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: did you mean [INFO] [stdout] | [INFO] [stdout] 10 - Element::add_children(parent.clone(),vec![child.clone()].as_mut()); [INFO] [stdout] 10 + Element::add_children(vec![child.clone()].as_mut(), /* Vec>> */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `borrow` found for struct `Rc>` in the current scope [INFO] [stdout] --> src/ast.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(parent.borrow().children.borrow().get(0),Some(&child)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/borrow.rs:179:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Rc>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(parent.attributes.borrow().children.borrow().get(0),Some(&child)); [INFO] [stdout] | +++++++++++ [INFO] [stdout] 11 | assert_eq!(parent.children.borrow().children.borrow().get(0),Some(&child)); [INFO] [stdout] | +++++++++ [INFO] [stdout] 11 | assert_eq!(parent.parent.borrow().children.borrow().get(0),Some(&child)); [INFO] [stdout] | +++++++ [INFO] [stdout] help: trait `Borrow` which provides `borrow` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use std::borrow::Borrow; [INFO] [stdout] | [INFO] [stdout] help: there is a method `borrow_mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(parent.borrow_mut().children.borrow().get(0),Some(&child)); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/ast.rs - ast::Element<'a>::add_child (line 75) [INFO] [stdout] src/ast.rs - ast::Element<'a>::add_children (line 95) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 6 passed; 2 failed; 6 ignored; 0 measured; 0 filtered out; finished in 0.41s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "de06fa57d2a3d581d5cc3305dd40dd91cabbe50482f553ec5d1b626d4bde268c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de06fa57d2a3d581d5cc3305dd40dd91cabbe50482f553ec5d1b626d4bde268c", kill_on_drop: false }` [INFO] [stdout] de06fa57d2a3d581d5cc3305dd40dd91cabbe50482f553ec5d1b626d4bde268c