[INFO] fetching crate szl-simple-xml 0.1.3... [INFO] building szl-simple-xml-0.1.3 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate szl-simple-xml 0.1.3 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate szl-simple-xml 0.1.3 [INFO] finished tweaking crates.io crate szl-simple-xml 0.1.3 [INFO] tweaked toml for crates.io crate szl-simple-xml 0.1.3 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate szl-simple-xml 0.1.3 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1704c483be3708c3196cf3b0150b4de044ee90a7fec99b94095477140c4dd0d9 [INFO] running `Command { std: "docker" "start" "-a" "1704c483be3708c3196cf3b0150b4de044ee90a7fec99b94095477140c4dd0d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1704c483be3708c3196cf3b0150b4de044ee90a7fec99b94095477140c4dd0d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1704c483be3708c3196cf3b0150b4de044ee90a7fec99b94095477140c4dd0d9", kill_on_drop: false }` [INFO] [stdout] 1704c483be3708c3196cf3b0150b4de044ee90a7fec99b94095477140c4dd0d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff12aa97198b7389edf0fc32a9b6adee3f3a26bcb4cbd1ccb792121f11f5228c [INFO] running `Command { std: "docker" "start" "-a" "ff12aa97198b7389edf0fc32a9b6adee3f3a26bcb4cbd1ccb792121f11f5228c", kill_on_drop: false }` [INFO] [stderr] Compiling szl-simple-xml v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | fn load_from_slice(string: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 131 | fn load_from_slice(string: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "ff12aa97198b7389edf0fc32a9b6adee3f3a26bcb4cbd1ccb792121f11f5228c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff12aa97198b7389edf0fc32a9b6adee3f3a26bcb4cbd1ccb792121f11f5228c", kill_on_drop: false }` [INFO] [stdout] ff12aa97198b7389edf0fc32a9b6adee3f3a26bcb4cbd1ccb792121f11f5228c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7574ef8e21449c51a11418e6c379336e4577c3b52f8253487552fd7c177d9ef9 [INFO] running `Command { std: "docker" "start" "-a" "7574ef8e21449c51a11418e6c379336e4577c3b52f8253487552fd7c177d9ef9", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | fn load_from_slice(string: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 131 | fn load_from_slice(string: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling szl-simple-xml v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `simple_xml` [INFO] [stdout] --> tests/parse.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | Err(simple_xml::Error::TagNotFound(a, b)) if a == "note" && b == "missing_tag" => {} [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `simple_xml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `simple_xml`, use `cargo add simple_xml` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 3 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 3 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 18 - Err(simple_xml::Error::TagNotFound(a, b)) if a == "note" && b == "missing_tag" => {} [INFO] [stdout] 18 + Err(Error::TagNotFound(a, b)) if a == "note" && b == "missing_tag" => {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `simple_xml` [INFO] [stdout] --> tests/parse.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | Err(simple_xml::Error::TagNotFound(_, _)) => { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `simple_xml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `simple_xml`, use `cargo add simple_xml` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 3 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 3 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 3 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 19 - Err(simple_xml::Error::TagNotFound(_, _)) => { [INFO] [stdout] 19 + Err(Error::TagNotFound(_, _)) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | fn load_from_slice(string: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 131 | fn load_from_slice(string: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `simple_xml` [INFO] [stdout] --> tests/parse.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | simple_xml::from_file("./examples/note.xml").expect("Failed to parse simple_xml"); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `simple_xml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `simple_xml`, use `cargo add simple_xml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `simple_xml` [INFO] [stdout] --> tests/parse.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | let _root = match simple_xml::from_file("./examples/cube.dae") { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `simple_xml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `simple_xml`, use `cargo add simple_xml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `simple_xml` [INFO] [stdout] --> tests/parse.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | simple_xml::from_file("./examples/graph.xml").expect("Failed to parse graph.xml"); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `simple_xml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `simple_xml`, use `cargo add simple_xml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `simple_xml` [INFO] [stdout] --> tests/gen.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | let mut person = simple_xml::new("person", String::new()); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `simple_xml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `simple_xml`, use `cargo add simple_xml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `szl-simple-xml` (test "parse") due to 5 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `simple_xml` [INFO] [stdout] --> tests/gen.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | person.add_node(simple_xml::new( [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `simple_xml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `simple_xml`, use `cargo add simple_xml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `simple_xml` [INFO] [stdout] --> tests/gen.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | person.add_node(simple_xml::new("address", "Rose Walk 3".to_owned())); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `simple_xml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `simple_xml`, use `cargo add simple_xml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `simple_xml` [INFO] [stdout] --> tests/gen.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | let mut balance = simple_xml::new("balance", "5".to_owned()); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `simple_xml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `simple_xml`, use `cargo add simple_xml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `simple_xml` [INFO] [stdout] --> tests/gen.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | let mut friends = simple_xml::new("friends", String::new()); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `simple_xml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `simple_xml`, use `cargo add simple_xml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `simple_xml` [INFO] [stdout] --> tests/gen.rs:28:59 [INFO] [stdout] | [INFO] [stdout] 28 | fn create_person(num_friends: usize, depth: usize) -> simple_xml::Node { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `simple_xml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `simple_xml`, use `cargo add simple_xml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `szl-simple-xml` (test "gen") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "7574ef8e21449c51a11418e6c379336e4577c3b52f8253487552fd7c177d9ef9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7574ef8e21449c51a11418e6c379336e4577c3b52f8253487552fd7c177d9ef9", kill_on_drop: false }` [INFO] [stdout] 7574ef8e21449c51a11418e6c379336e4577c3b52f8253487552fd7c177d9ef9