Fix compilation with latest rustc

Chan/Port was renamed, and ~str matches are no longer valid.

Leave the deprecated_owned_vector warnings for the time being.