[INFO] fetching crate pycall 0.3.0... [INFO] testing pycall-0.3.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate pycall 0.3.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate pycall 0.3.0 [INFO] finished tweaking crates.io crate pycall 0.3.0 [INFO] tweaked toml for crates.io crate pycall 0.3.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pycall 0.3.0 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 pycall 0.3.0 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] cb62ef614244a5b2395821906de23a98df1b1960c36d4643675423cc6afdb08b [INFO] running `Command { std: "docker" "start" "-a" "cb62ef614244a5b2395821906de23a98df1b1960c36d4643675423cc6afdb08b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb62ef614244a5b2395821906de23a98df1b1960c36d4643675423cc6afdb08b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb62ef614244a5b2395821906de23a98df1b1960c36d4643675423cc6afdb08b", kill_on_drop: false }` [INFO] [stdout] cb62ef614244a5b2395821906de23a98df1b1960c36d4643675423cc6afdb08b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 6aa25e321bf0dfede394c188314cfa682ff717e52ddebd6b27a08884ec3f91c8 [INFO] running `Command { std: "docker" "start" "-a" "6aa25e321bf0dfede394c188314cfa682ff717e52ddebd6b27a08884ec3f91c8", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling pycall v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | handle.join(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 134 | let _ = handle.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | / writeln!( [INFO] [stdout] 380 | | &program.file, [INFO] [stdout] 381 | | "plt.plot({}, {}, {})", [INFO] [stdout] 382 | | PythonLiteral(x), [INFO] [stdout] 383 | | PythonLiteral(y), [INFO] [stdout] 384 | | PythonLiteral(args) [INFO] [stdout] 385 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 379 | let _ = writeln!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | / writeln!( [INFO] [stdout] 396 | | &program.file, [INFO] [stdout] 397 | | "plt.plot({}, {})", [INFO] [stdout] 398 | | PythonLiteral(x), [INFO] [stdout] 399 | | PythonLiteral(y), [INFO] [stdout] 400 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 395 | let _ = writeln!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | writeln!(&program.file, "plt.plot({})", PythonLiteral(y)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 407 | let _ = writeln!(&program.file, "plt.plot({})", PythonLiteral(y)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.22s [INFO] running `Command { std: "docker" "inspect" "6aa25e321bf0dfede394c188314cfa682ff717e52ddebd6b27a08884ec3f91c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6aa25e321bf0dfede394c188314cfa682ff717e52ddebd6b27a08884ec3f91c8", kill_on_drop: false }` [INFO] [stdout] 6aa25e321bf0dfede394c188314cfa682ff717e52ddebd6b27a08884ec3f91c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] bc670dce4c060601bff31bcf0bcbb4b5fe19c4b65f1a37d7bd7176a91d03f832 [INFO] running `Command { std: "docker" "start" "-a" "bc670dce4c060601bff31bcf0bcbb4b5fe19c4b65f1a37d7bd7176a91d03f832", kill_on_drop: false }` [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | handle.join(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 134 | let _ = handle.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | / writeln!( [INFO] [stdout] 380 | | &program.file, [INFO] [stdout] 381 | | "plt.plot({}, {}, {})", [INFO] [stdout] 382 | | PythonLiteral(x), [INFO] [stdout] 383 | | PythonLiteral(y), [INFO] [stdout] 384 | | PythonLiteral(args) [INFO] [stdout] 385 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 379 | let _ = writeln!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pycall v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | / writeln!( [INFO] [stdout] 396 | | &program.file, [INFO] [stdout] 397 | | "plt.plot({}, {})", [INFO] [stdout] 398 | | PythonLiteral(x), [INFO] [stdout] 399 | | PythonLiteral(y), [INFO] [stdout] 400 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 395 | let _ = writeln!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | writeln!(&program.file, "plt.plot({})", PythonLiteral(y)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 407 | let _ = writeln!(&program.file, "plt.plot({})", PythonLiteral(y)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/lib.rs:427:68 [INFO] [stdout] | [INFO] [stdout] 427 | let join = std::thread::spawn(|| quick_plot(&(-50..50).map(|x| (-x * x)).collect::>())); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 427 - let join = std::thread::spawn(|| quick_plot(&(-50..50).map(|x| (-x * x)).collect::>())); [INFO] [stdout] 427 + let join = std::thread::spawn(|| quick_plot(&(-50..50).map(|x| -x * x).collect::>())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pycall::MatPlotLib` [INFO] [stdout] --> examples/save.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | use pycall::MatPlotLib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/save.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | program.save_as("saved.py"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 10 | let _ = program.save_as("saved.py"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `quick_plot` in this scope [INFO] [stdout] --> src/lib.rs:427:38 [INFO] [stdout] | [INFO] [stdout] 427 | let join = std::thread::spawn(|| quick_plot(&(-50..50).map(|x| (-x * x)).collect::>())); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pycall` (lib test) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | handles.0.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = handles.0.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | handles.1.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 20 | let _ = handles.1.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | handles.2.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 21 | let _ = handles.2.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bc670dce4c060601bff31bcf0bcbb4b5fe19c4b65f1a37d7bd7176a91d03f832", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc670dce4c060601bff31bcf0bcbb4b5fe19c4b65f1a37d7bd7176a91d03f832", kill_on_drop: false }` [INFO] [stdout] bc670dce4c060601bff31bcf0bcbb4b5fe19c4b65f1a37d7bd7176a91d03f832