[INFO] fetching crate xxcalc 0.2.1... [INFO] checking xxcalc-0.2.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate xxcalc 0.2.1 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate xxcalc 0.2.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate xxcalc 0.2.1 [INFO] finished tweaking crates.io crate xxcalc 0.2.1 [INFO] tweaked toml for crates.io crate xxcalc 0.2.1 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded encode_unicode v0.1.3 [INFO] [stderr] Downloaded bitflags v0.4.0 [INFO] [stderr] Downloaded rustyline v1.0.0 [INFO] [stderr] Downloaded nix v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14139f9cfe430e3d273ee8dc876075786e18ff95496f8516c75fef8f819e4864 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "14139f9cfe430e3d273ee8dc876075786e18ff95496f8516c75fef8f819e4864", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14139f9cfe430e3d273ee8dc876075786e18ff95496f8516c75fef8f819e4864", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14139f9cfe430e3d273ee8dc876075786e18ff95496f8516c75fef8f819e4864", kill_on_drop: false }` [INFO] [stdout] 14139f9cfe430e3d273ee8dc876075786e18ff95496f8516c75fef8f819e4864 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 81e72dd190152a6d0e6b0bcd6cc00b08ad665cb9285f32af45d29a25315becee [INFO] running `Command { std: "docker" "start" "-a" "81e72dd190152a6d0e6b0bcd6cc00b08ad665cb9285f32af45d29a25315becee", kill_on_drop: false }` [INFO] [stderr] Checking xxcalc v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/tokenizer.rs:267:1 [INFO] [stdout] | [INFO] [stdout] 267 | / macro_rules! tokenize { [INFO] [stdout] 268 | | ($x:expr) => (Tokenizer::default().process($x).to_owned()) [INFO] [stdout] 269 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/tokenizer.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 271 | / macro_rules! tokenize_ref { [INFO] [stdout] 272 | | ($x:expr) => (Tokenizer::default().process($x)) [INFO] [stdout] 273 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/evaluator.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | pub type FunctionHandle = Box) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> Result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/evaluator.rs:250:24 [INFO] [stdout] | [INFO] [stdout] 250 | let result = try!(self.call_function(&x.to_string(), position, &mut stack)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/evaluator.rs:261:24 [INFO] [stdout] | [INFO] [stdout] 261 | let result = try!(self.call_function(&x, position, &mut stack)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/calculator.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | let parsed_tokens = try!(parser.process(tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/calculator.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | let evaluated = try!(evaluator.process(parsed_tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/polynomial_calculator.rs:261:29 [INFO] [stdout] | [INFO] [stdout] 261 | Ok(Polynomial::constant(try!(args[0].as_f64()).log(try!(args[1].as_f64())))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/polynomial_calculator.rs:261:56 [INFO] [stdout] | [INFO] [stdout] 261 | Ok(Polynomial::constant(try!(args[0].as_f64()).log(try!(args[1].as_f64())))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/polynomial_calculator.rs:280:29 [INFO] [stdout] | [INFO] [stdout] 280 | Ok(Polynomial::constant(try!(args[0].as_f64()).log10())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/polynomial_calculator.rs:302:21 [INFO] [stdout] | [INFO] [stdout] 302 | Ok(args[0].bind(try!(args[1].as_f64()))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/tokenizer.rs:267:1 [INFO] [stdout] | [INFO] [stdout] 267 | / macro_rules! tokenize { [INFO] [stdout] 268 | | ($x:expr) => (Tokenizer::default().process($x).to_owned()) [INFO] [stdout] 269 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/evaluator.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | pub type FunctionHandle = Box) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Vec) -> Result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/evaluator.rs:250:24 [INFO] [stdout] | [INFO] [stdout] 250 | let result = try!(self.call_function(&x.to_string(), position, &mut stack)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/evaluator.rs:261:24 [INFO] [stdout] | [INFO] [stdout] 261 | let result = try!(self.call_function(&x, position, &mut stack)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/evaluator.rs:559:31 [INFO] [stdout] | [INFO] [stdout] 559 | Ok(Polynomial::constant(try!(args[0].clone().as_f64()) % try!(args[1].clone().as_f64()))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/evaluator.rs:559:64 [INFO] [stdout] | [INFO] [stdout] 559 | Ok(Polynomial::constant(try!(args[0].clone().as_f64()) % try!(args[1].clone().as_f64()))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/calculator.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | let parsed_tokens = try!(parser.process(tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/calculator.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | let evaluated = try!(evaluator.process(parsed_tokens)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/polynomial_calculator.rs:261:29 [INFO] [stdout] | [INFO] [stdout] 261 | Ok(Polynomial::constant(try!(args[0].as_f64()).log(try!(args[1].as_f64())))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/polynomial_calculator.rs:261:56 [INFO] [stdout] | [INFO] [stdout] 261 | Ok(Polynomial::constant(try!(args[0].as_f64()).log(try!(args[1].as_f64())))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/polynomial_calculator.rs:280:29 [INFO] [stdout] | [INFO] [stdout] 280 | Ok(Polynomial::constant(try!(args[0].as_f64()).log10())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/polynomial_calculator.rs:302:21 [INFO] [stdout] | [INFO] [stdout] 302 | Ok(args[0].bind(try!(args[1].as_f64()))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/polynomial.rs:416:5 [INFO] [stdout] | [INFO] [stdout] 416 | self + &other; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/polynomial.rs:500:5 [INFO] [stdout] | [INFO] [stdout] 500 | self - &other; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/polynomial.rs:596:5 [INFO] [stdout] | [INFO] [stdout] 596 | self * &other; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `mul` that must be used [INFO] [stdout] --> src/polynomial.rs:618:5 [INFO] [stdout] | [INFO] [stdout] 618 | self.mul(other); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/polynomial.rs:416:5 [INFO] [stdout] | [INFO] [stdout] 416 | self + &other; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/polynomial.rs:500:5 [INFO] [stdout] | [INFO] [stdout] 500 | self - &other; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/polynomial.rs:596:5 [INFO] [stdout] | [INFO] [stdout] 596 | self * &other; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `mul` that must be used [INFO] [stdout] --> src/polynomial.rs:618:5 [INFO] [stdout] | [INFO] [stdout] 618 | self.mul(other); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.97s [INFO] running `Command { std: "docker" "inspect" "81e72dd190152a6d0e6b0bcd6cc00b08ad665cb9285f32af45d29a25315becee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81e72dd190152a6d0e6b0bcd6cc00b08ad665cb9285f32af45d29a25315becee", kill_on_drop: false }` [INFO] [stdout] 81e72dd190152a6d0e6b0bcd6cc00b08ad665cb9285f32af45d29a25315becee