[INFO] cloning repository https://github.com/tulku/roslaunchd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tulku/roslaunchd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftulku%2Froslaunchd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftulku%2Froslaunchd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6da593244f13d4fb8fca5592b3f9aa9dfd5a6d73 [INFO] checking tulku/roslaunchd against master#cd7cbe818e4a66d46fe2df993d1b8518eba8a5cd for pr-145463 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftulku%2Froslaunchd" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tulku/roslaunchd [INFO] finished tweaking git repo https://github.com/tulku/roslaunchd [INFO] tweaked toml for git repo https://github.com/tulku/roslaunchd written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tulku/roslaunchd on toolchain cd7cbe818e4a66d46fe2df993d1b8518eba8a5cd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd7cbe818e4a66d46fe2df993d1b8518eba8a5cd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tulku/roslaunchd 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" "+cd7cbe818e4a66d46fe2df993d1b8518eba8a5cd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cd7cbe818e4a66d46fe2df993d1b8518eba8a5cd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e970e551fc47fc4865d920371e71652163f0c42cd789dbf7a89fa7b6a37f2027 [INFO] running `Command { std: "docker" "start" "-a" "e970e551fc47fc4865d920371e71652163f0c42cd789dbf7a89fa7b6a37f2027", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e970e551fc47fc4865d920371e71652163f0c42cd789dbf7a89fa7b6a37f2027", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e970e551fc47fc4865d920371e71652163f0c42cd789dbf7a89fa7b6a37f2027", kill_on_drop: false }` [INFO] [stdout] e970e551fc47fc4865d920371e71652163f0c42cd789dbf7a89fa7b6a37f2027 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cd7cbe818e4a66d46fe2df993d1b8518eba8a5cd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68952e308e685e7df446c9a08dd13c5c91f23d7bdfe37c98513302ee5723ed77 [INFO] running `Command { std: "docker" "start" "-a" "68952e308e685e7df446c9a08dd13c5c91f23d7bdfe37c98513302ee5723ed77", kill_on_drop: false }` [INFO] [stderr] Checking xml-rs v0.8.0 [INFO] [stderr] Checking roslaunchd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Arena { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 12 | content: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tag` is never read [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Tree{ [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 18 | tag: Tag, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/lib.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 202 | impl Node { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 203 | fn new(package: &str, node_type: &str, name: &str, respawn: bool) -> Node { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getAttributeByName` should have a snake case name [INFO] [stdout] --> src/lib.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn getAttributeByName(attribute_name: &str, attributes: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_attribute_by_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newGroup` should have a snake case name [INFO] [stdout] --> src/lib.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | fn newGroup(attributes: &Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newInclude` should have a snake case name [INFO] [stdout] --> src/lib.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | fn newInclude(attributes: &Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `new_include` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newRemap` should have a snake case name [INFO] [stdout] --> src/lib.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | fn newRemap(attributes: &Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_remap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newRosparam` should have a snake case name [INFO] [stdout] --> src/lib.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | fn newRosparam(attributes: &Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `new_rosparam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newParam` should have a snake case name [INFO] [stdout] --> src/lib.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | fn newParam(attributes: &Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newNode` should have a snake case name [INFO] [stdout] --> src/lib.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | fn newNode(attributes: &Vec) -> Self { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `new_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Arena { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 12 | content: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tag` is never read [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Tree{ [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 18 | tag: Tag, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/lib.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 202 | impl Node { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 203 | fn new(package: &str, node_type: &str, name: &str, respawn: bool) -> Node { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getAttributeByName` should have a snake case name [INFO] [stdout] --> src/lib.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn getAttributeByName(attribute_name: &str, attributes: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_attribute_by_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newGroup` should have a snake case name [INFO] [stdout] --> src/lib.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | fn newGroup(attributes: &Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newInclude` should have a snake case name [INFO] [stdout] --> src/lib.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | fn newInclude(attributes: &Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `new_include` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newRemap` should have a snake case name [INFO] [stdout] --> src/lib.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | fn newRemap(attributes: &Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_remap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newRosparam` should have a snake case name [INFO] [stdout] --> src/lib.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | fn newRosparam(attributes: &Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `new_rosparam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newParam` should have a snake case name [INFO] [stdout] --> src/lib.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | fn newParam(attributes: &Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_param` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newNode` should have a snake case name [INFO] [stdout] --> src/lib.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | fn newNode(attributes: &Vec) -> Self { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `new_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_parent` [INFO] [stdout] --> src/main.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | let new_parent = current_node.add_child(Tree::new(opening_tag)); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_parent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | Ok(XmlEvent::EndElement { name }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_parent` [INFO] [stdout] --> src/main.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | let new_parent = current_node.add_child(Tree::new(opening_tag)); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_parent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | Ok(XmlEvent::EndElement { name }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "68952e308e685e7df446c9a08dd13c5c91f23d7bdfe37c98513302ee5723ed77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68952e308e685e7df446c9a08dd13c5c91f23d7bdfe37c98513302ee5723ed77", kill_on_drop: false }` [INFO] [stdout] 68952e308e685e7df446c9a08dd13c5c91f23d7bdfe37c98513302ee5723ed77