[INFO] fetching crate plotter 0.1.0... [INFO] checking plotter-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate plotter 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate plotter 0.1.0 [INFO] finished tweaking crates.io crate plotter 0.1.0 [INFO] tweaked toml for crates.io crate plotter 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate plotter 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d4f36c68f9bf5f3913e533ee5bae1f3c4b86523bb4031c97b51297672da6b00 [INFO] running `Command { std: "docker" "start" "-a" "3d4f36c68f9bf5f3913e533ee5bae1f3c4b86523bb4031c97b51297672da6b00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d4f36c68f9bf5f3913e533ee5bae1f3c4b86523bb4031c97b51297672da6b00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d4f36c68f9bf5f3913e533ee5bae1f3c4b86523bb4031c97b51297672da6b00", kill_on_drop: false }` [INFO] [stdout] 3d4f36c68f9bf5f3913e533ee5bae1f3c4b86523bb4031c97b51297672da6b00 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d320cd3ef129e2b09349918b1aa4e2c84b996b3a8c36ab60590cdd1beba27c36 [INFO] running `Command { std: "docker" "start" "-a" "d320cd3ef129e2b09349918b1aa4e2c84b996b3a8c36ab60590cdd1beba27c36", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking plotter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plotter/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | f: &Fn(f64) -> f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 | f: &dyn Fn(f64) -> f64, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plotter/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | f: &Fn(f64) -> f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 | f: &dyn Fn(f64) -> f64, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/plotter/mod.rs:34:42 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn plot(&self, size: (u32, u32), name: &'static str, port: String, options: PlotOptions) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/plotter/mod.rs:34:42 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn plot(&self, size: (u32, u32), name: &'static str, port: String, options: PlotOptions) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0254]: the name `plotter` is defined multiple times [INFO] [stdout] --> examples/basic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate plotter; [INFO] [stdout] | --------------------- previous import of the extern crate `plotter` here [INFO] [stdout] 2 | [INFO] [stdout] 3 | use plotter::plotter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `plotter` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `plotter` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 3 | use plotter::plotter as other_plotter; [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Dataset` in `plotter` [INFO] [stdout] --> examples/basic.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | let mut data = plotter::Dataset::from_fn(&func, (-10.0, 10.0), 1.0, None); [INFO] [stdout] | ^^^^^^^ could not find `Dataset` in `plotter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use plotter::plotter::Dataset; [INFO] [stdout] | [INFO] [stdout] help: if you import `Dataset`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 8 - let mut data = plotter::Dataset::from_fn(&func, (-10.0, 10.0), 1.0, None); [INFO] [stdout] 8 + let mut data = Dataset::from_fn(&func, (-10.0, 10.0), 1.0, None); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Dataset` in `plotter` [INFO] [stdout] --> examples/basic.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | let other = plotter::Dataset::from_fn(&o, (-10.0, 10.0), 1.0, None); [INFO] [stdout] | ^^^^^^^ could not find `Dataset` in `plotter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use plotter::plotter::Dataset; [INFO] [stdout] | [INFO] [stdout] help: if you import `Dataset`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 9 - let other = plotter::Dataset::from_fn(&o, (-10.0, 10.0), 1.0, None); [INFO] [stdout] 9 + let other = Dataset::from_fn(&o, (-10.0, 10.0), 1.0, None); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Plotter` in `plotter` [INFO] [stdout] --> examples/basic.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | let app = plotter::Plotter::new(data); [INFO] [stdout] | ^^^^^^^ could not find `Plotter` in `plotter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use plotter::plotter::Plotter; [INFO] [stdout] | [INFO] [stdout] help: if you import `Plotter`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 11 - let app = plotter::Plotter::new(data); [INFO] [stdout] 11 + let app = Plotter::new(data); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `PlotOptions` in `plotter` [INFO] [stdout] --> examples/basic.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | let opt = plotter::PlotOptions::new() [INFO] [stdout] | ^^^^^^^^^^^ could not find `PlotOptions` in `plotter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use plotter::plotter::PlotOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `PlotOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 12 - let opt = plotter::PlotOptions::new() [INFO] [stdout] 12 + let opt = PlotOptions::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `plotter::plotter` [INFO] [stdout] --> examples/basic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use plotter::plotter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0254, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0254`. [INFO] [stdout] [INFO] [stderr] error: could not compile `plotter` (example "basic") due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d320cd3ef129e2b09349918b1aa4e2c84b996b3a8c36ab60590cdd1beba27c36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d320cd3ef129e2b09349918b1aa4e2c84b996b3a8c36ab60590cdd1beba27c36", kill_on_drop: false }` [INFO] [stdout] d320cd3ef129e2b09349918b1aa4e2c84b996b3a8c36ab60590cdd1beba27c36