[INFO] fetching crate string_manip_rust 0.1.2... [INFO] checking string_manip_rust-0.1.2 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate string_manip_rust 0.1.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate string_manip_rust 0.1.2 [INFO] finished tweaking crates.io crate string_manip_rust 0.1.2 [INFO] tweaked toml for crates.io crate string_manip_rust 0.1.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate string_manip_rust 0.1.2 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3095ff3f21240b10d3db3901858a9c5caa208bc3b8cc143d41b4b075c658af6 [INFO] running `Command { std: "docker" "start" "-a" "a3095ff3f21240b10d3db3901858a9c5caa208bc3b8cc143d41b4b075c658af6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3095ff3f21240b10d3db3901858a9c5caa208bc3b8cc143d41b4b075c658af6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3095ff3f21240b10d3db3901858a9c5caa208bc3b8cc143d41b4b075c658af6", kill_on_drop: false }` [INFO] [stdout] a3095ff3f21240b10d3db3901858a9c5caa208bc3b8cc143d41b4b075c658af6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8becad230753a2bcdd8a3687590bfea1d2b020981e36733cce7ce36316304799 [INFO] running `Command { std: "docker" "start" "-a" "8becad230753a2bcdd8a3687590bfea1d2b020981e36733cce7ce36316304799", kill_on_drop: false }` [INFO] [stderr] Checking string_manip_rust v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/file_ops.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn read_file(path: &String) -> Result{ todo!()} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/file_ops.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn write_file(path: &String, content: &str) -> Result<(), String>{todo!()} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/file_ops.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn write_file(path: &String, content: &str) -> Result<(), String>{todo!()} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/file_ops.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn word_count(path: &String) -> Result {todo!()} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/data_processing.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn sort(data: Vec, order: Order) -> Vec { todo!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order` [INFO] [stdout] --> src/data_processing.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn sort(data: Vec, order: Order) -> Vec { todo!() } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/data_processing.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn filter(data: Vec, predicate: fn(T) -> bool) -> Vec { todo!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `predicate` [INFO] [stdout] --> src/data_processing.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn filter(data: Vec, predicate: fn(T) -> bool) -> Vec { todo!() } [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predicate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Order` is more private than the item `sort` [INFO] [stdout] --> src/data_processing.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn sort(data: Vec, order: Order) -> Vec { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `sort` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Order` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/data_processing.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | enum Order { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ASC` and `DESC` are never constructed [INFO] [stdout] --> src/data_processing.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | enum Order { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 2 | ASC, [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | DESC [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `str::::to_uppercase` that must be used [INFO] [stdout] --> src/string_utils.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | str.to_uppercase(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the uppercase string as a new String, without modifying the original [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 12 | let _ = str.to_uppercase(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `str::::to_lowercase` that must be used [INFO] [stdout] --> src/string_utils.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | str.to_lowercase(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the lowercase string as a new String, without modifying the original [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 18 | let _ = str.to_lowercase(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/file_ops.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn read_file(path: &String) -> Result{ todo!()} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/file_ops.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn write_file(path: &String, content: &str) -> Result<(), String>{todo!()} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/file_ops.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn write_file(path: &String, content: &str) -> Result<(), String>{todo!()} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/file_ops.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn word_count(path: &String) -> Result {todo!()} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/data_processing.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn sort(data: Vec, order: Order) -> Vec { todo!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order` [INFO] [stdout] --> src/data_processing.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn sort(data: Vec, order: Order) -> Vec { todo!() } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/data_processing.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn filter(data: Vec, predicate: fn(T) -> bool) -> Vec { todo!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `predicate` [INFO] [stdout] --> src/data_processing.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn filter(data: Vec, predicate: fn(T) -> bool) -> Vec { todo!() } [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predicate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Order` is more private than the item `sort` [INFO] [stdout] --> src/data_processing.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn sort(data: Vec, order: Order) -> Vec { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `sort` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Order` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/data_processing.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | enum Order { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ASC` and `DESC` are never constructed [INFO] [stdout] --> src/data_processing.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | enum Order { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 2 | ASC, [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | DESC [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `str::::to_uppercase` that must be used [INFO] [stdout] --> src/string_utils.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | str.to_uppercase(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the uppercase string as a new String, without modifying the original [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 12 | let _ = str.to_uppercase(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `str::::to_lowercase` that must be used [INFO] [stdout] --> src/string_utils.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | str.to_lowercase(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the lowercase string as a new String, without modifying the original [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 18 | let _ = str.to_lowercase(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "8becad230753a2bcdd8a3687590bfea1d2b020981e36733cce7ce36316304799", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8becad230753a2bcdd8a3687590bfea1d2b020981e36733cce7ce36316304799", kill_on_drop: false }` [INFO] [stdout] 8becad230753a2bcdd8a3687590bfea1d2b020981e36733cce7ce36316304799