[INFO] fetching crate svg-simple-parser 0.0.6... [INFO] testing svg-simple-parser-0.0.6 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate svg-simple-parser 0.0.6 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate svg-simple-parser 0.0.6 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f050b706b6303b6623299d8f8c371653d624d3a8db67176ab9b7e137b533e0e7 [INFO] running `Command { std: "docker" "start" "-a" "f050b706b6303b6623299d8f8c371653d624d3a8db67176ab9b7e137b533e0e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f050b706b6303b6623299d8f8c371653d624d3a8db67176ab9b7e137b533e0e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f050b706b6303b6623299d8f8c371653d624d3a8db67176ab9b7e137b533e0e7", kill_on_drop: false }` [INFO] [stdout] f050b706b6303b6623299d8f8c371653d624d3a8db67176ab9b7e137b533e0e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43e6622f81d601a23928b52fa76290dc800a9c0f4de8218f6bd33558bb5d112d [INFO] running `Command { std: "docker" "start" "-a" "43e6622f81d601a23928b52fa76290dc800a9c0f4de8218f6bd33558bb5d112d", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.1 [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:38 [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:38 [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:27 [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:32 [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:26 [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 3.34s [INFO] running `Command { std: "docker" "inspect" "43e6622f81d601a23928b52fa76290dc800a9c0f4de8218f6bd33558bb5d112d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43e6622f81d601a23928b52fa76290dc800a9c0f4de8218f6bd33558bb5d112d", kill_on_drop: false }` [INFO] [stdout] 43e6622f81d601a23928b52fa76290dc800a9c0f4de8218f6bd33558bb5d112d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8950b6e6cd02120adf5bf650695875d0daf9e1e6f3dc5b1de9dedf8b112b227b [INFO] running `Command { std: "docker" "start" "-a" "8950b6e6cd02120adf5bf650695875d0daf9e1e6f3dc5b1de9dedf8b112b227b", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parse.rs:127:38 [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:38 [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:27 [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:32 [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:26 [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 cast v0.2.7 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling plotters v0.3.1 [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:38 [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:38 [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:27 [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:32 [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:26 [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 20.10s [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 2` [INFO] running `Command { std: "docker" "inspect" "8950b6e6cd02120adf5bf650695875d0daf9e1e6f3dc5b1de9dedf8b112b227b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8950b6e6cd02120adf5bf650695875d0daf9e1e6f3dc5b1de9dedf8b112b227b", kill_on_drop: false }` [INFO] [stdout] 8950b6e6cd02120adf5bf650695875d0daf9e1e6f3dc5b1de9dedf8b112b227b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6962fb01f7cc01992b8d601b89223fe2e8d0a01d8213c86fdbb8d4f5678aff39 [INFO] running `Command { std: "docker" "start" "-a" "6962fb01f7cc01992b8d601b89223fe2e8d0a01d8213c86fdbb8d4f5678aff39", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/parse.rs:127:38 [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:38 [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:27 [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:32 [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:26 [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.13s [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 2` [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_value ... ok [INFO] [stdout] test parse::tests::test_attribute ... ok [INFO] [stdout] test parse::tests::test_double_element ... ok [INFO] [stdout] test parse::tests::test_attribute_hash ... 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.01s [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_children (line 95) ... FAILED [INFO] [stdout] test src/ast.rs - ast::Element<'a>::new (line 26) ... ok [INFO] [stdout] test src/lib.rs - (line 5) ... ok [INFO] [stdout] test src/stringify.rs - stringify::stringify_pretty (line 101) ... ok [INFO] [stdout] test src/ast.rs - ast::Element<'a>::add_child (line 75) ... FAILED [INFO] [stdout] test src/stringify.rs - stringify::stringify (line 69) ... ok [INFO] [stdout] test src/ast.rs - ast::Element<'a>::new_width_children (line 45) ... ok [INFO] [stdout] test src/parse.rs - parse::parse (line 211) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/borrow.rs:178: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_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] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/borrow.rs:178: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.61s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "6962fb01f7cc01992b8d601b89223fe2e8d0a01d8213c86fdbb8d4f5678aff39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6962fb01f7cc01992b8d601b89223fe2e8d0a01d8213c86fdbb8d4f5678aff39", kill_on_drop: false }` [INFO] [stdout] 6962fb01f7cc01992b8d601b89223fe2e8d0a01d8213c86fdbb8d4f5678aff39